/* ==========================================================================
   Calltastic 2026 — Customer Operations Agency
   Components for the finalized content & brand direction.

   Loaded after styles.css. Everything here is namespaced with .ct- so the
   existing site layout and utility classes are never redefined.

   Brand: Midnight Navy #01193a framing / White #FFFFFF content surfaces /
   Calltastic Azure #499DBF as a restrained accent.
   ========================================================================== */

:root {
  --ct-navy: #01193a;
  --ct-navy-deep: #01193a;
  --ct-navy-soft: #1B3A5C;
  --ct-azure: #499DBF;
  --ct-azure-rgb: 73, 157, 191;
  /* Brand Azure as *text* only reaches 4.9:1 on the darkest navy (#01193a)
     and drops to 3.8:1 where the navy gradients lighten toward #14395F /
     #1B3A5C, which fails WCAG AA. This lighter tint of the same hue holds
     >=5.2:1 across every navy in the palette. Used for label text on navy;
     --ct-azure-rgb stays exact brand for borders, glows and tints. */
  --ct-azure-lite: #6FB8D4;
  --ct-ink: #01193a;
  --ct-ink-soft: rgba(15, 39, 68, 0.74);
  --ct-ink-faint: rgba(15, 39, 68, 0.14);
  --ct-shell: min(100% - 48px, 1200px);
}

/* --------------------------------------------------------------------------
   Hero framing

   Section 8C forbids "generic headset-agent imagery, cubicle-heavy
   call-center photography, or overly corporate stock imagery", so the legacy
   hero photograph is replaced with a Midnight Navy + Calltastic Azure
   treatment derived from the brand palette.
   -------------------------------------------------------------------------- */

header.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #01193a 30%, rgba(1, 25, 58, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
  display: block !important;
}

header.hero::after {
  display: none !important;
}

/* Pages that suppress the hero copy still need clearance for the fixed nav. */
header.hero.hero-bare {
  min-height: auto;
  padding: 122px 0 0;
}

header.hero.hero-bare::after { display: none; }

/* Internal pages that suppress the navigation entirely. */
header.hero.hero-no-nav {
  padding-top: 34px;
}

/* --------------------------------------------------------------------------
   Navigation — seven top-level items need tighter metrics than the old menu
   -------------------------------------------------------------------------- */

.ct-nav .nav-menu { gap: 4px; }

.ct-nav .nav-link,
.ct-nav .nav-dropdown-toggle {
  font-size: 0.8rem;
  padding: 9px 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.ct-nav .nav-dropdown-toggle { border-color: transparent; }

.ct-nav .nav-dropdown-toggle:hover,
.ct-nav .nav-dropdown-toggle[aria-expanded='true'] {
  border-color: rgba(var(--ct-azure-rgb), 0.3);
}

.ct-nav .nav-cta .button {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 11px 20px;
}

/* Same backdrop-root problem as the mobile drawer: these panels sit inside
   .nav, which has its own backdrop-filter, so their blur samples an area that
   does not cover them and the 2% transparency lets hero copy read through.
   Solid fill, no blur. */
.ct-nav .nav-dropdown-menu {
  min-width: 268px;
  background: #01193a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 1240px) {
  .ct-nav .nav-link,
  .ct-nav .nav-dropdown-toggle { font-size: 0.75rem; padding: 8px 9px; }
  .ct-nav .nav-cta .button { font-size: 0.72rem; padding: 10px 15px; }
}

@media (max-width: 960px) {
  /* The drawer lives inside .nav, which has its own backdrop-filter and so
     becomes a backdrop root. The drawer is position:fixed and extends well
     past .nav's 64px box, so its own blur samples an area that does not cover
     it and the near-transparent background let the hero copy show through.
     A solid fill with no blur is what this drawer actually needs. */
  .ct-nav.nav .nav-right-group,
  .nav .nav-right-group {
    background: #01193a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Mobile drawer has to fit the deeper menu */
  .ct-nav.nav .nav-right-group.active,
  .nav .nav-right-group.active {
    max-height: min(82vh, 760px);
    overflow-y: auto;
  }

  .ct-nav .nav-link,
  .ct-nav .nav-dropdown-toggle {
    font-size: 0.92rem;
    padding: 15px 24px;
    white-space: normal;
  }

  .ct-nav .nav-dropdown { width: 100%; }

  .ct-nav .nav-dropdown-toggle {
    width: 100%;
    border-radius: 0;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid rgba(var(--ct-azure-rgb), 0.08);
  }

  .ct-nav .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(var(--ct-azure-rgb), 0.07);
    padding: 4px 0;
  }

  .ct-nav .nav-dropdown-menu.active { display: block; }

  .ct-nav .nav-dropdown-menu a {
    border-radius: 0;
    padding: 13px 38px;
    font-size: 0.88rem;
  }
}

/* --------------------------------------------------------------------------
   Section shells
   -------------------------------------------------------------------------- */

.ct-shell {
  width: var(--ct-shell);
  margin: 0 auto;
}

.ct-section {
  width: var(--ct-shell);
  margin: 0 auto;
  padding: 88px 0;
}

.ct-section-tight {
  padding: 56px 0;
}

/* White content surface. Full-bleed band inside .page-shell (overflow-x hidden). */
.ct-surface {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #ffffff;
  color: var(--ct-ink);
  padding: 88px 0;

  /* Brand Azure is only 3.0:1 against white, which fails WCAG AA for text.
     Inside light surfaces the *text* azure shifts to a deeper shade of the
     same hue (5.0:1). --ct-azure-rgb is deliberately left alone so accent
     lines, borders and tints keep the exact #499DBF. */
  --ct-azure: #2F7897;
}

.ct-surface-alt {
  background: #F4F7FA;
}

.ct-surface > .ct-shell {
  position: relative;
  z-index: 1;
}

/* Midnight Navy framing band */
.ct-frame {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--ct-navy);
  border-top: 1px solid rgba(var(--ct-azure-rgb), 0.22);
  border-bottom: 1px solid rgba(var(--ct-azure-rgb), 0.22);
  padding: 80px 0;
}

/* --------------------------------------------------------------------------
   Typography inside light surfaces
   -------------------------------------------------------------------------- */

.ct-surface h1,
.ct-surface h2,
.ct-surface h3,
.ct-surface h4,
.ct-surface strong {
  color: var(--ct-ink);
}

.ct-surface p,
.ct-surface li,
.ct-surface td,
.ct-surface dd {
  color: var(--ct-ink-soft);
}

.ct-surface .eyebrow {
  color: var(--ct-azure);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.ct-hero .eyebrow {
  color: #7995a9; /* Subdued gray-blue for the eyebrow on dark background */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.ct-surface a {
  color: var(--ct-azure);
}

/* Outline buttons on the navy framing. styles.css gives the label the exact
   brand azure, which measures 4.01-4.40:1 against the lighter parts of the
   hero and CTA navy gradients. The lighter tint restores AA (5.3-6.8:1)
   while the border keeps exact brand azure. Light surfaces are handled by
   the .ct-surface rule below, which wins on specificity. */
.button.outline {
  color: var(--ct-azure-lite);
}

.ct-surface .button {
  background: var(--ct-azure);
  color: #ffffff;
  box-shadow: 0 12px 30px -16px rgba(var(--ct-azure-rgb), 0.9);
}

.ct-surface .button:hover {
  box-shadow: 0 18px 40px -14px rgba(var(--ct-azure-rgb), 1);
}

.ct-surface .button.outline {
  background: transparent;
  color: var(--ct-azure);
  border-color: rgba(var(--ct-azure-rgb), 0.6);
}

.ct-surface .button.outline:hover {
  color: var(--ct-ink);
  border-color: var(--ct-azure);
  box-shadow: 0 12px 28px -14px rgba(var(--ct-azure-rgb), 0.55);
}

/* --------------------------------------------------------------------------
   Headers
   -------------------------------------------------------------------------- */

.ct-head {
  max-width: 820px;
  margin: 0 0 44px;
}

.ct-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ct-head h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
}

.ct-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
}

.ct-lead {
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0 0 14px;
  font-weight: 500;
}

.ct-copy {
  font-size: 1.03rem;
  line-height: 1.78;
  margin: 0 0 14px;
}

.ct-kicker {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.ct-note {
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.28);
  background: rgba(var(--ct-azure-rgb), 0.08);
  margin: 24px 0 0;
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* .ct-head-center only centres text; the action row is flex and needs telling. */
.ct-head-center .ct-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.ct-breadcrumb {
  width: var(--ct-shell);
  margin: 0 auto;
  padding: 26px 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.ct-breadcrumb a {
  color: var(--ct-azure);
  text-decoration: none;
  font-weight: 700;
}

.ct-breadcrumb a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

header.hero {
  background: #01193a !important;
  position: relative;
  overflow: hidden;
}

.ct-hero-globe {
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 60vw;
  max-width: 1400px;
  min-width: 800px;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
}

@media (max-width: 1200px) {
  .ct-hero-globe {
    right: -15%;
    width: 70vw;
  }
}

@media (max-width: 960px) {
  .ct-hero-globe {
    bottom: -10%;
    right: -25%;
    opacity: 0.4;
  }
}

@media (max-width: 600px) {
  .ct-hero-globe {
    display: none;
  }
}

.ct-hero {
  width: var(--ct-shell);
  margin: 0 auto;
  padding: 34px 0 76px;
}

.ct-hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
  color: #ffffff;
}

.ct-hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 600;
  color: #55b6d9; /* Lighter cyan blue to match design */
  max-width: 780px;
  margin: 0 0 24px;
}

.ct-hero-body {
  font-size: 1.06rem;
  line-height: 1.75;
  color: #9ab4c7; /* Lighter text for the hero paragraph */
  max-width: 720px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Generic card grids
   -------------------------------------------------------------------------- */

.ct-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ct-card {
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--ct-azure-rgb), 0.45);
  box-shadow: 0 18px 44px -20px rgba(var(--ct-azure-rgb), 0.5);
}

.ct-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.3;
}

.ct-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ct-surface .ct-card {
  border-color: var(--ct-ink-faint);
  background: #ffffff;
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-surface .ct-card:hover {
  border-color: rgba(var(--ct-azure-rgb), 0.5);
  box-shadow: 0 20px 44px -22px rgba(15, 39, 68, 0.34);
}

.ct-surface .ct-card p {
  color: var(--ct-ink-soft);
}

.ct-surface-alt .ct-card {
  background: #ffffff;
}

/* Numbered / lettered card index */
.ct-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(var(--ct-azure-rgb), 0.16);
  border: 1px solid rgba(var(--ct-azure-rgb), 0.34);
  color: var(--ct-azure);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  width: fit-content;
}

.ct-card-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-azure);
}

/* --------------------------------------------------------------------------
   Capability cards (five primary capabilities)
   -------------------------------------------------------------------------- */

.ct-cap-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-cap {
  position: relative;
  border-radius: 26px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.14), rgba(255, 255, 255, 0.04));
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
}

.ct-cap:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--ct-azure-rgb), 0.55);
  box-shadow: 0 22px 50px -22px rgba(var(--ct-azure-rgb), 0.6);
}

.ct-cap h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.28;
  color: #ffffff;
}

.ct-cap-line {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.ct-cap-more {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ct-azure);
}

.ct-surface .ct-cap {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-surface .ct-cap h3 { color: var(--ct-ink); }
.ct-surface .ct-cap-line { color: var(--ct-ink-soft); }
.ct-surface .ct-cap-more { color: var(--ct-azure); }

/* --------------------------------------------------------------------------
   Core capability lists
   -------------------------------------------------------------------------- */

.ct-caplist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 26px;
}

.ct-caplist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-caplist-1 { grid-template-columns: 1fr; }

.ct-caplist li {
  position: relative;
  padding: 12px 16px 12px 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.ct-caplist li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--ct-azure);
}

.ct-surface .ct-caplist li {
  border-color: var(--ct-ink-faint);
  background: #ffffff;
  color: var(--ct-ink);
}

.ct-surface-alt .ct-caplist li {
  background: #ffffff;
}

/* Plain bullet list */
.ct-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-bullets li {
  position: relative;
  padding-left: 26px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ct-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ct-azure);
}

.ct-surface .ct-bullets li { color: var(--ct-ink-soft); }

/* --------------------------------------------------------------------------
   Industry verticals
   -------------------------------------------------------------------------- */

.ct-vert-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-vert {
  border-radius: 26px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-surface .ct-vert {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-vert h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.3;
}

.ct-vert-includes {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.ct-vert-needs-label,
.ct-vert-exp-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-azure);
  margin-bottom: 10px;
}

.ct-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.3);
  background: rgba(var(--ct-azure-rgb), 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

/* On light surfaces the 10% azure fill tints the chip to rgb(237,245,249),
   which drags the link label down to 4.48:1 — just under AA. A white fill puts
   it back to 4.94:1; the border still reads the chip as a chip. */
.ct-surface .ct-chips li {
  color: var(--ct-ink);
  background: #ffffff;
}

.ct-chips a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.ct-chips li:has(a) {
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-chips li:has(a):hover {
  border-color: var(--ct-azure);
  background: rgba(var(--ct-azure-rgb), 0.2);
}

.ct-surface .ct-chips a { color: var(--ct-azure); }

.ct-vert-exp {
  margin: 0;
  padding-top: 4px;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Operating principles / framework rail
   -------------------------------------------------------------------------- */

.ct-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ct-rail li {
  flex: 1 1 160px;
  position: relative;
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.3);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.16), rgba(255, 255, 255, 0.03));
  text-align: center;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-rail li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ct-azure);
  font-weight: 800;
  z-index: 2;
}

.ct-surface .ct-rail li {
  background: #ffffff;
  color: var(--ct-ink);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-rail-step li {
  flex-direction: column;
  gap: 8px;
}

.ct-rail-num {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--ct-azure);
}

/* --------------------------------------------------------------------------
   Proof statistics
   -------------------------------------------------------------------------- */

.ct-proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-proof {
  border-radius: 22px;
  padding: 26px 24px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.28);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.16), rgba(255, 255, 255, 0.03));
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ct-proof:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -20px rgba(var(--ct-azure-rgb), 0.55);
}

.ct-proof-figure {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.ct-proof-client {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-azure);
}

.ct-surface .ct-proof {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-surface .ct-proof-figure { color: var(--ct-ink); }

/* --------------------------------------------------------------------------
   Pricing / delivery model table
   -------------------------------------------------------------------------- */

.sr-only-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ct-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.ct-price-table th,
.ct-price-table td {
  padding: 20px 22px;
  text-align: left;
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-price-table thead th {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-azure);
  background: rgba(var(--ct-azure-rgb), 0.12);
  white-space: nowrap;
}

.ct-price-table tbody th {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.ct-price-rate {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ct-azure);
  white-space: nowrap;
}

.ct-price-table tbody tr:last-child th,
.ct-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.ct-surface .ct-price-table {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 18px 40px -30px rgba(15, 39, 68, 0.55);
}

.ct-surface .ct-price-table th,
.ct-surface .ct-price-table td {
  border-bottom-color: var(--ct-ink-faint);
}

.ct-surface .ct-price-table tbody th { color: var(--ct-ink); }
.ct-surface .ct-price-table thead th { background: rgba(var(--ct-azure-rgb), 0.1); }

/* Stacked card view for narrow screens */
.ct-price-cards { display: none; }

.ct-price-card {
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
}

.ct-surface .ct-price-card {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
}

.ct-price-card h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.ct-price-card dl {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.ct-price-card dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-azure);
}

.ct-price-card dd {
  margin: 2px 0 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Ladder (how the five capabilities work together)
   -------------------------------------------------------------------------- */

.ct-ladder {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: ct-ladder;
}

.ct-ladder li {
  position: relative;
  padding: 20px 24px 20px 66px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
  counter-increment: ct-ladder;
}

.ct-ladder li::before {
  content: counter(ct-ladder);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--ct-azure-rgb), 0.18);
  border: 1px solid rgba(var(--ct-azure-rgb), 0.4);
  color: var(--ct-azure);
  font-size: 0.85rem;
  font-weight: 800;
}

.ct-surface .ct-ladder li {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  color: var(--ct-ink);
  box-shadow: 0 14px 34px -28px rgba(15, 39, 68, 0.5);
}

/* --------------------------------------------------------------------------
   Leadership / Built by Operators
   -------------------------------------------------------------------------- */

.ct-leader {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.ct-leader-aside {
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.28);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.16), rgba(255, 255, 255, 0.03));
}

.ct-surface .ct-leader-aside {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-leader-name {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.ct-leader-role {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ct-azure);
}

.ct-leader-bio p {
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 0 0 16px;
}

.ct-leader-bio p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Company facts
   -------------------------------------------------------------------------- */

.ct-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ct-facts li {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: center;
}

.ct-surface .ct-facts li {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  color: var(--ct-ink);
}

/* --------------------------------------------------------------------------
   Approved client logos
   -------------------------------------------------------------------------- */

.ct-logos {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 56px;
  box-shadow: 0 18px 44px -30px rgba(15, 39, 68, 0.6);
}

.ct-logos img {
  /* --s is set per logo in ct_logo_img(); see ct_client_logos() for why. */
  height: calc(54px * var(--s, 1));
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.ct-logos img:hover { opacity: 1; }

.ct-logos-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-azure);
  margin: 0 0 22px;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.ct-quote-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-quote {
  position: relative;
  border-radius: 24px;
  padding: 30px 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-surface .ct-quote {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-quote blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 500;
}

.ct-quote-attrib {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ct-azure);
}

.ct-quote-model {
  border-color: rgba(var(--ct-azure-rgb), 0.42);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.17), rgba(255, 255, 255, 0.03));
  grid-column: 1 / -1;
}

.ct-quote-model blockquote {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Case study cards / index
   -------------------------------------------------------------------------- */

.ct-cs-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-cs-tile {
  border-radius: 26px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.ct-cs-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--ct-azure-rgb), 0.5);
  box-shadow: 0 22px 50px -24px rgba(var(--ct-azure-rgb), 0.55);
}

.ct-surface .ct-cs-tile {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-cs-client {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-azure);
}

.ct-cs-tile h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.35;
}

.ct-cs-stats {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-cs-stats li {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.3);
  background: rgba(var(--ct-azure-rgb), 0.1);
  font-size: 0.83rem;
  font-weight: 700;
}

.ct-cs-more {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ct-azure);
}

.ct-surface .ct-cs-more { color: var(--ct-azure); }

/* --------------------------------------------------------------------------
   Case study detail page
   -------------------------------------------------------------------------- */

.ct-cs-hero {
  width: var(--ct-shell);
  margin: 0 auto;
  padding: 30px 0 70px;
}

.ct-cs-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  max-width: 960px;
}

.ct-cs-hero-client {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(var(--ct-azure-rgb), 0.16);
  border: 1px solid rgba(var(--ct-azure-rgb), 0.36);
  color: var(--ct-azure);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ct-cs-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 40px;
  align-items: start;
}

.ct-cs-block { margin: 0 0 44px; }
.ct-cs-block:last-child { margin-bottom: 0; }

.ct-cs-block h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: 0 0 18px;
}

.ct-cs-block p {
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 0 0 14px;
}

.ct-cs-block p:last-child { margin-bottom: 0; }

.ct-cs-results {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-cs-result {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.3);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.15), rgba(255, 255, 255, 0.03));
}

.ct-surface .ct-cs-result {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -28px rgba(15, 39, 68, 0.5);
}

.ct-cs-result-figure {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.ct-cs-result p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.ct-cs-outcome {
  border-radius: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.4);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.2), rgba(255, 255, 255, 0.04));
}

.ct-surface .ct-cs-outcome {
  background: rgba(var(--ct-azure-rgb), 0.07);
  border-color: rgba(var(--ct-azure-rgb), 0.3);
}

.ct-cs-outcome p {
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 600;
  margin: 0;
}

.ct-cs-aside {
  position: sticky;
  top: 100px;
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-surface .ct-cs-aside {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -26px rgba(15, 39, 68, 0.5);
}

.ct-cs-aside h2 {
  margin: 0;
  font-size: 1.1rem;
}

.ct-cs-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-cs-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-cs-nav a:hover {
  border-color: rgba(var(--ct-azure-rgb), 0.45);
  background: rgba(var(--ct-azure-rgb), 0.1);
}

.ct-surface .ct-cs-nav a {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  color: var(--ct-ink);
}

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */

.ct-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(150deg, var(--ct-navy-deep), var(--ct-navy) 55%, #14395F 100%);
  border-top: 1px solid rgba(var(--ct-azure-rgb), 0.24);
  padding: 84px 0;
}

.ct-cta-inner {
  width: var(--ct-shell);
  margin: 0 auto;
  text-align: center;
  max-width: 820px;
}

.ct-cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0 0 18px;
  color: #ffffff;
}

.ct-cta-inner p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 32px;
  max-width: 620px;
}

.ct-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Split panel
   -------------------------------------------------------------------------- */

.ct-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.ct-split-narrow {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.ct-panel {
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(var(--ct-azure-rgb), 0.26);
  background: linear-gradient(160deg, rgba(var(--ct-azure-rgb), 0.15), rgba(255, 255, 255, 0.035));
}

.ct-surface .ct-panel {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 16px 40px -28px rgba(15, 39, 68, 0.55);
}

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

.ct-contact {
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  padding: 30px 0 80px;
}

.ct-contact-head {
  text-align: center;
  margin-bottom: 38px;
}

.ct-contact-head h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  margin: 14px 0 16px;
}

.ct-contact-head p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Final Brand Vocabulary Hierarchy
   -------------------------------------------------------------------------- */

.ct-vocab {
  margin: 0;
  display: grid;
  gap: 12px;
}

.ct-vocab-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.ct-vocab dt {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ct-azure);
}

.ct-vocab dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
}

.ct-surface .ct-vocab-row {
  background: #ffffff;
  border-color: var(--ct-ink-faint);
  box-shadow: 0 14px 34px -28px rgba(15, 39, 68, 0.5);
}

@media (max-width: 720px) {
  .ct-vocab-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 20px;
  }
  .ct-vocab dd { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Footer additions
   -------------------------------------------------------------------------- */

.footer-descriptor {
  margin: 12px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-azure);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .ct-grid,
  .ct-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-grid-4,
  .ct-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-caplist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-cs-body { grid-template-columns: minmax(0, 1fr); }
  .ct-cs-aside { position: static; }
  .ct-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ct-section { padding: 66px 0; }
  .ct-surface,
  .ct-frame,
  .ct-cta { padding: 66px 0; }
  .ct-vert-grid,
  .ct-quote-grid,
  .ct-cs-grid,
  .ct-split,
  .ct-split-narrow,
  .ct-leader { grid-template-columns: minmax(0, 1fr); }
  .ct-leader { gap: 26px; }
  .ct-rail li:not(:last-child)::after { display: none; }

  /* Delivery model table becomes stacked cards */
  .ct-price-table { display: none; }
  .ct-price-cards { display: block; }
}

@media (max-width: 640px) {
  :root { --ct-shell: min(100% - 32px, 1200px); }
  .ct-grid,
  .ct-grid-2,
  .ct-grid-4,
  .ct-grid-5,
  .ct-cap-grid,
  .ct-caplist,
  .ct-caplist-2,
  .ct-proof-grid,
  .ct-cs-results { grid-template-columns: minmax(0, 1fr); }
  .ct-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-section { padding: 54px 0; }
  .ct-surface,
  .ct-frame,
  .ct-cta { padding: 54px 0; }
  .ct-card,
  .ct-cap,
  .ct-vert,
  .ct-quote,
  .ct-cs-tile,
  .ct-panel,
  .ct-leader-aside,
  .ct-cs-aside { padding: 24px; }
  .ct-logos { gap: 26px 34px; padding: 24px; }
  .ct-logos img { height: calc(42px * var(--s, 1)); }
  .ct-cta-actions,
  .ct-actions { flex-direction: column; align-items: stretch; }
  .ct-ladder li { padding: 18px 20px 18px 58px; }
}
