/*
Theme Name: Cyber Strategy Translator
Theme URI: https://cyberstrategytranslator.com
Author: Oxford Systems
Description: Executive-grade WordPress theme for Cyber Translator / Cyber Strategy Translator, built around the Oxford Systems Cyber Strategy Translation Framework.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: cyber-strategy-translator
*/

/* =========================================================
   Root Variables
   ========================================================= */

:root {
  --cst-navy: #071421;
  --cst-ink: #111827;
  --cst-blue: #1f4f78;
  --cst-steel: #6b7d8f;
  --cst-mist: #f3f6f8;
  --cst-white: #fff;
  --cst-line: #d8e0e7;
  --cst-gold: #b59a5b;
  --cst-max: 1180px;
  --cst-radius: 22px;
  --cst-shadow: 0 18px 45px rgba(7, 20, 33, 0.14);
}

/* =========================================================
   Base Styles
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cst-ink);
  background: var(--cst-white);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

/* =========================================================
   Layout
   ========================================================= */

.cst-container {
  width: min(var(--cst-max), calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   Header
   ========================================================= */

.cst-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cst-line);
}

.cst-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.cst-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.cst-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cst-navy), var(--cst-blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.cst-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.cst-brand-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cst-brand-sub {
  font-size: 0.82rem;
  color: var(--cst-steel);
}

/* =========================================================
   Navigation
   ========================================================= */

.cst-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
}

.cst-nav a {
  color: #253244;
  text-decoration: none;
  text-transform: uppercase;
}

.cst-nav a:hover {
  color: var(--cst-blue);
}

.cst-mobile-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 800;
}

/* =========================================================
   Buttons
   ========================================================= */

.cst-button,
.cst-button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: 0.18s ease;
}

.cst-button {
  background: var(--cst-navy);
  color: #fff;
}

.cst-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--cst-shadow);
}

.cst-button-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cst-button-outline.dark {
  border-color: var(--cst-line);
  color: var(--cst-navy);
  background: #fff;
}

/* =========================================================
   Hero
   ========================================================= */

.cst-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(31, 79, 120, 0.34), transparent 33%),
    linear-gradient(135deg, #071421, #0e263a 57%, #132f48);
  color: #fff;
  padding: 92px 0;
}

.cst-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
}

.cst-eyebrow {
  margin: 0 0 14px;
  color: var(--cst-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cst-hero h1,
.cst-page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.cst-hero p,
.cst-page-hero p {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
}

.cst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cst-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.cst-pill {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.cst-hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--cst-radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--cst-shadow);
}

.cst-hero-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Wide Hero Card */

.cst-hero-card-wide {
  width: 720px;
  max-width: 100%;
  padding: 60px;
}

.cst-hero-card-wide strong {
  display: block;
  max-width: 100%;
  font-size: 5rem;
  line-height: 1;
}

.cst-hero-card-wide p {
  max-width: 700px;
  margin-top: 32px;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* =========================================================
   Sections
   ========================================================= */

.cst-section {
  padding: 82px 0;
}

.cst-section.alt {
  background: var(--cst-mist);
}

.cst-section.dark {
  background: var(--cst-navy);
  color: #fff;
}

.cst-section-title {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cst-lede {
  max-width: 880px;
  color: #4d5b6b;
  font-size: 1.12rem;
}

.dark .cst-lede {
  color: rgba(255, 255, 255, 0.76);
}

/* =========================================================
   Grids
   ========================================================= */

.cst-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.cst-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 34px;
}

/* =========================================================
   Cards
   ========================================================= */

.cst-card {
  padding: 28px;
  border: 1px solid var(--cst-line);
  border-radius: var(--cst-radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 20, 33, 0.04);
}

.cst-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.cst-card p {
  margin: 0;
  color: #4d5b6b;
}

.cst-card ul {
  margin: 12px 0 0;
  padding-left: 19px;
  color: #4d5b6b;
}

.cst-card li {
  margin: 8px 0;
}

.cst-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--cst-navy);
  color: #fff;
  font-weight: 800;
}

/* =========================================================
   Framework
   ========================================================= */

.cst-framework {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.cst-layer {
  position: relative;
  padding: 18px;
  border: 1px solid var(--cst-line);
  border-radius: 18px;
  background: #fff;
}

.cst-layer:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 36px;
  right: -13px;
  color: var(--cst-blue);
  font-weight: 900;
}

.cst-layer span {
  display: block;
  color: var(--cst-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cst-layer h3 {
  margin: 9px 0 8px;
  font-size: 1.02rem;
}

.cst-layer p {
  margin: 0;
  color: #556477;
  font-size: 0.92rem;
}

/* =========================================================
   Quote
   ========================================================= */

.cst-quote {
  margin: 0;
  padding: 36px;
  border-left: 5px solid var(--cst-gold);
  border-radius: 0 var(--cst-radius) var(--cst-radius) 0;
  background: #fff;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

/* =========================================================
   Page Hero
   ========================================================= */

.cst-page-hero {
  background: linear-gradient(135deg, #071421, #12334e);
  color: #fff;
  padding: 74px 0;
}

.cst-page-hero.compact {
  padding: 58px 0;
}

/* =========================================================
   Offerings
   ========================================================= */

.cst-offering {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--cst-line);
}

.cst-offering:first-of-type {
  border-top: 0;
}

.cst-price {
  margin-top: 12px;
  color: var(--cst-blue);
  font-size: 1rem;
  font-weight: 800;
}

/* =========================================================
   Contact
   ========================================================= */

.cst-contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px;
  border-radius: 28px;
  background: var(--cst-navy);
  color: #fff;
}

.cst-form {
  padding: 28px;
  border: 1px solid var(--cst-line);
  border-radius: var(--cst-radius);
  background: #fff;
}

.cst-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 750;
}

.cst-form input,
.cst-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid var(--cst-line);
  border-radius: 12px;
  font: inherit;
}

.cst-form textarea {
  min-height: 116px;
}

/* =========================================================
   Footer
   ========================================================= */

.cst-footer {
  background: #050d15;
  color: rgba(255, 255, 255, 0.72);
  padding: 38px 0;
}

.cst-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cst-footer a {
  color: #fff;
  text-decoration: none;
}

.cst-footer-menu a {
  text-transform: uppercase;
}

/* =========================================================
   Footer Spacing Overrides
   ========================================================= */

.cst-footer {
  padding-top: 40px !important;
}

.cst-footer-text {
  margin: 0 0 14px 0 !important;
}

.cst-footer-menu {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.cst-footer-menu ul {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .cst-mobile-toggle {
    display: block;
  }

  .cst-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid var(--cst-line);
  }

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

  .cst-hero-grid,
  .cst-grid-2,
  .cst-offering {
    grid-template-columns: 1fr;
  }

  .cst-grid-3 {
    grid-template-columns: 1fr;
  }

  .cst-framework {
    grid-template-columns: 1fr;
  }

  .cst-layer:not(:last-child)::after {
    display: none;
  }

  .cst-contact-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cst-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cst-hero {
    padding: 70px 0;
  }

  .cst-section {
    padding: 62px 0;
  }
}

.cst-nav .cst-button,
.cst-nav .cst-button-outline,
.cst-site-header .cst-button,
.cst-site-header .cst-button-outline {
  background: #0073d8 !important;
  border-color: #0073d8 !important;
  color: #ffffff !important;
}

.cst-nav .cst-button:hover,
.cst-nav .cst-button-outline:hover,
.cst-site-header .cst-button:hover,
.cst-site-header .cst-button-outline:hover {
  background: #005fae !important;
  border-color: #005fae !important;
  color: #ffffff !important;
}

.cst-page-hero p,
.cst-hero p {
  max-width: 1050px !important;
  white-space: normal !important;
}

/* Reduce vertical gaps between homepage sections */

.cst-hero {
  padding: 56px 0 !important;
}

.cst-framework-showcase {
  padding: 48px 0 !important;
}

.cst-section {
  padding: 52px 0 !important;
}

.cst-section.dark {
  padding: 52px 0 !important;
}

/* Reduce internal spacing inside section headings and paragraphs */

.cst-section-title {
  margin-bottom: 14px !important;
}

.cst-lede {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* Reduce card/grid spacing */

.cst-grid-3,
.cst-grid-2,
.cst-framework {
  margin-top: 24px !important;
}

/* Mobile spacing */

@media (max-width: 900px) {
  .cst-hero {
    padding: 44px 0 !important;
  }

  .cst-framework-showcase,
  .cst-section,
  .cst-section.dark {
    padding: 42px 0 !important;
  }
}

.cst-footer-inner {
  display: block !important;
}

.cst-footer-logo {
  margin-bottom: 14px !important;
}

.cst-footer-text {
  margin: 0 0 18px 0 !important;
}

.cst-footer-menu {
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.cst-footer-menu ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cst-footer-contact {
  margin: 0 0 4px 0 !important;
}

.cst-footer-copy {
  margin: 0 !important;
}

.cst-nav.is-open {
    display: flex !important;
  }

/* Fix sticky header being hidden under WordPress admin bar */

.cst-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

/* When logged into WordPress, account for the admin bar */
body.admin-bar .cst-site-header {
  top: 32px !important;
}

/* Mobile admin bar is taller */
@media (max-width: 782px) {
  body.admin-bar .cst-site-header {
    top: 46px !important;
  }
}

/* Make sure logo/header content is not clipped */
.cst-site-header,
.cst-header-inner {
  overflow: visible !important;
}

.cst-header-inner {
  min-height: 78px !important;
}

.cst-nav a,
.cst-site-header nav a,
.cst-mobile-toggle {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Book a Briefing button — blended executive blue */

.cst-site-header .cst-button,
.cst-nav .cst-button {
    background: #123f63 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid rgba(217,180,95,0.18) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22) !important;
}

.cst-site-header .cst-button:hover,
.cst-nav .cst-button:hover {
    background: #185179 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: rgba(217,180,95,0.32) !important;
}

/* =========================================================
   FRONT PAGE CARDS — GOLD HIGHLIGHT STYLE
   Applies to: Executive / Technical / Organisation cards
========================================================= */

.cst-section .cst-grid-3 .cst-card {
    position: relative;
    overflow: hidden;

    border-top: 4px solid #d9b45f !important;

    background: #ffffff !important;

    border-radius: 20px !important;

    box-shadow:
        0 18px 45px rgba(7, 20, 33, 0.08) !important;
}

/* subtle gold glow at the top */

.cst-section .cst-grid-3 .cst-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        #d9b45f 0%,
        #f2d27a 50%,
        #d9b45f 100%
    );

    pointer-events: none;
}

/* card heading */

.cst-section .cst-grid-3 .cst-card h3 {
    color: #071018 !important;
}

/* card body */

.cst-section .cst-grid-3 .cst-card p {
    color: #475569 !important;
}

/* =========================================================
   THE PROBLEM PAGE — GOLD HIGHLIGHT CARDS
========================================================= */

.cst-problem-page .cst-card {
    position: relative;
    overflow: hidden;

    background: #ffffff !important;
    border-radius: 20px !important;
    border-top: 4px solid #d9b45f !important;

    box-shadow:
        0 18px 45px rgba(7, 20, 33, 0.08) !important;
}

.cst-problem-page .cst-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        #d9b45f 0%,
        #f2d27a 50%,
        #d9b45f 100%
    );

    pointer-events: none;
}

.cst-problem-page .cst-card h3 {
    color: #071018 !important;
}

.cst-problem-page .cst-card p,
.cst-problem-page .cst-card li {
    color: #475569 !important;
}

/* =========================================================
   HOW WE WORK — WIDER HORIZONTAL FIVE LAYER BOXES
========================================================= */

.cst-framework {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(240px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
}

/* Make the whole framework section wider than the normal text width */

.cst-framework-wrap,
.cst-framework-section .cst-container,
.cst-section .cst-framework {
    max-width: 1500px !important;
}

/* Individual layer boxes */

.cst-framework .cst-layer {
    min-width: 240px !important;
    min-height: 420px !important;

    padding: 30px 26px !important;

    display: flex !important;
    flex-direction: column !important;

    border-radius: 22px !important;
}

/* Layer number */

.cst-framework .cst-layer span {
    margin-bottom: 18px !important;
}

/* Layer title */

.cst-framework .cst-layer h3 {
    font-size: 1.2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
}

/* Body text */

.cst-framework .cst-layer p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin: 0 0 12px !important;
}

/* Remove arrows if they clash with wider boxes */

.cst-framework .cst-layer::after {
    display: none !important;
}

/* Tablet/mobile — stack cleanly */

@media (max-width: 1300px) {
    .cst-framework {
        grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .cst-framework {
        grid-template-columns: 1fr !important;
    }

    .cst-framework .cst-layer {
        min-height: auto !important;
    }
}

/* =========================================================
   HOW WE WORK — CENTRED NUMBERED CONTAINERS
========================================================= */

.cst-wide-container {
    width: min(1680px, calc(100% - 48px));
    margin: 0 auto;
}

.cst-layer-container-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(240px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Individual layer container */

.cst-layer-container {
    position: relative;
    overflow: hidden;

    min-height: 560px;

    padding: 36px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fafc 100%
    );

    border: 1px solid rgba(7, 20, 33, 0.08);
    border-top: 4px solid #d9b45f;
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(7, 20, 33, 0.08);
}

/* Gold highlight */

.cst-layer-container::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        #d9b45f 0%,
        #f2d27a 50%,
        #d9b45f 100%
    );

    pointer-events: none;
}

/* Number */

.cst-layer-number {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin: 0 auto 24px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #071018 0%,
        #0b2945 100%
    );

    color: #ffffff;

    font-size: 1.1rem;
    font-weight: 800;
}

/* Heading */

.cst-layer-container h3 {
    min-height: 72px;

    margin: 0 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.28rem;
    line-height: 1.22;
    letter-spacing: -0.025em;

    color: #071018;
}

/* Text */

.cst-layer-container p {
    margin: 0 0 16px;

    font-size: 0.96rem;
    line-height: 1.7;

    color: #475569;
}

.cst-layer-container p:last-child {
    margin-bottom: 0;
}

/* Optional connector arrows */

.cst-layer-container:not(:last-child)::after {
    content: "→";

    position: absolute;

    top: 38px;
    right: -18px;
    z-index: 5;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #d9b45f;
    color: #071018;

    font-weight: 900;

    box-shadow:
        0 8px 20px rgba(7, 20, 33, 0.18);
}

/* Tablet */

@media (max-width: 1300px) {

    .cst-layer-container-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    .cst-layer-container {
        min-height: auto;
    }

    .cst-layer-container:not(:last-child)::after {
        display: none;
    }
}

/* Mobile */

@media (max-width: 760px) {

    .cst-wide-container {
        width: min(100% - 32px, 100%);
    }

    .cst-layer-container-grid {
        grid-template-columns: 1fr;
    }

    .cst-layer-container {
        padding: 30px;
    }

    .cst-layer-container h3 {
        min-height: auto;
    }
}

/* =========================================================
   HOW WE WORK — FIX ARROWS BETWEEN LAYER BOXES
========================================================= */

.cst-layer-container {
    overflow: visible !important;
}

/* Keep the inner card appearance clean */
.cst-layer-container::before {
    border-radius: 24px 24px 0 0;
}

/* Proper visible connector arrows */
.cst-layer-container:not(:last-child)::after {
    content: "→";

    position: absolute;

    top: 44px;
    right: -31px;
    z-index: 20;

    width: 44px;
    height: 44px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #d9b45f;
    color: #071018;

    font-size: 1.4rem;
    font-weight: 900;

    border: 4px solid #f6f9fc;

    box-shadow:
        0 12px 28px rgba(7, 20, 33, 0.18);
}

/* Make sure the grid does not clip arrows */
.cst-layer-container-grid {
    overflow: visible !important;
}

/* Add enough spacing between cards for arrows */
.cst-layer-container-grid {
    gap: 36px !important;
}

/* =========================================================
   FRONT PAGE FRAMEWORK BOXES — COMPACT WITH GOLD TOP
========================================================= */

.cst-framework {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(180px, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
}

.cst-framework .cst-layer {
    position: relative !important;
    overflow: hidden !important;

    min-height: 0 !important;
    height: auto !important;

    padding: 28px 26px 32px !important;

    background: #ffffff !important;

    border: 1px solid rgba(7, 20, 33, 0.08) !important;
    border-top: 4px solid #d9b45f !important;
    border-radius: 20px !important;

    box-shadow:
        0 16px 38px rgba(7, 20, 33, 0.08) !important;
}

/* Gold highlight across the top */

.cst-framework .cst-layer::before {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    height: 4px !important;

    background: linear-gradient(
        90deg,
        #d9b45f 0%,
        #f2d27a 50%,
        #d9b45f 100%
    ) !important;

    pointer-events: none !important;
}

/* Number circle */

.cst-framework .cst-layer span {
    width: 42px !important;
    height: 42px !important;

    display: grid !important;
    place-items: center !important;

    margin: 0 0 22px !important;

    border-radius: 999px !important;

    background: #2f6fa3 !important;

    color: #ffffff !important;

    font-size: 0.9rem !important;
    font-weight: 800 !important;
}

/* Box heading */

.cst-framework .cst-layer h3 {
    margin: 0 0 14px !important;

    font-size: 1.25rem !important;
    line-height: 1.18 !important;

    color: #071018 !important;
}

/* Box body */

.cst-framework .cst-layer p {
    margin: 0 !important;

    font-size: 0.95rem !important;
    line-height: 1.65 !important;

    color: #475569 !important;
}

/* Remove connector arrows if inherited from other pages */

.cst-framework .cst-layer::after {
    display: none !important;
}

/* Responsive */

@media (max-width: 1200px) {
    .cst-framework {
        grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .cst-framework {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   FRONT PAGE FRAMEWORK BOXES — COMPACT WITH GOLD TOP
========================================================= */

.cst-framework {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(180px, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
}

.cst-framework .cst-layer {
    position: relative !important;
    overflow: hidden !important;

    min-height: 0 !important;
    height: auto !important;

    padding: 28px 26px 32px !important;

    background: #ffffff !important;

    border: 1px solid rgba(7, 20, 33, 0.08) !important;
    border-top: 4px solid #d9b45f !important;
    border-radius: 20px !important;

    box-shadow:
        0 16px 38px rgba(7, 20, 33, 0.08) !important;
}

/* Gold highlight across the top */

.cst-framework .cst-layer::before {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    height: 4px !important;

    background: linear-gradient(
        90deg,
        #d9b45f 0%,
        #f2d27a 50%,
        #d9b45f 100%
    ) !important;

    pointer-events: none !important;
}

/* Number circle */

.cst-framework .cst-layer span {
    width: 42px !important;
    height: 42px !important;

    display: grid !important;
    place-items: center !important;

    margin: 0 0 22px !important;

    border-radius: 999px !important;

    background: #2f6fa3 !important;

    color: #ffffff !important;

    font-size: 0.9rem !important;
    font-weight: 800 !important;
}

/* Box heading */

.cst-framework .cst-layer h3 {
    margin: 0 0 14px !important;

    font-size: 1.25rem !important;
    line-height: 1.18 !important;

    color: #071018 !important;
}

/* Box body */

.cst-framework .cst-layer p {
    margin: 0 !important;

    font-size: 0.95rem !important;
    line-height: 1.65 !important;

    color: #475569 !important;
}

/* Remove connector arrows if inherited from other pages */

.cst-framework .cst-layer::after {
    display: none !important;
}

/* Responsive */

@media (max-width: 1200px) {
    .cst-framework {
        grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .cst-framework {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   FRONT PAGE — MAKE FIVE FRAMEWORK BOXES EQUAL HEIGHT
========================================================= */

.cst-framework {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(180px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.cst-framework .cst-layer {
    height: 100% !important;
    min-height: 250px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;

    padding: 28px 26px 30px !important;

    border-top: 4px solid #d9b45f !important;
}

/* Keep number/title/text aligned consistently */

.cst-framework .cst-layer span {
    flex: 0 0 auto !important;
    margin-bottom: 22px !important;
}

.cst-framework .cst-layer h3 {
    min-height: 58px !important;
    margin-bottom: 14px !important;
}

.cst-framework .cst-layer p {
    margin-top: 0 !important;
}

/* Mobile/tablet */

@media (max-width: 1200px) {
    .cst-framework {
        grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .cst-framework {
        grid-template-columns: 1fr !important;
    }

    .cst-framework .cst-layer {
        min-height: auto !important;
    }

    .cst-framework .cst-layer h3 {
        min-height: auto !important;
    }
}

.cst-how-intro .cst-section-title {
    white-space: nowrap;
    max-width: 100%;
}

@media (max-width: 768px) {
    .cst-how-intro .cst-section-title {
        white-space: normal;
    }
}

/* Keep selected problem page title on one line */

.cst-one-line-title {
    white-space: nowrap;
    max-width: 100%;
}

@media (max-width: 768px) {
    .cst-one-line-title {
        white-space: normal;
    }
}

/* Problem page — keep this heading on one line */

.cst-problem-one-line {
    white-space: nowrap !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .cst-problem-one-line {
        white-space: normal !important;
    }
}

/* =========================================================
   FOOTER LOGO — KEEP OXFORD SYSTEMS TEXT NEXT TO LOGO
========================================================= */

.cst-footer-logo,
.cst-footer-brand,
.cst-footer .custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: auto !important;
    max-width: none !important;
}

.cst-footer-logo img,
.cst-footer-brand img,
.cst-footer .custom-logo {
    display: block !important;
    width: auto !important;
    max-width: 220px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* =========================================================
   FOOTER — OXFORD SYSTEMS LOGO + TEXT ALIGNMENT
   Add to style.css if needed
========================================================= */

.cst-footer {
    background: #050b12;
    color: #ffffff;
    padding: 52px 0;
}

.cst-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px 48px;
    align-items: start;
}

.cst-footer-brand-block {
    max-width: 760px;
}

.cst-footer-logo-link,
.cst-footer .custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    text-decoration: none !important;
}

.cst-footer-logo-link img,
.cst-footer .custom-logo {
    display: block !important;
    width: auto !important;
    max-width: 260px !important;
    height: auto !important;
    object-fit: contain !important;
}

.cst-footer-logo-fallback {
    color: #d9b45f;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cst-footer-description {
    margin: 22px 0 0;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}

.cst-footer-nav {
    justify-self: end;
}

.cst-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cst-footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
}

.cst-footer-menu a:hover {
    color: #d9b45f;
}

.cst-footer-contact {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    color: rgba(255,255,255,0.82);
}

.cst-footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.cst-footer-contact a:hover {
    color: #d9b45f;
}

.cst-footer-copy {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .cst-footer-inner {
        grid-template-columns: 1fr;
    }

    .cst-footer-nav {
        justify-self: start;
    }

    .cst-footer-menu {
        justify-content: flex-start;
    }
}

/* =========================================================
   FOOTER MENU ALIGNMENT
========================================================= */

.cst-footer-inner {
    display: block !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.cst-footer-brand-block {
    max-width: 100% !important;
}

.cst-footer-nav {
    margin-top: 24px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    justify-self: start !important;
}

.cst-footer-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px 26px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.cst-footer-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.cst-footer-menu a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

.cst-footer-menu a:hover {
    color: #d9b45f !important;
}

.cst-footer-contact {
    margin-top: 28px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
}

/* =========================================================
   FOOTER LOGO + DESCRIPTION SIDE BY SIDE
========================================================= */

.cst-footer-brand-block {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    max-width: 100% !important;
}

.cst-footer-logo-link,
.cst-footer .custom-logo-link {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
}

.cst-footer-logo-link img,
.cst-footer .custom-logo {
    width: auto !important;
    max-width: 220px !important;
    height: auto !important;
    display: block !important;
}

.cst-footer-description {
    margin: 0 !important;
    max-width: 640px !important;
    color: rgba(255,255,255,0.84) !important;
    line-height: 1.7 !important;
}

@media (max-width: 760px) {
    .cst-footer-brand-block {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
    }
}

.cst-title-one-line {
    white-space: nowrap !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .cst-title-one-line {
        white-space: normal !important;
    }
}

.cst-title-one-line {
    white-space: nowrap !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .cst-title-one-line {
        white-space: normal !important;
    }
}

/* =========================================================
   WHO WE WORK WITH — GOLD EDGING ON LEADERSHIP BOXES
========================================================= */

.cst-who-leadership-section .cst-card {
    position: relative !important;
    overflow: hidden !important;

    border: 1px solid rgba(217, 180, 95, 0.45) !important;
    border-top: 5px solid #d9b45f !important;

    border-radius: 22px !important;

    box-shadow:
        0 18px 45px rgba(7, 20, 33, 0.08),
        inset 0 1px 0 rgba(217, 180, 95, 0.18) !important;
}

/* Gold top highlight */

.cst-who-leadership-section .cst-card::before {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    height: 5px !important;

    background: linear-gradient(
        90deg,
        #d9b45f 0%,
        #f2d27a 50%,
        #d9b45f 100%
    ) !important;

    pointer-events: none !important;
}

/* Optional subtle gold glow */

.cst-who-leadership-section .cst-card::after {
    content: "" !important;

    position: absolute !important;

    top: -40px !important;
    right: -40px !important;

    width: 140px !important;
    height: 140px !important;

    background: radial-gradient(
        circle,
        rgba(217, 180, 95, 0.16),
        transparent 68%
    ) !important;

    pointer-events: none !important;
}

/* =========================================================
   MOBILE — GOLD EDGING ON WHO WE WORK WITH LEADERSHIP BOXES
========================================================= */

@media (max-width: 768px) {

    .cst-who-leadership-section .cst-card {
        position: relative !important;
        overflow: hidden !important;

        border: 1px solid rgba(217, 180, 95, 0.45) !important;
        border-top: 5px solid #d9b45f !important;

        border-radius: 22px !important;

        box-shadow:
            0 16px 38px rgba(7, 20, 33, 0.10),
            inset 0 1px 0 rgba(217, 180, 95, 0.18) !important;
    }

    .cst-who-leadership-section .cst-card::before {
        content: "" !important;

        position: absolute !important;

        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        height: 5px !important;

        background: linear-gradient(
            90deg,
            #d9b45f 0%,
            #f2d27a 50%,
            #d9b45f 100%
        ) !important;

        pointer-events: none !important;
    }

    .cst-who-leadership-section .cst-card::after {
        content: "" !important;

        position: absolute !important;

        top: -42px !important;
        right: -42px !important;

        width: 130px !important;
        height: 130px !important;

        background: radial-gradient(
            circle,
            rgba(217, 180, 95, 0.16),
            transparent 68%
        ) !important;

        pointer-events: none !important;
    }
}

.cst-credentials-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.cst-credentials-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #243b5a;
    border-left: 4px solid #d6b15f;
    padding-left: 28px;
}

.cst-credentials-quote p {
    margin-top: 0;
}

.cst-quote-attribution {
    margin-top: 24px;
    font-weight: 700;
    color: #08233f;
}

@media (max-width: 800px) {
    .cst-credentials-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cst-credentials-quote {
        padding-left: 20px;
    }
}

.cst-contact-band .cst-button,
.cst-contact-band a.cst-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cst-contact-band .cst-button {
    line-height: 1.2;
}

.cst-page-hero {
  padding-bottom: 48px;
}










  







   

   







