/* =========================================================
   Elaris — Main Stylesheet
   ========================================================= */


/* ---------------------------------------------------------
   Design Tokens
   --------------------------------------------------------- */
:root {
  --color-midnight:  #08131F;
  --color-deep-blue: #102536;
  --color-teal:      #19C3B1;
  --color-teal-dim:  rgba(25, 195, 177, 0.15);
  --color-ivory:     #F5F3ED;
  --color-grey:      #9BA8B3;
  --color-white:     #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------
   Reset & Base
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--color-midnight);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-white);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------------------------------------------------------
   Skip navigation (visually hidden until focused)
   --------------------------------------------------------- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--color-teal);
  color: var(--color-midnight);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}
.skip-nav:focus {
  top: 0;
  outline: 2px solid var(--color-midnight);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   Global focus styles — keyboard navigation
   --------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

/* Remove outline for mouse users on elements that set their own style */
:focus:not(:focus-visible) {
  outline: none;
}

/* Form inputs: use border highlight instead of outline (already styled) */
.ctc-form__input:focus-visible,
.ctc-right .wpcf7 input:focus-visible,
.ctc-right .wpcf7 textarea:focus-visible,
.ctc-right .wpcf7 select:focus-visible {
  outline: none;
}

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-white);
}

p {
  color: var(--color-grey);
  line-height: 1.75;
}

/* ---------------------------------------------------------
   Layout Utilities
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 8rem);
}

/* ---------------------------------------------------------
   Site Header
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    background    350ms ease,
    border-color  350ms ease,
    backdrop-filter 350ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 19, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(25, 195, 177, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 100px;
}

/* ----- Logo ----- */
.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 80px;
  width: auto;
  display: block;
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-decoration: none;
}

/* ---------------------------------------------------------
   Primary Navigation (desktop)
   --------------------------------------------------------- */
.primary-nav {
  display: flex;
  align-items: center;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level links */
.primary-menu > .menu-item > a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-grey);
  text-decoration: none;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color var(--transition-base);
}

.primary-menu > .menu-item > a:hover {
  color: var(--color-ivory);
}

/* Current page underline */
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
  color: var(--color-ivory);
}

.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--color-teal);
}

/* ----- Chevron ----- */
.nav-chevron {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: transform 200ms ease;
}

.nav-chevron.is-rotated {
  transform: rotate(180deg);
}

/* ----- Dropdown panel ----- */
.primary-menu > .menu-item-has-children {
  position: relative;
}

.primary-menu > .menu-item-has-children > .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: rgba(16, 37, 54, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(25, 195, 177, 0.15);
  padding: 1rem 0;
  list-style: none;
  margin: 0;
  /* Hidden by default */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.primary-menu > .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown links */
.primary-menu > .menu-item-has-children > .sub-menu > .menu-item > a {
  display: block;
  padding: 0.625rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-grey);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    color            var(--transition-base),
    background       var(--transition-base),
    border-left-color var(--transition-base);
}

.primary-menu > .menu-item-has-children > .sub-menu > .menu-item > a:hover {
  color: var(--color-teal);
  background: rgba(25, 195, 177, 0.06);
  border-left-color: var(--color-teal);
}

/* ----- CTA "Get in Touch" button ----- */
.primary-menu > .nav-cta > a {
  border: 1px solid rgba(25, 195, 177, 0.5);
  color: var(--color-teal) !important;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  transition: border-color var(--transition-base),
              background   var(--transition-base),
              color        var(--transition-base) !important;
}

.primary-menu > .nav-cta > a:hover {
  border-color: var(--color-teal);
  background: var(--color-teal);
  color: var(--color-midnight) !important;
}

.primary-menu > .nav-cta > a::after {
  display: none !important;
}

/* ---------------------------------------------------------
   Hamburger (mobile only, visible < 900px)
   --------------------------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ivory);
  border-radius: 1px;
  transition: transform 350ms ease, opacity 350ms ease;
  transform-origin: center;
}

/* Hamburger → X */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   Mobile fullscreen overlay
   --------------------------------------------------------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-midnight);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Hidden by default */
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: opacity 350ms ease, transform 350ms ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-overlay__close {
  position: absolute;
  top: 1.5rem;
  right: 6vw;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-overlay__close span {
  position: absolute;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ivory);
  border-radius: 1px;
}

.mobile-overlay__close span:nth-child(1) { transform: rotate(45deg); }
.mobile-overlay__close span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile nav links */
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.mobile-menu > .menu-item > a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-ivory);
  text-decoration: none;
  margin: 0.75rem 0;
  transition: color var(--transition-base);
}

.mobile-menu > .menu-item > a:hover {
  color: var(--color-teal);
}

/* Responsive breakpoint */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .hamburger   { display: flex; }

  .header-inner {
    padding: 0 5vw;
  }

  .hamburger {
    padding: 8px;
    margin-left: 1.5rem;
    flex-shrink: 0;
  }
}

/* When overlay is open, drop header behind overlay so it
   can't intercept clicks on the overlay's close button */
body.nav-open .site-header {
  z-index: 998;
}

/* Hide the header hamburger so only the overlay X shows */
body.nav-open .hamburger {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* ---------------------------------------------------------
   Site Footer
   --------------------------------------------------------- */

.site-footer {
  background: var(--color-midnight);
}

/* Top accent line */
.sf-accent {
  height: 1px;
  background: rgba(25, 195, 177, 0.15);
}

/* Main grid */
.sf-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 5rem 8vw 3rem;
}

/* ── Column 1: Brand ──────────────────────────────────── */
.sf-brand__logo-wrap img,
.sf-brand__logo {
  max-height: 40px;
  width: auto;
  display: block;
}

.sf-brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ivory);
  text-decoration: none;
}

.sf-brand__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-grey);
  margin-top: 1rem;
  max-width: 240px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sf-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.sf-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-grey);
  border: 1px solid rgba(155, 168, 179, 0.25);
  background: var(--color-deep-blue);
  padding: 0.3rem 0.6rem;
  line-height: 1;
}

/* ── Columns 2–4 ─────────────────────────────────────── */
.sf-col__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1.25rem;
}

.sf-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sf-col__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-grey);
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-block;
}

.sf-col__link:hover {
  color: var(--color-ivory);
}

.sf-col__link--email {
  word-break: break-all;
}

.sf-col__link--cta {
  font-weight: 500;
  color: var(--color-teal);
  margin-top: 0.25rem;
}

.sf-col__link--cta:hover {
  color: var(--color-ivory);
}

/* Social */
.sf-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sf-social__link {
  color: var(--color-grey);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
}

.sf-social__link:hover {
  color: var(--color-teal);
}

/* ── Bottom bar ───────────────────────────────────────── */
.sf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(155, 168, 179, 0.08);
  padding: 1.5rem 8vw;
}

.sf-bottom__copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-grey);
  margin: 0;
}

.sf-bottom__links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sf-bottom__link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-grey);
  text-decoration: none;
  transition: color var(--transition-base);
}

.sf-bottom__link:hover {
  color: var(--color-ivory);
}

.sf-bottom__sep {
  font-size: 0.75rem;
  color: var(--color-grey);
  opacity: 0.4;
}

/* ── Footer responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .sf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }

  .sf-brand {
    grid-column: 1 / -1;
  }

  .sf-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .sf-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 6vw 2rem;
  }

  .sf-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.5rem 6vw;
  }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-midnight);
  border: 1px solid var(--color-teal);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-teal);
}

.btn-outline {
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid rgba(245, 243, 237, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-ivory);
  color: var(--color-white);
}

/* ---------------------------------------------------------
   Page Header (inner pages)
   --------------------------------------------------------- */
.page-header {
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 6vw, 6rem);
  background: linear-gradient(180deg, var(--color-deep-blue) 0%, var(--color-midnight) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(25, 195, 177, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-header__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
}

.page-header__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  max-width: 55ch;
  color: var(--color-ivory);
  opacity: 0.75;
}

/* ---------------------------------------------------------
   Hero Section
   --------------------------------------------------------- */
/* ── Hero shell ──────────────────────────────────── */
.hero {
  width: 100%;
  min-height: 100svh;
  background: var(--color-midnight);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Radial glow — sits behind the pipeline column */
.hero__glow {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(ellipse at center, rgba(25, 195, 177, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Two-column grid (desktop only) ─────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  width: 100%;
  min-height: 100svh;
}

/* ── Left column ─────────────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8rem 4vw 5rem 8vw;
  box-sizing: border-box;
  min-height: 100svh;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
  display: block;
}

/* Ensure headline never forces a vertical stack */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  color: var(--color-ivory);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.hero__headline-line {
  display: block;
}

.hero__divider {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--color-teal);
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
  flex-shrink: 0;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-grey);
  max-width: 44ch;
  margin-bottom: clamp(1.25rem, 2.5vh, 2.25rem);
}

/* ----- CTA buttons ----- */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: clamp(1.5rem, 3vh, 3rem);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 1.875rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.hero__btn--primary {
  background: var(--color-teal);
  color: var(--color-midnight);
  border: 1px solid var(--color-teal);
}

.hero__btn--primary:hover {
  background: transparent;
  color: var(--color-teal);
}

.hero__btn--secondary {
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid rgba(245, 243, 237, 0.28);
}

.hero__btn--secondary:hover {
  border-color: var(--color-ivory);
  color: var(--color-white);
}

/* ----- Stats bar ----- */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-right: 2rem;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-grey);
  text-transform: uppercase;
}

.hero__stat-sep {
  width: 1px;
  height: 2.5rem;
  background: rgba(245, 243, 237, 0.12);
  flex-shrink: 0;
  margin-right: 2rem;
}

/* ── Right column — pipeline ─────────────────────── */

/* ----- Bottom gradient fade ----- */
.hero__bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--color-midnight));
  pointer-events: none;
  z-index: 2;
}

/* ----- Scroll indicator ----- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  transition: opacity 300ms ease;
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-grey);
  text-transform: uppercase;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--color-teal), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
  40%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  60%  { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

#pipeline-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  border-left: none;
  /* Cap to viewport so overflow: hidden can clip the scrolling cards */
  height: 100svh;
  align-self: start;
}

#pipeline-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8rem 3vw 5rem 2vw;
  box-sizing: border-box;
  min-height: 100svh;
}

#pipeline-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(25, 195, 177, 0.12);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.pip-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19C3B1;
  flex-shrink: 0;
  animation: pip-pulse 2s ease-in-out infinite;
}

@keyframes pip-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(25,195,177,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(25,195,177,0); }
}

.pip-live-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #19C3B1;
}

.pip-status-badge {
  margin-left: auto;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: #9BA8B3;
  background: rgba(16,37,54,0.8);
  border: 1px solid rgba(155,168,179,0.15);
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.04em;
}

#pipeline-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

#pipeline-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
}

.pip-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, var(--color-midnight) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.pip-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--color-midnight) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.pip-card {
  background: rgba(16,37,54,0.6);
  border: 1px solid rgba(25,195,177,0.1);
  border-left: 2px solid rgba(25,195,177,0.35);
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
  transition: border-left-color 0.3s ease;
}

.pip-card.is-active {
  border-left-color: #19C3B1;
  background: rgba(25,195,177,0.05);
}

.pip-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pip-flag {
  font-size: 0.875rem;
  line-height: 1;
  flex-shrink: 0;
}

.pip-stage {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #F5F3ED;
  flex: 1;
}

.pip-badge {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 0;
}

.pip-badge.complete  { color: #19C3B1; background: rgba(25,195,177,0.1);   border: 1px solid rgba(25,195,177,0.25); }
.pip-badge.progress  { color: #F5F3ED; background: rgba(245,243,237,0.08); border: 1px solid rgba(245,243,237,0.15); }
.pip-badge.pending   { color: #9BA8B3; background: transparent;            border: 1px solid rgba(155,168,179,0.2); }
.pip-badge.reviewing { color: #E8C97A; background: rgba(232,201,122,0.08); border: 1px solid rgba(232,201,122,0.2); }

.pip-detail {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #9BA8B3;
  line-height: 1.5;
}

.pip-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.1rem;
}

.pip-entity {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  color: rgba(155,168,179,0.6);
  letter-spacing: 0.04em;
}

.pip-time {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  color: rgba(155,168,179,0.45);
  letter-spacing: 0.02em;
}

.pip-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.25rem 0;
  flex-shrink: 0;
}

.pip-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(155,168,179,0.1);
}

.pip-divider-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(155,168,179,0.35);
}

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 900px) {

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 7rem 6vw 3rem;
    justify-content: flex-start;
    min-height: auto;
    background: var(--color-midnight);
    position: relative;
    z-index: 1;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  #pipeline-wrap {
    border-left: none;
    border-top: 1px solid rgba(25, 195, 177, 0.08);
    width: 100%;
    height: 480px;
    flex-shrink: 0;
  }

  #pipeline-body {
    min-height: auto;
    padding: 2rem 6vw 2rem;
    height: 100%;
  }

  #pipeline-track {
    flex: 1;
    min-height: 0;
  }

}

/* ── Tablet ──────────────────────────────────────── */
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-content {
    padding: 7rem 3vw 4rem 5vw;
  }
  #pipeline-body {
    padding: 7rem 2vw 4rem 2vw;
  }
}

@media (max-width: 600px) {
  .hero__stats {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .hero__stat-sep {
    display: none;
  }

  .hero__stat {
    padding-right: 0;
    min-width: calc(50% - 0.625rem);
  }
}

@media (max-width: 480px) {
  #pipeline-wrap {
    height: 360px;
  }
}

/* ---------------------------------------------------------
   Home Services Section
   --------------------------------------------------------- */

.hs-section {
  background: var(--color-ivory);
  padding: 8rem 0 0;
  overflow: hidden;
}

/* ── Intro ─────────────────────────────────────────────── */
.hs-intro {
  padding: 0 8vw;
  margin-bottom: 4rem;
}

.hs-intro__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.hs-intro__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hs-intro__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey);
  max-width: 480px;
  line-height: 1.7;
}

/* ── Service block ─────────────────────────────────────── */
.hs-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 520px;
}

/* text-left: content col first, figure col second */
.hs-block--text-left {
  grid-template-areas: "content figure";
}
.hs-block--text-left .hs-block__content { grid-area: content; }
.hs-block--text-left .hs-block__figure  { grid-area: figure; }

/* text-right: figure col first, content col second */
.hs-block--text-right {
  grid-template-areas: "figure content";
}
.hs-block--text-right .hs-block__figure  { grid-area: figure; }
.hs-block--text-right .hs-block__content { grid-area: content; }

/* ── Content side ──────────────────────────────────────── */
.hs-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6vw;
  position: relative;
  overflow: hidden;
}

.hs-block__content--dark {
  background: var(--color-midnight);
}

.hs-block__content--deep {
  background: var(--color-deep-blue);
}

.hs-block__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(25, 195, 177, 0.15);
  line-height: 1;
  margin-bottom: -1.5rem;
  display: block;
  pointer-events: none;
}

.hs-block__accent {
  width: 48px;
  height: 2px;
  background: var(--color-teal);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.hs-block__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hs-block__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2rem;
}

.hs-block__cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: text-decoration var(--transition-base);
  align-self: flex-start;
}

.hs-block__cta:hover {
  text-decoration: underline;
}

/* ── Image side ────────────────────────────────────────── */
.hs-block__figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.hs-block__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0.4);
  pointer-events: none;
  z-index: 1;
}

.hs-block__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* ── Mobile ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hs-section {
    padding: 5rem 0 0;
  }

  .hs-intro {
    padding: 0 6vw;
    margin-bottom: 3rem;
  }

  .hs-block {
    grid-template-columns: 1fr;
    grid-template-areas: "figure" "content" !important;
    height: auto;
  }

  .hs-block__figure {
    height: 280px;
    grid-area: figure !important;
  }

  .hs-block__content {
    grid-area: content !important;
    padding: 3rem 6vw;
  }

  .hs-block__desc {
    max-width: 100%;
  }
}

/* ---------------------------------------------------------
   Home Globe Section
   --------------------------------------------------------- */

.hg-section {
  background: var(--color-midnight);
  padding: 6rem 0;
  overflow: hidden;
}

.hg-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
}

/* ── Map column ─────────────────────────────────────────── */
.hg-map-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
  overflow: hidden;
}

/* ── SVG world map ───────────────────────────────────── */
.world-map-wrap {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  touch-action: pan-y;
}

.world-map-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

#countries-base path {
  fill: rgba(16, 37, 54, 0.9);
  stroke: rgba(25, 195, 177, 0.15);
  stroke-width: 0.5;
}

#countries-highlight path {
  fill: rgba(25, 195, 177, 0.3);
  stroke: rgba(25, 195, 177, 0.6);
  stroke-width: 0.5;
  transition: fill 0.2s ease;
}

#countries-highlight path:hover {
  fill: rgba(25, 195, 177, 0.55);
  cursor: default;
}

/* ── Map legend ──────────────────────────────────────── */
.map-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  padding-left: 0.25rem;
}

.map-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-legend-dot + .map-legend-text {
  margin-right: 1.25rem;
}

.map-legend-highlight { background: rgba(25, 195, 177, 0.7); }
.map-legend-base      { background: rgba(16, 37, 54, 0.9); border: 1px solid rgba(25, 195, 177, 0.25); }

.map-legend-text {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--color-grey);
  text-transform: uppercase;
}

/* ── Stats column ───────────────────────────────────────── */
.hg-stats {
  padding: 5rem 6vw 5rem 4vw;
  box-sizing: border-box;
}

.hg-stats__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hg-stats__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.15;
  margin-bottom: 3rem;
}

/* ── Region rows ─────────────────────────────────────────── */
.hg-regions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hg-region {}

.hg-region__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.hg-region__name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ivory);
  letter-spacing: 0.04em;
}

.hg-region__count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-grey);
}

.hg-region__track {
  width: 100%;
  height: 2px;
  background: rgba(155, 168, 179, 0.12);
  border-radius: 1px;
  overflow: hidden;
}

.hg-region__fill {
  height: 100%;
  width: 0%;
  background: var(--color-teal);
  border-radius: 1px;
}

/* ── CTA button ──────────────────────────────────────────── */
.hg-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ivory);
  border: 1px solid rgba(245, 243, 237, 0.3);
  padding: 0.875rem 1.875rem;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.hg-cta:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hg-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hg-map-wrap {
    padding: 2rem 0;
  }

  .hg-stats {
    padding: 3rem 6vw;
  }

  .hg-stats__heading {
    margin-bottom: 2rem;
  }

  .hg-regions {
    gap: 1rem;
    margin-bottom: 2rem;
  }
}

/* =========================================================
   Testimonials Section
   ========================================================= */

.htc-section {
  background: var(--color-deep-blue);
  padding: 7rem 8vw;
  overflow: hidden;
}

.htc-inner {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4rem;
  align-items: center;
}

/* ── Left heading ──────────────────────────────────────── */
.htc-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.htc-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.2;
  max-width: 320px;
}

/* ── Carousel ──────────────────────────────────────────── */
.htc-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.htc-carousel {
  overflow: hidden;
}

.htc-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Card ──────────────────────────────────────────────── */
.htc-card {
  flex: 0 0 100%;
  background: rgba(8, 19, 31, 0.5);
  border: 1px solid rgba(25, 195, 177, 0.12);
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.htc-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-teal);
  opacity: 0.4;
  line-height: 0;
  display: block;
  margin-bottom: 1.5rem;
}

.htc-quote {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-ivory);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1;
}

.htc-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.htc-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 0.06em;
}

.htc-company {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-grey);
}

/* ── Controls ──────────────────────────────────────────── */
.htc-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.htc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(25, 195, 177, 0.3);
  background: transparent;
  color: var(--color-teal);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color var(--transition-base), background var(--transition-base);
  flex-shrink: 0;
}

.htc-arrow:hover {
  border-color: var(--color-teal);
  background: rgba(25, 195, 177, 0.08);
}

.htc-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.htc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(155, 168, 179, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.htc-dot--active {
  background: var(--color-teal);
  transform: scale(1.4);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .htc-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .htc-inner > * {
    min-width: 0;
    max-width: 100%;
  }

  .htc-heading {
    max-width: none;
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-break: break-word;
  }

  .htc-carousel-wrap {
    overflow: hidden;
    width: 100%;
  }

  .htc-section {
    padding: 5rem 6vw;
  }
}

/* =========================================================
   Stats Banner
   ========================================================= */

.hs-banner {
  background: var(--color-teal);
  padding: 4rem 8vw;
}

.hs-banner__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem 0;
}

.hs-stat {
  text-align: center;
  position: relative;
  flex: 1 1 0;
  min-width: 160px;
}

/* Vertical dividers between stats */
.hs-stat + .hs-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(8, 19, 31, 0.15);
}

.hs-stat__number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}

.hs-stat__number,
.hs-stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1;
}

.hs-stat__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-midnight);
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .hs-banner {
    padding: 3rem 6vw;
  }

  .hs-stat + .hs-stat::before {
    display: none;
  }

  .hs-stat {
    flex: 1 1 45%;
  }
}

/* =========================================================
   Home Trust Section
   ========================================================= */

.ht-section {
  background: var(--color-midnight);
  overflow: hidden;
}

.ht-inner {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 600px;
}

/* ── Left content ──────────────────────────────────────── */
.ht-content {
  padding: 6rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ht-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.15;
  max-width: 480px;
  margin-bottom: 3rem;
}

/* ── Pillars ───────────────────────────────────────────── */
.ht-pillars {
  display: flex;
  flex-direction: column;
}

.ht-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(155, 168, 179, 0.1);
}

.ht-pillar:first-child {
  border-top: 1px solid rgba(155, 168, 179, 0.1);
}

.ht-pillar__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ht-pillar__text {
  border-left: 2px solid var(--color-teal);
  padding-left: 1rem;
}

.ht-pillar__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ivory);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.ht-pillar__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.7;
  max-width: 380px;
}

/* ── Right image ───────────────────────────────────────── */
.ht-image-wrap {
  position: relative;
  overflow: hidden;
}

.ht-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ht-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-midnight) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ht-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ht-image-wrap {
    height: 300px;
    order: -1;
  }

  .ht-image-overlay {
    background: linear-gradient(to bottom, transparent 0%, var(--color-midnight) 100%);
  }

  .ht-content {
    padding: 3rem 6vw;
  }
}

/* =========================================================
   Home CTA Section
   ========================================================= */

.hcta-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1444653614773-995cb1ef9efa?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hcta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0.82);
  pointer-events: none;
}

.hcta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
  padding: 4rem 6vw;
}

.hcta-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hcta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hcta-sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--color-grey);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.hcta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Disable fixed attachment on mobile (performance + iOS bug) */
@media (max-width: 900px) {
  .hcta-section {
    min-height: 90vh;
    background-attachment: scroll;
  }
}

/* =========================================================
   Jurisdictions Page
   ========================================================= */

/* ── Inner hero ──────────────────────────────────────────── */
.jur-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding-top: 101px; /* offset fixed header so content centres in visible area */
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&q=80');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.jur-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,19,31,0.9) 40%, rgba(25,195,177,0.15) 100%);
  pointer-events: none;
}

.jur-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 8vw;
  max-width: 760px;
}

.jur-hero__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.jur-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.jur-hero__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-grey);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.jur-hero__pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0;
}

.jur-hero__pill {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-grey);
}

.jur-hero__dot {
  font-size: 0.875rem;
  color: var(--color-teal);
  margin: 0 0.5rem;
  line-height: 1;
}

/* ── Jurisdictions section ───────────────────────────────── */
.jur-section {
  background: var(--color-midnight);
  padding: 6rem 8vw;
}

/* ── Filter tabs ─────────────────────────────────────────── */
.jur-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(155, 168, 179, 0.15);
  margin-bottom: 0;
}

.jur-tab {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-grey);
  padding: 0.625rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
  margin-bottom: -1px;
}

.jur-tab:hover {
  color: var(--color-ivory);
}

.jur-tab--active {
  color: var(--color-ivory);
  border-bottom-color: var(--color-teal);
}

/* ── Region panels ───────────────────────────────────────── */
.jur-panels {
  margin-top: 3rem;
}

.jur-panel {
  margin-bottom: 3.5rem;
}

.jur-panel__heading {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.jur-panel__flag {
  font-size: 1.25rem;
  line-height: 1;
}

/* ── Country grid ────────────────────────────────────────── */
.jur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.jur-cell {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-ivory);
  border-left: 2px solid rgba(25, 195, 177, 0.3);
  padding: 0.5rem 0.75rem;
  background: rgba(16, 37, 54, 0.5);
  transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
  cursor: default;
}

.jur-cell:hover {
  border-left-color: var(--color-teal);
  background: rgba(25, 195, 177, 0.06);
  color: var(--color-teal);
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .jur-hero {
    height: 50vh;
    min-height: 360px;
  }

  .jur-section {
    padding: 4rem 6vw;
  }

  .jur-tabs {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .jur-tabs::-webkit-scrollbar {
    display: none;
  }

  .jur-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .jur-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .jur-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Services Page Hero
   --------------------------------------------------------- */

.srv-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 101px; /* fixed header offset */
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.srv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 19, 31, 0.9) 40%, rgba(25, 195, 177, 0.12) 100%);
  z-index: 1;
}

.srv-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
  width: 100%;
}

.srv-hero__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.srv-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.srv-hero__sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--color-grey);
  max-width: 520px;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   Service Block Feature Lists
   --------------------------------------------------------- */

.hs-block__features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hs-block__feature {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 2;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hs-block__feature::before {
  content: '\203A'; /* › */
  color: var(--color-teal);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   About Page — Hero
   --------------------------------------------------------- */

.abt-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding-top: 101px;
  background-image: url('https://images.unsplash.com/photo-1541746972996-4e0b0f43e02a?w=1600&q=80');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.abt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(8, 19, 31, 0.88) 45%, rgba(25, 195, 177, 0.1) 100%);
  z-index: 1;
}

.abt-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
  width: 100%;
}

.abt-hero__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 1.25rem;
}

.abt-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.abt-hero__sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--color-grey);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------------------------------------------------------
   About Page — Our Story
   --------------------------------------------------------- */

.abt-story {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
}

.abt-story__content {
  background: var(--color-midnight);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8vw 6rem 6vw;
}

.abt-story__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.abt-story__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.abt-story__body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 1.25rem;
}

.abt-story__body:last-child {
  margin-bottom: 0;
}

.abt-story__figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.abt-story__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0.25);
  pointer-events: none;
}

.abt-story__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* ---------------------------------------------------------
   About Page — Values
   --------------------------------------------------------- */

.abt-values {
  background: var(--color-ivory);
  padding: 7rem 0;
}

.abt-values__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
}

.abt-values__header {
  margin-bottom: 4rem;
}

.abt-values__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.abt-values__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.1;
}

.abt-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.abt-value {
  position: relative;
  padding-top: 1rem;
}

.abt-value__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-teal);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.abt-value__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.abt-value__body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.8;
}

/* ---------------------------------------------------------
   About Page — Team
   --------------------------------------------------------- */

.abt-team {
  background: var(--color-midnight);
  padding: 7rem 0;
}

.abt-team__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
}

.abt-team__header {
  margin-bottom: 4rem;
}

.abt-team__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.abt-team__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.1;
}

.abt-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.abt-member__photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--color-deep-blue);
}

.abt-member__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.abt-member__photo-wrap:hover .abt-member__photo {
  transform: scale(1.03);
}

.abt-member__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8, 19, 31, 0.95) 60%, transparent 100%);
  padding: 2rem 1.25rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.abt-member__photo-wrap:hover .abt-member__overlay {
  transform: translateY(0);
}

.abt-member__bio {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.7;
  margin: 0;
}

.abt-member__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.abt-member__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-teal);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------
   About Page — Responsive
   --------------------------------------------------------- */

@media (max-width: 1024px) {
  .abt-values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .abt-story {
    grid-template-columns: 1fr;
  }

  .abt-story__figure {
    height: 320px;
    order: -1;
  }

  .abt-story__content {
    padding: 4rem 6vw;
  }
}

@media (max-width: 600px) {
  .abt-values__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------------------------------------------------------
   Contact Page
   --------------------------------------------------------- */

.ctc-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 100vh;
}

/* ── Left column ──────────────────────────────────────── */
.ctc-left {
  background: var(--color-midnight);
  padding: 4rem 5vw;
  position: sticky;
  top: 100px;
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Logo */
.ctc-logo {
  margin-bottom: 3rem;
}

.ctc-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.ctc-logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ivory);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.ctc-left__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ctc-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.ctc-sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-grey);
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 3rem;
}

/* Contact details */
.ctc-details {
  margin-bottom: auto;
  padding-bottom: 3rem;
}

.ctc-detail__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.ctc-detail__value {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-ivory);
  text-decoration: none;
  display: block;
  transition: color var(--transition-base);
}

.ctc-detail__value:hover {
  color: var(--color-teal);
}

.ctc-detail__gap {
  height: 1.5rem;
}

/* Jurisdiction note */
.ctc-note {
  border: 1px solid rgba(25, 195, 177, 0.2);
  background: rgba(25, 195, 177, 0.04);
  padding: 1.25rem;
  margin-top: 0;
}

.ctc-note p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.7;
  margin: 0;
}

/* ── Right column ─────────────────────────────────────── */
.ctc-right {
  background: var(--color-ivory);
  padding: 8rem 5vw;
}

.ctc-form-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 2.5rem;
  line-height: 1.1;
}

/* ── Form fields ──────────────────────────────────────── */
.ctc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}

.ctc-form__field {
  margin-bottom: 2rem;
}

.ctc-form__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(8, 19, 31, 0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.ctc-form__optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.7rem;
  opacity: 0.7;
}

.ctc-form__input {
  border: none;
  border-bottom: 1px solid rgba(8, 19, 31, 0.2);
  background: transparent;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-midnight);
  width: 100%;
  outline: none;
  display: block;
  transition: border-color var(--transition-base);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.ctc-form__input:focus {
  border-bottom-color: var(--color-teal);
}

.ctc-form__input::placeholder {
  color: rgba(8, 19, 31, 0.35);
}

.ctc-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239BA8B3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.5rem;
}

.ctc-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.ctc-form__submit {
  margin-top: 0.5rem;
}

.ctc-form__btn {
  padding: 0.875rem 2.5rem;
}

/* ── CF7 overrides (when CF7 is active) ──────────────── */
.ctc-right .wpcf7 input:not([type="submit"]),
.ctc-right .wpcf7 textarea,
.ctc-right .wpcf7 select {
  border: none;
  border-bottom: 1px solid rgba(8, 19, 31, 0.2);
  background: transparent;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-midnight);
  width: 100%;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition-base);
  display: block;
}

.ctc-right .wpcf7 input:not([type="submit"]):focus,
.ctc-right .wpcf7 textarea:focus,
.ctc-right .wpcf7 select:focus {
  border-bottom-color: var(--color-teal);
}

.ctc-right .wpcf7 input::placeholder,
.ctc-right .wpcf7 textarea::placeholder {
  color: rgba(8, 19, 31, 0.35);
}

.ctc-right .wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.ctc-right .wpcf7 label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(8, 19, 31, 0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.ctc-right .wpcf7 p {
  margin-bottom: 2rem;
}

.ctc-right .wpcf7 input[type="submit"] {
  background: var(--color-teal);
  color: var(--color-midnight);
  border: 1px solid var(--color-teal);
  padding: 0.875rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.ctc-right .wpcf7 input[type="submit"]:hover {
  background: transparent;
  color: var(--color-teal);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .ctc-layout {
    grid-template-columns: 1fr;
  }

  .ctc-left {
    position: static;
    height: auto;
    padding: 5rem 6vw;
  }

  .ctc-right {
    padding: 5rem 6vw;
  }

  .ctc-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .ctc-form__btn {
    width: 100%;
    justify-content: center;
  }

  .ctc-right .wpcf7 input[type="submit"] {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   Global mobile font-size floor (nothing below 13px on mobile)
   --------------------------------------------------------- */
@media (max-width: 600px) {

  /* Contact jurisdiction note — was 0.8rem (12.8px) */
  .ctc-note p {
    font-size: 0.875rem;
  }

  /* Footer bottom bar — was 0.75rem (12px) */
  .sf-bottom__copy,
  .sf-bottom__link,
  .sf-bottom__sep {
    font-size: 0.8125rem;
  }

  /* Stats banner vertical stacking on narrow phones */
  .hs-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .hs-stat + .hs-stat::before {
    display: none;
  }

  /* About values — reduce number size on mobile */
  .abt-value__num {
    font-size: 2.25rem;
  }

  /* Services page hero sub — prevent overflow on small screens */
  .srv-hero__sub,
  .abt-hero__sub {
    font-size: 0.9375rem;
    max-width: 100%;
  }

  /* Inner page hero headings — scale down slightly */
  .srv-hero__heading,
  .abt-hero__heading {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
}

/* ---------------------------------------------------------
   Responsive — global
   --------------------------------------------------------- */
@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }
}

/* =============================================================
   CHANGE 1 — Footer logo (brightness invert for dark bg)
   ============================================================= */
.footer-logo-col .custom-logo-link img,
.footer-logo-col .custom-logo {
  max-height: 90px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.75;
}

.footer-site-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-ivory);
  letter-spacing: 0.05em;
}

/* =============================================================
   ABOUT PAGE — New sections (Change 3)
   ============================================================= */

/* ── Regulatory Standing ──────────────────────────────────── */
.abt-reg {
  background: var(--color-midnight);
  padding: 7rem 0;
}

.abt-reg__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.abt-reg__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.abt-reg__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--color-ivory);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.abt-reg__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-grey);
  margin-bottom: 1.25rem;
}

.abt-reg__body:last-child { margin-bottom: 0; }

.abt-cred-badge {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.abt-cred-badge:last-child { margin-bottom: 0; }

.abt-cred-badge:hover {
  border-color: var(--color-teal);
}

.abt-cred-badge__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.abt-cred-badge__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(245,243,237,0.65);
  margin: 0;
}

@media (max-width: 900px) {
  .abt-reg__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── Who We Work With ─────────────────────────────────────── */
.abt-clients {
  background: var(--color-ivory);
  padding: 7rem 0;
}

.abt-clients__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

.abt-clients__header {
  text-align: center;
  margin-bottom: 4rem;
}

.abt-clients__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.abt-clients__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-midnight);
  line-height: 1.2;
}

.abt-clients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.abt-client-card {
  background: #fff;
  border: 1px solid rgba(8,19,31,0.1);
  border-top: 3px solid var(--color-teal);
  padding: 2.5rem 2rem;
  border-radius: 2px;
}

.abt-client-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(8,19,31,0.1);
  line-height: 1;
  margin-bottom: 1rem;
}

.abt-client-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.abt-client-card__body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #4a5568;
  margin: 0;
}

@media (max-width: 900px) {
  .abt-clients__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .abt-clients { padding: 5rem 0; }
  .abt-reg { padding: 5rem 0; }
}

/* =============================================================
   SERVICES PAGE — New sections (Change 4)
   ============================================================= */

/* ── Our Process ──────────────────────────────────────────── */
.srv-process {
  background: var(--color-ivory);
  padding: 7rem 0;
}

.srv-process__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5vw;
}

.srv-process__header {
  margin-bottom: 4rem;
}

.srv-process__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.srv-process__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-midnight);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.srv-process__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  max-width: 640px;
}

.srv-process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.srv-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(8,19,31,0.1);
  position: relative;
}

.srv-step:first-child { border-top: 1px solid rgba(8,19,31,0.1); }

.srv-step__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(25,195,177,0.15);
  line-height: 1;
  letter-spacing: -0.02em;
}

.srv-step__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.srv-step__desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #4a5568;
  margin: 0;
}

@media (max-width: 600px) {
  .srv-step {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }
  .srv-step__num { font-size: 3.5rem; }
}

/* ── Jurisdictions bar ────────────────────────────────────── */
.srv-jur-bar {
  background: var(--color-deep-blue);
  padding: 6rem 0;
}

.srv-jur-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.srv-jur-bar__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.srv-jur-bar__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-ivory);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.srv-jur-bar__sub {
  font-size: 1rem;
  color: var(--color-grey);
  line-height: 1.7;
}

.srv-jur-bar__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.srv-region-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.srv-region-pill:hover {
  background: rgba(25,195,177,0.12);
  border-color: var(--color-teal);
}

.srv-jur-bar__cta {
  color: var(--color-ivory);
  border-color: rgba(255,255,255,0.4);
}

.srv-jur-bar__cta:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* ── Compliance Framework ─────────────────────────────────── */
.srv-compliance {
  background: var(--color-midnight);
  padding: 7rem 0;
}

.srv-compliance__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.srv-compliance__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.srv-compliance__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--color-ivory);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.srv-compliance__body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-grey);
  margin-bottom: 1.25rem;
}

.srv-compliance__body:last-child { margin-bottom: 0; }

.srv-compliance__pillar {
  border-left: 3px solid var(--color-teal);
  padding: 1.25rem 0 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.srv-compliance__pillar:last-child { margin-bottom: 0; }

.srv-compliance__pillar-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.srv-compliance__pillar-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(245,243,237,0.6);
  margin: 0;
}

@media (max-width: 900px) {
  .srv-compliance__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.srv-faq {
  background: var(--color-ivory);
  padding: 7rem 0;
}

.srv-faq__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5vw;
}

.srv-faq__header {
  margin-bottom: 3rem;
}

.srv-faq__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.srv-faq__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-midnight);
  line-height: 1.2;
}

.srv-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(8,19,31,0.12);
  padding: 1.375rem 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-midnight);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.srv-faq__q:hover { color: var(--color-teal); }

.srv-faq__item:first-child .srv-faq__q {
  border-top: 1px solid rgba(8,19,31,0.12);
}

.srv-faq__icon {
  flex-shrink: 0;
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--color-teal);
  line-height: 1;
  transition: transform 0.2s ease;
}

.srv-faq__item--open .srv-faq__q {
  color: var(--color-teal);
  border-bottom-color: var(--color-teal);
}

.srv-faq__a {
  padding: 1.25rem 0 1.75rem;
  border-bottom: 1px solid rgba(8,19,31,0.12);
}

.srv-faq__a p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #4a5568;
  margin: 0;
}

/* =============================================================
   INSIGHTS PAGE (Change 5)
   ============================================================= */
.insights-hero {
  position: relative;
  min-height: 60vh;
  padding-top: 101px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80&fm=webp');
  background-size: cover;
  background-position: center 55%;
}

.insights-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,19,31,0.85) 0%, rgba(16,37,54,0.7) 100%);
}

.insights-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 5vw;
}

.insights-hero__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.insights-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--color-ivory);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.insights-hero__sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(245,243,237,0.75);
  max-width: 560px;
}

/* ── Grid ─────────────────────────────────────────────────── */
.insights-grid-section {
  background: var(--color-ivory);
  padding: 6rem 0 8rem;
}

.insights-grid-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

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

.insight-card {
  background: #fff;
  border: 1px solid rgba(8,19,31,0.1);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.insight-card:hover {
  box-shadow: 0 12px 40px rgba(8,19,31,0.12);
  transform: translateY(-3px);
}

.insight-card__img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-deep-blue);
}

.insight-card__img-wrap--placeholder {
  cursor: default;
}

.insight-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.insight-card:hover .insight-card__img {
  transform: scale(1.04);
}

.insight-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-midnight) 100%);
}

.insight-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.insight-card__date,
.insight-card__read {
  font-size: 0.75rem;
  color: var(--color-grey);
  letter-spacing: 0.02em;
}

.insight-card__sep { color: var(--color-grey); }

.insight-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.35;
  margin-bottom: 0.875rem;
}

.insight-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.insight-card__link:hover { color: var(--color-teal); }

.insight-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4a5568;
  flex: 1;
  margin-bottom: 1.25rem;
}

.insight-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.insight-card__cta:hover { opacity: 0.75; }

.insights-empty {
  font-size: 1rem;
  color: #4a5568;
  padding: 3rem 0;
}

.insights-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.insights-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(8,19,31,0.15);
  border-radius: 2px;
  font-size: 0.875rem;
  color: var(--color-midnight);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.insights-pagination .page-numbers:hover,
.insights-pagination .page-numbers.current {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #fff;
}

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

@media (max-width: 580px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   SINGLE POST (Change 6)
   ============================================================= */
.post-hero {
  position: relative;
  min-height: 55vh;
  padding-top: 101px;
  display: flex;
  align-items: flex-end;
  background: var(--color-midnight);
}

.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,19,31,0.92) 0%, rgba(8,19,31,0.4) 100%);
}

.post-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 5vw 4rem;
}

.post-hero__overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--color-ivory);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.post-hero__date,
.post-hero__read {
  font-size: 0.8125rem;
  color: rgba(245,243,237,0.55);
  letter-spacing: 0.02em;
}

.post-hero__sep { color: rgba(245,243,237,0.35); }

/* ── Featured image ───────────────────────────────────────── */
.post-featured-image {
  background: var(--color-deep-blue);
}

.post-featured-image__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

.post-featured-image__img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* ── Article content (legacy wrapper — hidden in new layout) ── */
.post-content-wrap {
  background: #fff;
  padding: 5rem 0;
}

.post-content {
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: #2d3748;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.25;
  margin: 3rem 0 1.25rem;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin: 2rem 0 1rem;
}

.post-content p { margin-bottom: 1.5rem; }
.post-content p:last-child { margin-bottom: 0; }

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li { margin-bottom: 0.5rem; }

.post-content a {
  color: var(--color-teal);
  text-decoration: underline;
  text-decoration-color: rgba(25,195,177,0.4);
}

.post-content a:hover {
  text-decoration-color: var(--color-teal);
}

/* ── CTA strip ────────────────────────────────────────────── */
.post-cta-strip {
  background: var(--color-midnight);
  padding: 5rem 0;
}

.post-cta-strip__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.post-cta-strip__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-ivory);
  margin-bottom: 0.75rem;
}

.post-cta-strip__sub {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-grey);
  max-width: 500px;
  margin: 0;
}

.post-cta-strip__btn { flex-shrink: 0; }

@media (max-width: 700px) {
  .post-cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================================
   Responsive overrides for new sections
   ============================================================= */
@media (max-width: 600px) {
  .srv-process { padding: 5rem 0; }
  .srv-jur-bar { padding: 4.5rem 0; }
  .srv-compliance { padding: 5rem 0; }
  .srv-faq { padding: 5rem 0; }
  .insights-hero { padding-top: 101px; min-height: 50vh; }
  .post-hero { min-height: 45vh; }
  .post-content-wrap { padding: 3.5rem 0; }
  .post-cta-strip { padding: 4rem 0; }
}

/* =============================================================
   SINGLE POST — two-column body (article + sidebar)
   ============================================================= */
.post-body-wrap {
  background: #fff;
  padding: 5rem 0;
}

.post-body-wrap > .post-content,
.post-body-wrap > .post-sidebar {
  /* handled by grid below */
}

/* Override old full-width wrapping rule */
.post-content-wrap { display: none; }

.post-body-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5vw;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #2d3748;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.25;
  margin: 3rem 0 1.25rem;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin: 2rem 0 1rem;
}

.post-content p { margin-bottom: 1.5rem; }
.post-content p:last-child { margin-bottom: 0; }

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li { margin-bottom: 0.5rem; }

.post-content a {
  color: var(--color-teal);
  text-decoration: underline;
  text-decoration-color: rgba(25,195,177,0.4);
}

.post-content a:hover {
  text-decoration-color: var(--color-teal);
}

/* ── Sidebar ──────────────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.psb-widget {
  border: 1px solid rgba(8,19,31,0.1);
  border-radius: 2px;
  padding: 1.75rem;
  background: #fafafa;
}

.psb-widget__heading {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1.25rem;
}

/* Recent articles */
.psb-articles {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.psb-article {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.psb-article__thumb-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  overflow: hidden;
  border-radius: 2px;
  display: block;
  background: var(--color-deep-blue);
}

.psb-article__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.psb-article:hover .psb-article__thumb { transform: scale(1.05); }

.psb-article__text { flex: 1; min-width: 0; }

.psb-article__title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-midnight);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.psb-article__title:hover { color: var(--color-teal); }

.psb-article__date {
  font-size: 0.75rem;
  color: var(--color-grey);
}

.psb-more-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.psb-more-link:hover { opacity: 0.75; }

/* Services list */
.psb-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.psb-service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-midnight);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(8,19,31,0.07);
  transition: color 0.2s ease;
}

.psb-service-link::before {
  content: '›';
  color: var(--color-teal);
  font-size: 1.1rem;
  line-height: 1;
}

.psb-service-link:hover { color: var(--color-teal); }

.psb-services-list li:last-child .psb-service-link { border-bottom: none; }

/* Categories */
.psb-cats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.psb-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-midnight);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(8,19,31,0.07);
  transition: color 0.2s ease;
}

.psb-cat-link:hover { color: var(--color-teal); }

.psb-cats li:last-child .psb-cat-link { border-bottom: none; }

.psb-cat-count {
  font-size: 0.75rem;
  background: rgba(8,19,31,0.07);
  color: var(--color-grey);
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
}

/* CTA widget */
.psb-cta-widget {
  background: var(--color-midnight);
  border-color: var(--color-midnight);
}

.psb-cta-widget__text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--color-ivory);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.psb-cta-widget__btn { width: 100%; text-align: center; }

@media (max-width: 960px) {
  .post-body-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .psb-cta-widget { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .post-sidebar { grid-template-columns: 1fr; }
  .post-body-wrap { padding: 3.5rem 5vw; }
}

/* =============================================================
   HOMEPAGE — Insights preview section
   ============================================================= */
.hins-section {
  background: var(--color-deep-blue);
  padding: 7rem 0;
}

.hins-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

.hins-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.hins-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.hins-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-ivory);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hins-sub {
  font-size: 0.9375rem;
  color: var(--color-grey);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

.hins-header__cta {
  flex-shrink: 0;
  color: var(--color-ivory);
  border-color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.hins-header__cta:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

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

.hins-card {
  background: var(--color-midnight);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hins-card:hover {
  border-color: rgba(25,195,177,0.35);
  transform: translateY(-3px);
}

.hins-card__img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-deep-blue);
}

.hins-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hins-card:hover .hins-card__img { transform: scale(1.04); }

.hins-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25,195,177,0.08) 0%, transparent 100%);
}

.hins-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.hins-card__date {
  font-size: 0.75rem;
  color: var(--color-grey);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  display: block;
}

.hins-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.hins-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hins-card__link:hover { color: var(--color-teal); }

.hins-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245,243,237,0.55);
  flex: 1;
  margin-bottom: 1.25rem;
}

.hins-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
  margin-top: auto;
}

.hins-card__cta:hover { opacity: 0.75; }

@media (max-width: 960px) {
  .hins-grid { grid-template-columns: repeat(2, 1fr); }
  .hins-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .hins-grid { grid-template-columns: 1fr; }
  .hins-section { padding: 5rem 0; }
}

/* =============================================================
   Contact page — solid header from load (no transparency)
   ============================================================= */
body.page-contact .site-header,
body.page-contact header.site-header {
  background: rgba(8,19,31,0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(25,195,177,0.15) !important;
}

/* Push layout below the 100px fixed site header */
body.page-contact .ctc-layout {
  padding-top: 100px;
}

/* =============================================================
   Global section utility classes (used by new homepage sections)
   ============================================================= */
.section-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-midnight);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: #4a5568;
  max-width: 600px;
}

/* =============================================================
   How It Works — process cards
   ============================================================= */
.home-process-section {
  background: var(--color-ivory);
  padding: 7rem 8vw;
}

.home-process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-process-header {
  max-width: 560px;
  margin-bottom: 3.5rem;
}

.home-process-header .section-heading {
  color: var(--color-midnight);
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.process-card {
  background: var(--color-white);
  border: 1px solid rgba(8,19,31,0.08);
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  border-color: rgba(25,195,177,0.4);
  box-shadow: 0 4px 24px rgba(8,19,31,0.06);
}

.process-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.process-card:hover .process-card-accent {
  transform: scaleX(1);
}

.process-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(25,195,177,0.25);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-card-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-midnight);
  letter-spacing: 0.02em;
  margin-bottom: 0.875rem;
  line-height: 1.4;
}

.process-card-text {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: rgba(8,19,31,0.65);
  line-height: 1.75;
  flex: 1;
}

@media (max-width: 1100px) {
  .process-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .home-process-section { padding: 5rem 6vw; }
  .process-cards {
    grid-template-columns: 1fr;
  }
  .process-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .process-card-num {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 48px;
    margin-bottom: 0;
  }
  .process-card-accent {
    bottom: 0; left: 0; right: auto;
    width: 2px; height: 100%;
    transform: scaleY(0);
    transform-origin: top;
  }
  .process-card:hover .process-card-accent {
    transform: scaleY(1);
  }
}

/* =============================================================
   TASK 3 — Who We Work With (home-clients)
   ============================================================= */
.home-clients-section {
  background: var(--color-midnight);
  padding: 7rem 8vw;
}

.home-clients-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-clients-section .section-heading {
  color: var(--color-ivory);
}

.home-clients-section .section-sub {
  color: var(--color-grey);
  margin-bottom: 3.5rem;
  max-width: 580px;
}

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

.client-type-card {
  background: rgba(16,37,54,0.6);
  border: 1px solid rgba(25,195,177,0.1);
  border-top: 2px solid var(--color-teal);
  padding: 2rem;
}

.client-type-icon {
  margin-bottom: 1.25rem;
}

.client-type-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 0.875rem;
}

.client-type-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-grey);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.client-type-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(155,168,179,0.1);
  padding-top: 1rem;
}

.client-type-list li {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(155,168,179,0.7);
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
}

.client-type-list li::before {
  content: '›';
  color: var(--color-teal);
  position: absolute;
  left: 0;
}

@media (max-width: 900px) {
  .home-clients-section { padding: 5rem 6vw; }
  .clients-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   TASK 3 — Latest Insights (home-insights — new classes)
   ============================================================= */
.home-insights-section {
  background: var(--color-deep-blue);
  padding: 7rem 8vw;
}

.home-insights-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home-insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.insights-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insights-home-card {
  background: rgba(8,19,31,0.5);
  border: 1px solid rgba(25,195,177,0.08);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base);
}

.insights-home-card:hover {
  border-color: rgba(25,195,177,0.3);
}

.insights-home-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.insights-home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.insights-home-card:hover .insights-home-img img {
  transform: scale(1.04);
}

.insights-home-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  display: block;
}

.insights-home-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.insights-home-title a {
  color: var(--color-ivory);
  text-decoration: none;
  transition: color var(--transition-base);
}

.insights-home-title a:hover { color: var(--color-teal); }

.insights-home-excerpt {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: var(--color-grey);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.insight-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity var(--transition-base);
  margin-top: auto;
}

.insight-card-link:hover { opacity: 0.7; }

.elaris-btn-ghost {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-teal);
  border: 1px solid rgba(25,195,177,0.4);
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.elaris-btn-ghost:hover {
  background: var(--color-teal);
  color: var(--color-midnight);
  border-color: var(--color-teal);
}

@media (max-width: 900px) {
  .home-insights-section { padding: 5rem 6vw; }
  .insights-home-grid { grid-template-columns: repeat(2, 1fr); }
  .home-insights-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  .insights-home-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   TASK 3 — Compliance Credentials (home-compliance)
   ============================================================= */
.home-compliance-section {
  background: var(--color-midnight);
  padding: 7rem 8vw;
  border-top: 1px solid rgba(25,195,177,0.08);
}

.home-compliance-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.home-compliance-section .section-heading {
  color: var(--color-ivory);
}

.compliance-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-grey);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.compliance-body:last-of-type { margin-bottom: 0; }

.compliance-badges {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compliance-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(16,37,54,0.6);
  border: 1px solid rgba(25,195,177,0.1);
  border-left: 2px solid var(--color-teal);
}

.compliance-badge-icon {
  flex-shrink: 0;
  padding-top: 2px;
}

.compliance-badge-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-ivory);
  margin-bottom: 0.25rem;
}

.compliance-badge-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-grey);
  line-height: 1.5;
}

.elaris-btn-outline {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-teal);
  border: 1px solid rgba(25,195,177,0.4);
  padding: 0.625rem 1.5rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.elaris-btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-midnight);
  border-color: var(--color-teal);
}

@media (max-width: 900px) {
  .home-compliance-section { padding: 5rem 6vw; }
  .home-compliance-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* =============================================================
   Service block compact CTA (Fix 2)
   ============================================================= */
.service-block-cta {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-teal);
  border: 1px solid rgba(25,195,177,0.4);
  padding: 0.625rem 1.375rem;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: var(--transition-base);
  white-space: nowrap;
}

.service-block-cta:hover {
  background: var(--color-teal);
  color: var(--color-midnight);
  border-color: var(--color-teal);
}

/* =============================================================
   Service single pages (Fix 1e)
   ============================================================= */
.service-hero {
  background-color: var(--color-midnight);
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(8,19,31,0.92) 40%,
    rgba(25,195,177,0.08) 100%);
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 8vw 5rem;
  max-width: 680px;
}

.inner-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.1;
  margin: 1rem 0;
}

.inner-hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-grey);
  line-height: 1.75;
  max-width: 520px;
}

.service-single-body {
  background: var(--color-ivory);
}

.service-intro-block {
  padding: 0;
  background: var(--color-ivory);
}

.service-intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.service-intro-text {
  padding: 5rem 5vw 5rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-ivory);
}

.service-intro-anim {
  background: var(--color-midnight);
  position: relative;
  min-height: 480px;
}

#service-anim-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.service-intro-block h2,
.service-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.service-intro-block p,
.service-intro-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(8,19,31,0.75);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.service-features-grid {
  padding: 4rem 8vw 5rem;
  background: var(--color-midnight);
}

.service-features-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 2.5rem;
}

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

.sf-card {
  background: rgba(16,37,54,0.7);
  border: 1px solid rgba(25,195,177,0.1);
  border-top: 2px solid var(--color-teal);
  padding: 1.75rem;
}

.sf-card h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.sf-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-grey);
  line-height: 1.75;
}

.service-jurisdictions-block {
  padding: 4rem 8vw;
  background: var(--color-ivory);
}

.service-jurisdictions-block h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 0.75rem;
}

.service-jurisdictions-block > p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-grey);
  margin-bottom: 2rem;
}

.service-jur-regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-jur-region {
  background: #ffffff;
  border: 1px solid rgba(8,19,31,0.08);
  border-left: 2px solid var(--color-teal);
  padding: 1.5rem;
}

.service-jur-region h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-midnight);
  margin-bottom: 0.625rem;
}

.service-jur-region p {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: var(--color-grey);
  line-height: 1.7;
}

.service-timeline-block {
  padding: 4rem 8vw 5rem;
  background: var(--color-deep-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-timeline-block h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 2rem;
  text-align: center;
}

.service-timeline-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.service-timeline-row {
  display: grid;
  grid-template-columns: 190px 1fr 160px;
  align-items: center;
  gap: 1rem;
}

.stl-jur {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-ivory);
}

.stl-bar {
  height: 4px;
  background: rgba(155,168,179,0.15);
  overflow: hidden;
}

.stl-bar span {
  display: block;
  height: 100%;
  background: var(--color-teal);
}

.stl-time {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-grey);
  text-align: right;
}

.service-compliance-note {
  background: var(--color-midnight);
  overflow: hidden;
}

.scn-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.scn-inner {
  padding: 4rem 5vw 4rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.scn-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2rem;
  bottom: 2rem;
  width: 3px;
  background: var(--color-teal);
}

.scn-image {
  position: relative;
  overflow: hidden;
}

.scn-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scn-inner h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 1rem;
}

.scn-inner p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-grey);
  line-height: 1.85;
  margin-bottom: 0.875rem;
}

.service-single-cta {
  background: var(--color-teal);
  padding: 5rem 8vw;
  text-align: center;
}

.service-single-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.service-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-single-cta h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 1rem;
}

.service-single-cta p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(8,19,31,0.75);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.elaris-btn-primary {
  display: inline-block;
  background: var(--color-midnight);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 0.875rem 2rem;
  text-decoration: none;
  border: none;
  transition: var(--transition-base);
}

.elaris-btn-primary:hover {
  background: var(--color-deep-blue);
  color: var(--color-ivory);
}

@media (max-width: 900px) {
  .service-intro-cols     { grid-template-columns: 1fr; }
  .service-intro-anim     { min-height: 300px; }
  .service-intro-text     { padding: 3rem 6vw; }
  .service-features-cards { grid-template-columns: 1fr; }
  .service-jur-regions    { grid-template-columns: 1fr; }
  .service-timeline-row   { grid-template-columns: 1fr 1fr; }
  .stl-bar                { display: none; }
  .scn-cols               { grid-template-columns: 1fr; }
  .scn-image              { height: 240px; position: relative; }
  .scn-image img          { position: absolute; }
  .scn-inner              { padding: 3rem 6vw; }
  .scn-inner::before      { top: 1.5rem; bottom: 1.5rem; }
}

/* =============================================================
   Performance — will-change hints for GSAP animated elements
   Applied before animation starts; removed by GSAP onComplete.
   ============================================================= */
.section-heading,
.service-card,
.trust-point,
.image-panel,
.region-label,
.cta-strip,
[data-animate="fade-up"],
[data-animate="stagger"] > *,
.hs-block__img {
  will-change: transform, opacity;
}


/* =============================================================
   LEGAL PAGES — Privacy Policy & Terms of Service
   ============================================================= */
.entry-content {
  max-width: 760px;
  color: var(--color-slate, #4a5568);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 300;
  color: var(--color-midnight);
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(8, 19, 31, 0.08);
}

.entry-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.entry-content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0.75rem 0 1rem 1.25rem;
  padding: 0;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content a {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover {
  opacity: 0.8;
}

.entry-content .legal-note {
  background: rgba(25, 195, 177, 0.06);
  border-left: 3px solid var(--color-teal);
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.entry-content .legal-effective {
  font-size: 0.875rem;
  color: var(--color-teal);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  display: block;
}


/* =============================================================
   LEGAL PAGE — two-column layout with sticky sidebar
   ============================================================= */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h, 80px) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lsb-card {
  background: #fff;
  border: 1px solid rgba(8, 19, 31, 0.08);
  border-radius: 6px;
  padding: 1.5rem;
}

.lsb-card__heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(8, 19, 31, 0.07);
}

/* ToC */
.lsb-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.lsb-toc__link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-midnight);
  opacity: 0.7;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: background 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.lsb-toc__link:hover,
.lsb-toc__link.is-active {
  background: rgba(25, 195, 177, 0.08);
  color: var(--color-teal);
  opacity: 1;
}

.lsb-toc__link.is-active {
  font-weight: 500;
}

/* Related links */
.lsb-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.lsb-links__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-midnight);
  text-decoration: none;
  padding: 0.375rem 0.5rem;
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lsb-links__link::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.lsb-links__link:hover {
  background: rgba(25, 195, 177, 0.06);
  color: var(--color-teal);
}

.lsb-links__link:hover::before,
.lsb-links__link.is-current::before {
  opacity: 1;
}

.lsb-links__link.is-current {
  color: var(--color-teal);
  font-weight: 500;
  pointer-events: none;
}

/* CTA card */
.lsb-cta {
  background: var(--color-midnight);
  border-color: transparent;
}

.lsb-cta .lsb-card__heading {
  color: rgba(245, 243, 237, 0.5);
  border-color: rgba(245, 243, 237, 0.1);
}

.lsb-cta__text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-ivory);
  opacity: 0.85;
  margin: 0 0 1rem;
}

.lsb-cta__btn {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

/* Last updated */
.lsb-meta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-midnight);
  opacity: 0.45;
  text-align: center;
  margin: 0;
}

.lsb-meta time {
  font-weight: 500;
}

/* ── Mobile collapse ──────────────────────────────────────── */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .legal-sidebar {
    position: static;
    order: -1;
  }

  .lsb-toc {
    display: none; /* ToC shown inline on mobile via scroll; redundant at top */
  }
}


/* Legal page — light background override */
.page-template-page-legal-php {
  background: var(--color-ivory, #F5F3ED);
}

.page-template-page-legal-php .site-main {
  background: var(--color-ivory, #F5F3ED);
}

.page-template-page-legal-php .entry-content h2 {
  color: var(--color-midnight);
}

.page-template-page-legal-php .entry-content h3 {
  color: var(--color-midnight);
}

.page-template-page-legal-php .entry-content p,
.page-template-page-legal-php .entry-content li {
  color: #2d3748;
}

.page-template-page-legal-php .entry-content a {
  color: var(--color-teal);
}

.page-template-page-legal-php .legal-note {
  color: var(--color-midnight);
}

.page-template-page-legal-php .legal-effective {
  color: var(--color-teal);
}


/* Legal page — cookie table */
.entry-content .legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0 1.5rem;
}

.entry-content .legal-table th,
.entry-content .legal-table td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid rgba(8, 19, 31, 0.08);
  vertical-align: top;
}

.entry-content .legal-table th {
  font-weight: 600;
  color: var(--color-midnight);
  background: rgba(8, 19, 31, 0.04);
  white-space: nowrap;
}

.entry-content .legal-table td code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8125rem;
  background: rgba(25, 195, 177, 0.08);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}

@media (max-width: 680px) {
  .entry-content .legal-table,
  .entry-content .legal-table tbody,
  .entry-content .legal-table tr,
  .entry-content .legal-table td {
    display: block;
    width: 100%;
  }
  .entry-content .legal-table thead { display: none; }
  .entry-content .legal-table td { border-bottom: none; padding: 0.375rem 0; }
  .entry-content .legal-table tr { border-bottom: 1px solid rgba(8,19,31,0.08); padding: 0.75rem 0; }
}

/* ==========================================================================
   PROPOSAL PAGE
   ========================================================================== */

/* ── Header ──────────────────────────────────────────────────────── */
.proposal-page body { background: var(--color-midnight); }

.proposal-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 19, 31, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.proposal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}
.proposal-header__logo img {
  height: 42px;
  width: auto;
  display: block;
}
.proposal-header__back {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.proposal-header__back:hover { color: var(--color-teal); }

/* ── Main layout ──────────────────────────────────────────────────── */
.proposal-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 72px;
}

/* ── Left panel ───────────────────────────────────────────────────── */
.proposal-left {
  background: linear-gradient(160deg, #0d1c2e 0%, var(--color-midnight) 100%);
  border-right: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow: auto;
  display: flex;
  align-items: center;
}
.proposal-left__inner {
  padding: 3rem 3.5rem;
}
.proposal-left__overline {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.proposal-left__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.proposal-left__sub {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0 0 2.5rem;
  max-width: 360px;
}

.proposal-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.proposal-trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.proposal-trust__icon {
  color: var(--color-teal);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.proposal-left__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.proposal-badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}

/* ── Right panel ──────────────────────────────────────────────────── */
.proposal-right {
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 2rem 4rem;
}
.proposal-form-wrap {
  width: 100%;
  max-width: 520px;
}

/* ── Progress ─────────────────────────────────────────────────────── */
.proposal-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.proposal-progress__bar {
  flex: 1;
  height: 3px;
  background: rgba(8,19,31,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.proposal-progress__fill {
  height: 100%;
  background: var(--color-teal);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.proposal-progress__label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(8,19,31,0.45);
  white-space: nowrap;
}

/* ── Steps ────────────────────────────────────────────────────────── */
.proposal-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.proposal-step.active { display: block; }

.proposal-step__legend {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-midnight);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.proposal-step__num {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  font-weight: 700;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.proposal-step__hint {
  font-size: 0.8rem;
  color: rgba(8,19,31,0.5);
  margin: -0.75rem 0 1.25rem;
}
.proposal-step__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* ── Option grid (radio) ──────────────────────────────────────────── */
.proposal-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.proposal-option { cursor: pointer; }
.proposal-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.proposal-option__box {
  display: block;
  padding: 1rem 1.125rem;
  border: 1.5px solid rgba(8,19,31,0.12);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.proposal-option:hover .proposal-option__box {
  border-color: rgba(25,195,177,0.4);
  background: rgba(25,195,177,0.03);
}
.proposal-option input:checked ~ .proposal-option__box {
  border-color: var(--color-teal);
  background: rgba(25,195,177,0.06);
}
.proposal-option input:focus-visible ~ .proposal-option__box {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}
.proposal-option__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 0.25rem;
}
.proposal-option__sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(8,19,31,0.5);
  line-height: 1.4;
}

/* ── Checkbox grid (regions) ──────────────────────────────────────── */
.proposal-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}
.proposal-checkbox { cursor: pointer; }
.proposal-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.proposal-checkbox__box {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(8,19,31,0.12);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.proposal-checkbox:hover .proposal-checkbox__box {
  border-color: rgba(25,195,177,0.4);
  background: rgba(25,195,177,0.03);
}
.proposal-checkbox input:checked ~ .proposal-checkbox__box {
  border-color: var(--color-teal);
  background: rgba(25,195,177,0.06);
}
.proposal-checkbox input:focus-visible ~ .proposal-checkbox__box {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}
.proposal-checkbox__emoji { font-size: 1.1rem; line-height: 1; }
.proposal-checkbox__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-midnight);
}

/* ── Contact fields ───────────────────────────────────────────────── */
.proposal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.proposal-field { display: flex; flex-direction: column; gap: 0.375rem; }
.proposal-field--full { grid-column: 1 / -1; }
.proposal-field__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(8,19,31,0.6);
  text-transform: uppercase;
}
.proposal-field__label span { color: var(--color-teal); }
.proposal-field__input,
.proposal-field__textarea {
  border: 1.5px solid rgba(8,19,31,0.14);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--color-midnight);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.proposal-field__input:focus,
.proposal-field__textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(25,195,177,0.12);
}
.proposal-field__textarea { resize: vertical; }

.proposal-consent {
  font-size: 0.75rem;
  color: rgba(8,19,31,0.45);
  line-height: 1.6;
  margin: 0 0 0.25rem;
}
.proposal-consent a { color: var(--color-teal); text-decoration: none; }
.proposal-consent a:hover { text-decoration: underline; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.proposal-next,
.proposal-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--color-midnight);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  font-family: inherit;
}
.proposal-next:hover:not(:disabled),
.proposal-submit:hover:not(:disabled) {
  background: var(--color-teal);
  color: var(--color-midnight);
}
.proposal-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.proposal-submit.loading .proposal-submit__text { opacity: 0.5; }
.proposal-submit__spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: proposalSpin 0.6s linear infinite;
}
.proposal-submit.loading .proposal-submit__spinner { display: inline-block; }

@keyframes proposalSpin {
  to { transform: rotate(360deg); }
}

.proposal-back {
  background: none;
  border: none;
  font-size: 0.82rem;
  color: rgba(8,19,31,0.45);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s;
}
.proposal-back:hover { color: var(--color-midnight); }

/* ── Error ────────────────────────────────────────────────────────── */
.proposal-error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
  border-radius: 5px;
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ── Success ──────────────────────────────────────────────────────── */
.proposal-success {
  text-align: center;
  padding: 3rem 1rem;
}
.proposal-success__icon {
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}
.proposal-success__icon svg { display: inline-block; }
.proposal-success__heading {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-midnight);
  margin: 0 0 0.875rem;
}
.proposal-success__body {
  font-size: 0.9rem;
  color: rgba(8,19,31,0.6);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 2rem;
}
.proposal-success__cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.proposal-success__cta:hover { border-color: var(--color-teal); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .proposal-main {
    grid-template-columns: 1fr;
  }
  .proposal-left {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .proposal-left__inner {
    padding: 2.5rem 1.5rem;
  }
  .proposal-right {
    padding: 2.5rem 1.5rem 3.5rem;
  }
  .proposal-option-grid,
  .proposal-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .proposal-fields {
    grid-template-columns: 1fr;
  }
  .proposal-field--full { grid-column: 1; }
}

/* ==========================================================================
   JURISDICTION COMPARISON CARDS
   ========================================================================== */

.jur-comparisons-section {
  background: var(--color-deep-blue);
  padding: 7rem 8vw;
  border-top: 1px solid rgba(25,195,177,0.08);
}
.jur-comparisons-inner { max-width: 1280px; margin: 0 auto; }

.jur-comparisons-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.jur-comparisons-sub {
  font-size: 0.9375rem;
  color: var(--color-grey);
  line-height: 1.8;
  margin-top: 1rem;
}

.jur-comparisons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.jur-comp-card {
  background: rgba(8,19,31,0.5);
  border: 1px solid rgba(25,195,177,0.1);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.jur-comp-card:hover {
  border-color: rgba(25,195,177,0.35);
  transform: translateY(-3px);
}

.jur-comp-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.jur-comp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.jur-comp-card:hover .jur-comp-card-image img {
  transform: scale(1.05);
}
.jur-comp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,19,31,0.2) 0%, rgba(8,19,31,0.6) 100%);
}
.jur-comp-card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}
.jur-badge {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-ivory);
  background: rgba(8,19,31,0.7);
  border: 1px solid rgba(25,195,177,0.3);
  padding: 0.2rem 0.6rem;
  backdrop-filter: blur(4px);
}

.jur-comp-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.jur-comp-card-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.jur-comp-card-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-teal);
}
.jur-comp-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.jur-comp-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-grey);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1rem;
}
.jur-comp-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: rgba(155,168,179,0.5);
  margin-bottom: 1.25rem;
}
.jur-comp-card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-teal);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: letter-spacing 0.2s ease;
}
.jur-comp-card-link:hover { letter-spacing: 0.08em; }

.jur-comparisons-cta {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(155,168,179,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.jur-comparisons-cta p {
  font-size: 0.9375rem;
  color: var(--color-grey);
  margin: 0;
}

@media (max-width: 900px) {
  .jur-comparisons-grid { grid-template-columns: 1fr; }
  .jur-comparisons-cta { flex-direction: column; gap: 1.25rem; }
}

/* ==========================================================================
   COMPARISON PAGES (page-comparison.php)
   ========================================================================== */

.comp-hero {
  min-height: 55vh;
  background-color: var(--color-midnight);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.comp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(8,19,31,0.6) 0%, rgba(8,19,31,0.92) 100%);
}
.comp-hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 8vw 4rem;
  max-width: 780px;
}
.comp-hero-tags {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  margin-bottom: 1rem;
}
.comp-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-ivory);
  line-height: 1.12;
}

.comp-body { background: var(--color-ivory); overflow-x: hidden; }

.comp-body-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: var(--color-midnight);
  margin: 3rem 0 1.25rem;
  line-height: 1.2;
  padding-top: 1rem;
  border-top: 1px solid rgba(8,19,31,0.08);
}
.comp-body-inner h2:first-child { border-top: none; margin-top: 0; }
.comp-body-inner h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-midnight);
  margin: 1.75rem 0 0.75rem;
  letter-spacing: 0.02em;
}
.comp-body-inner p {
  font-size: 0.9375rem;
  color: rgba(8,19,31,0.72);
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* Comparison table — responsive scroll wrapper */
.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  background:
    linear-gradient(to right, var(--color-ivory) 30%, transparent),
    linear-gradient(to left,  rgba(8,19,31,0.06) 0%, transparent 70%)
    right center / 20px 100% no-repeat;
  background-color: var(--color-ivory);
}

.comp-body-inner table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin: 0;
}

.comp-body-inner thead th {
  background: var(--color-midnight);
  color: var(--color-ivory);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  white-space: nowrap;
}

.comp-body-inner thead th:first-child {
  color: var(--color-teal);
  min-width: 160px;
}

.comp-body-inner tbody tr:nth-child(even) { background: rgba(8,19,31,0.03); }

.comp-body-inner tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(8,19,31,0.07);
  color: rgba(8,19,31,0.72);
  vertical-align: top;
  line-height: 1.6;
}

.comp-body-inner tbody td:first-child {
  font-weight: 500;
  color: var(--color-midnight);
  white-space: nowrap;
}

.table-scroll-hint {
  display: none;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-grey);
  letter-spacing: 0.06em;
  text-align: right;
  margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
  .table-scroll-hint { display: block; }

  .comp-body-inner thead th {
    font-size: 0.75rem;
    padding: 0.75rem 0.875rem;
  }

  .comp-body-inner tbody td {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* Verdict box */
.comp-verdict {
  background: var(--color-midnight);
  border-left: 3px solid var(--color-teal);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}
.comp-verdict-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
  display: block;
}
.comp-verdict h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-ivory);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.comp-verdict p {
  font-size: 0.9rem;
  color: var(--color-grey);
  line-height: 1.75;
  margin: 0;
}

/* Bottom CTA */
.comp-bottom-cta {
  background: var(--color-deep-blue);
  padding: 5rem 8vw;
  text-align: center;
}
.comp-bottom-cta-inner { max-width: 560px; margin: 0 auto; }
.comp-bottom-cta h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 0.875rem;
}
.comp-bottom-cta p {
  font-size: 0.9375rem;
  color: var(--color-grey);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.comp-bottom-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Comparison page two-column layout ─────────── */
.comp-body-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0;
  align-items: start;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Main content overrides (was standalone, now inside grid) */
.comp-body-inner {
  padding: 5rem 4vw 5rem 8vw;
  min-width: 0;
  border-right: 1px solid rgba(8,19,31,0.08);
}

/* Sidebar */
.comp-sidebar {
  position: sticky;
  top: 72px;
  background: #fff;
  align-self: start;
}

.comp-sidebar-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-sidebar-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(8,19,31,0.08);
  margin-bottom: 0.25rem;
}
.comp-sidebar-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-teal);
}

/* Sidebar cards */
.comp-sidebar-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(8,19,31,0.08);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.comp-sidebar-card:hover {
  border-color: rgba(25,195,177,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(8,19,31,0.08);
}

.comp-sidebar-card-image {
  position: relative;
  height: 110px;
  overflow: hidden;
  flex-shrink: 0;
}
.comp-sidebar-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.comp-sidebar-card:hover .comp-sidebar-card-image img { transform: scale(1.06); }

.comp-sidebar-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-midnight) 100%);
}
.comp-sidebar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(8,19,31,0.5) 100%);
  pointer-events: none;
}

.comp-sidebar-card-body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.comp-sidebar-card-tags {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  display: block;
  line-height: 1.4;
}
.comp-sidebar-card-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-midnight);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comp-sidebar-card-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  display: block;
  transition: letter-spacing 0.2s ease;
}
.comp-sidebar-card:hover .comp-sidebar-card-link { letter-spacing: 0.08em; }

/* Sidebar CTA */
.comp-sidebar-cta {
  margin-top: 0.5rem;
  padding: 1.25rem;
  background: var(--color-midnight);
  border: 1px solid rgba(25,195,177,0.12);
}
.comp-sidebar-cta p {
  font-size: 0.8rem;
  color: var(--color-grey);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.comp-sidebar-cta-btn {
  display: block;
  text-align: center;
  background: var(--color-teal);
  color: var(--color-midnight);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.comp-sidebar-cta-btn:hover { background: #14A898; }

/* Tablet: narrow sidebar */
@media (max-width: 1100px) and (min-width: 768px) {
  .comp-body-wrap { grid-template-columns: minmax(0, 1fr) 260px; }
  .comp-sidebar-card-image { height: 90px; }
  .comp-sidebar-card-title { font-size: 0.875rem; }
}

/* Mobile: sidebar moves below content, horizontal scroll */
@media (max-width: 767px) {
  .comp-body-wrap { grid-template-columns: minmax(0, 1fr); }
  .comp-body-inner {
    padding: 3rem 6vw;
    border-right: none;
    border-bottom: 1px solid rgba(8,19,31,0.08);
  }
  .comp-sidebar {
    position: relative;
    top: auto;
    background: var(--color-ivory);
    border-top: 1px solid rgba(8,19,31,0.08);
  }
  .comp-sidebar-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 2rem 6vw 1.5rem;
    scrollbar-width: none;
  }
  .comp-sidebar-inner::-webkit-scrollbar { display: none; }
  .comp-sidebar-header,
  .comp-sidebar-cta { display: none; }
  .comp-sidebar-card { min-width: 220px; flex-shrink: 0; }
}


/* Featured comparison card — spans both columns */
.jur-comp-card--featured { grid-column: 1 / -1; }
.jur-comp-card--featured .jur-comp-card-image { height: 280px; }
.jur-comp-card--featured .jur-comp-card-title { font-size: 1.25rem; }

.jur-badge--teal {
  background: var(--color-teal) !important;
  color: var(--color-midnight) !important;
  border-color: var(--color-teal) !important;
  font-weight: 700;
}

@media (max-width: 900px) {
  .jur-comp-card--featured { grid-column: auto; }
}
