/*
Theme Name: CC Capital Formation V1.0
Theme URI: https://www.commonwealthcapital.com/
Author: BridgeBrain Labs
Author URI: https://bridgebrain.ai/
Description: Client change-request release (v1.4.3, approved home hero background): Times New Roman site-wide, revised Home, FAS, Services and Team layouts, footer blurb removed. A refined, responsive WordPress theme for Commonwealth Capital and the Financial Architect System with full-width editor-driven page content. Corporate, clean, Wall Street-inspired styling with robust Customizer controls, layout choices, block editor support, boxed/full-width options, menu positions, page templates, widget areas, and polished content presentation.
Version: 1.4.3
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cc-capital-formation
Tags: custom-logo, custom-background, custom-menu, featured-images, block-styles, wide-blocks, editor-style, one-column, two-columns, right-sidebar, left-sidebar, full-width-template, threaded-comments, translation-ready
*/

:root {
  --cc-navy: #061440;
  --cc-navy-2: #0a1b4f;
  --cc-ink: #101828;
  --cc-text: #f5f7ff;
  --cc-muted: rgba(245, 247, 255, .76);
  --cc-blue: #00aeef;
  --cc-blue-soft: #73d7ff;
  --cc-gold: #c9a45c;
  --cc-surface: #ffffff;
  --cc-surface-muted: #f5f7fb;
  --cc-border: rgba(255,255,255,.16);
  --cc-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  --cc-radius: 20px;
  --cc-content: 1160px;
  --cc-narrow: 780px;
  --cc-font-head: 'Times New Roman', Times, serif;
  --cc-font-body: 'Times New Roman', Times, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cc-font-body);
  font-size: 17px;
  color: var(--cc-ink);
  background: #f6f7fb;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.custom-background { background-size: cover; background-attachment: fixed; }
a { color: var(--cc-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover, a:focus { color: #007eb8; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(0,174,239,.65); outline-offset: 4px; }

.cc-shell { min-height: 100vh; display: flex; flex-direction: column; }
.cc-container { width: min(calc(100% - 40px), var(--cc-content)); margin-inline: auto; }
.cc-container-narrow { width: min(calc(100% - 40px), var(--cc-narrow)); margin-inline: auto; }
body.cc-layout-boxed .cc-site-frame { width: min(100%, 1280px); margin: 0 auto; background: #fff; box-shadow: 0 0 50px rgba(0,0,0,.12); }
body.cc-layout-boxed { background: #dfe4ee; }

/* =====================================================
   SITE HEADER — v1.2 Complete Rewrite
   Compact, professional, never wraps, always left-brand
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 16, 54, .97);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.admin-bar .site-header { top: 32px; }

.header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: nowrap;
}

/* ---- Brand (logo + name) — always left ---- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}
.brand img,
.brand .custom-logo {
  width: auto !important;
  height: 36px !important;
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand .custom-logo-link { display: flex; align-items: center; }
.brand-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.site-title {
  margin: 0;
  font-family: var(--cc-font-head);
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
  white-space: nowrap;
}
.site-description {
  margin: 0;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- Navigation — right side, compact ---- */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.main-navigation li { position: relative; }
.main-navigation a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 7px 10px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .15s, color .15s;
  line-height: 1.2;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: rgba(255,255,255,.09);
  color: #fff;
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: rgba(0,174,239,.14);
  color: #fff;
}

/* Dropdown */
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  padding: 6px;
  background: #071540;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  z-index: 200;
}
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { display: flex; flex-direction: column; }
.main-navigation ul ul a {
  width: 100%;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .84rem;
}

/* Header CTA button */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--cc-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: .83rem;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,174,239,.3);
}
.header-cta:hover { background: #00c2ff; box-shadow: 0 6px 20px rgba(0,174,239,.4); color: #fff !important; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: #fff;
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  font-size: .88rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.menu-toggle:hover { background: rgba(255,255,255,.13); }

/* Override centered/left variants — always keep row layout */
body.cc-menu-centered .header-inner,
body.cc-menu-left .header-inner { flex-direction: row !important; }
body.cc-menu-centered .main-navigation ul { justify-content: flex-end; flex-wrap: nowrap; }

.site-main { flex: 1; }
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cc-text);
  background:
    radial-gradient(circle at 78% 20%, rgba(0,174,239,.22), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(201,164,92,.14), transparent 38%),
    linear-gradient(145deg, var(--cc-navy), #07133b 62%, #030916);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero:before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 84%); pointer-events: none; }
.hero:after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,174,239,.7), transparent); }
.hero-inner { position: relative; padding: clamp(70px, 10vw, 140px) 0; display: grid; gap: 30px; align-items: center; }
.hero-centered { text-align: center; justify-items: center; }
.eyebrow { color: var(--cc-blue-soft); font-weight: 750; letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; }
.hero h1, .page-title { margin: 0; font-family: var(--cc-font-head); font-size: clamp(2.65rem, 6vw, 5.75rem); line-height: .96; letter-spacing: -.06em; font-weight: 400; }
.hero-subtitle { margin: 0; color: var(--cc-muted); font-size: clamp(1.03rem, 1.5vw, 1.24rem); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: inherit; }
.cc-button, .wp-block-button__link, input[type='submit'], button[type='submit'] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--cc-blue), #63dcff); color: #061440 !important; text-decoration: none; font-weight: 800; box-shadow: 0 14px 34px rgba(0,174,239,.22); }
.cc-button.secondary, .is-style-outline .wp-block-button__link { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.24); box-shadow: none; }

.content-wrap { padding: clamp(46px, 7vw, 84px) 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(26px, 4vw, 56px); align-items: start; }
body.cc-sidebar-left .content-grid { grid-template-columns: 320px minmax(0, 1fr); }
body.cc-sidebar-left .content-area { order: 2; }
body.cc-sidebar-left .widget-area { order: 1; }
body.cc-no-sidebar .content-grid, .page-template-page-fullwidth .content-grid, .page-template-page-boxed .content-grid { display: block; }
body.cc-no-sidebar .widget-area, .page-template-page-fullwidth .widget-area, .page-template-page-boxed .widget-area { display: none; }
article.page, article.post, .cc-card { background: var(--cc-surface); border: 1px solid rgba(6,20,64,.08); border-radius: var(--cc-radius); box-shadow: 0 18px 45px rgba(16,24,40,.08); overflow: hidden; }
.entry-content { padding: clamp(26px, 5vw, 56px); }
.page-template-page-fullwidth article.page { background: transparent; border: 0; box-shadow: none; }
.page-template-page-fullwidth .entry-content { padding: 0; }
.page-template-page-boxed .content-area { width: min(calc(100% - 40px), 900px); margin: 0 auto; }
.entry-header { padding: clamp(24px, 4vw, 42px) clamp(26px, 5vw, 56px) 0; }
.entry-title { margin: 0; font-family: var(--cc-font-head); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; color: #07133b; }
.entry-meta, .entry-footer { color: #667085; font-size: .92rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: #07133b; line-height: 1.1; letter-spacing: -.035em; }
.entry-content h2 { font-family: var(--cc-font-head); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 400; }
.entry-content p { color: #344054; }
.entry-content .alignwide { max-width: min(100%, 1160px); margin-left: auto; margin-right: auto; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-block-cover, .wp-block-group.has-background { border-radius: var(--cc-radius); }
.wp-block-column { border-radius: 16px; }
.wp-block-image img { border-radius: 18px; }
.wp-block-quote { border-left: 4px solid var(--cc-blue); padding-left: 22px; color: #344054; }
.wp-block-table table { border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border-color: #d0d5dd; padding: 12px; }

.cc-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cc-feature { padding: 26px; background: #fff; border: 1px solid rgba(6,20,64,.08); border-radius: 18px; box-shadow: 0 16px 40px rgba(16,24,40,.06); }
.cc-feature strong { display: block; color: #07133b; font-size: 1.08rem; margin-bottom: 8px; }
.cc-section-dark { background: linear-gradient(145deg, #061440, #081943); color: #fff; border-radius: var(--cc-radius); padding: clamp(32px, 6vw, 64px); }
.cc-section-dark p, .cc-section-dark h2, .cc-section-dark h3 { color: rgba(255,255,255,.88); }
.cc-section-dark h2, .cc-section-dark h3 { color: #fff; }

.widget-area { display: grid; gap: 20px; }
.widget { background: #fff; border: 1px solid rgba(6,20,64,.08); border-radius: 18px; padding: 22px; box-shadow: 0 16px 40px rgba(16,24,40,.06); }
.widget-title { margin: 0 0 12px; font-family: var(--cc-font-head); color: #07133b; font-size: 1.4rem; }
.widget ul { margin: 0; padding-left: 1.2rem; }

/* ---- Footer — v1.3 ---- */
.site-footer {
  margin-top: auto;
  background: #040e2e;
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Two (or three) columns: brand-col grows, nav-col sits far right */
.footer-main {
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}
/* If middle widget area is present, use three columns */
.footer-main:has(.footer-widgets-mid) {
  grid-template-columns: 1fr 1fr auto;
}

/* Left col */
.footer-brand-col { display: flex; flex-direction: column; gap: 18px; max-width: 420px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.footer-brand img,
.footer-brand .custom-logo {
  height: 36px !important;
  width: auto !important;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
.footer-brand .custom-logo-link { display: flex; align-items: center; }

.footer-title {
  font-family: var(--cc-font-head);
  font-size: 1.35rem;
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.footer-widget-area { margin-top: 4px; }

/* Right col — vertical nav */
.footer-nav-col { text-align: right; }

.footer-nav-heading {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin: 0 0 16px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-nav-list li { display: block; }
.footer-nav-list a {
  display: inline-block;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.5;
  transition: color .15s;
  white-space: nowrap;
}
.footer-nav-list a:hover { color: #fff; }

/* Middle widget columns (optional) */
.footer-widgets-mid { display: grid; gap: 24px; }

/* Bottom legal bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.42);
  line-height: 1.55;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 720px) {
  .footer-main,
  .footer-main:has(.footer-widgets-mid) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-nav-col { text-align: left; }
  .footer-nav-list { align-items: flex-start; }
}

.comment-list { padding-left: 0; list-style: none; }
.comment-body { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 14px; border: 1px solid rgba(6,20,64,.08); }
input[type='text'], input[type='email'], input[type='url'], input[type='password'], input[type='search'], textarea, select { width: 100%; border: 1px solid #d0d5dd; border-radius: 14px; padding: 13px 14px; background: #fff; color: #101828; }
label { font-weight: 700; color: #344054; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-navigation ul {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,16,54,.97);
    padding: 72px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    overflow-y: auto;
    z-index: 99;
  }
  .main-navigation.toggled ul { display: flex; }
  .main-navigation a { font-size: 1.1rem; padding: 12px 16px; width: 100%; border-radius: 10px; }
  .main-navigation ul ul { position: static; display: none !important; flex-direction: column; background: rgba(255,255,255,.05); border-radius: 10px; margin: 4px 0 4px 12px; box-shadow: none; border: none; padding: 4px; }
  .main-navigation li:hover > ul, .main-navigation li:focus-within > ul { display: flex !important; }
  .header-inner, body.cc-menu-centered .header-inner, body.cc-menu-left .header-inner { flex-direction: row !important; }
  .content-grid, body.cc-sidebar-left .content-grid { grid-template-columns: 1fr; }
  body.cc-sidebar-left .content-area, body.cc-sidebar-left .widget-area { order: initial; }
  .footer-main { grid-template-columns: 1fr; }
  .cc-feature-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .cc-container { width: min(calc(100% - 28px), var(--cc-content)); } .hero h1, .page-title { font-size: clamp(2.35rem, 16vw, 4.25rem); } .entry-content, .entry-header { padding: 24px; } }

/* =============================================================
   CC CAPITAL FORMATION — CONTENT PAGES EXTENSION v1.1
   ============================================================= */

/* ---- Shared Section Utilities ---- */
.cc-section { padding: clamp(52px,8vw,100px) 0; }
.cc-section-alt { background: var(--cc-surface-muted); }
.cc-section-dark2 { background: linear-gradient(145deg,#061440,#081943); color:#fff; }
.cc-section-dark2 h2,.cc-section-dark2 h3,.cc-section-dark2 p { color:rgba(255,255,255,.88); }
.cc-section-dark2 h2,.cc-section-dark2 h3 { color:#fff; }
.cc-section-gold { background:linear-gradient(135deg,#0a1040 0%,#1a2460 60%,#0d1a4a 100%); }
.cc-eyebrow { color:var(--cc-blue); font-weight:750; letter-spacing:.16em; text-transform:uppercase; font-size:.76rem; margin:0 0 14px; display:block; }
.cc-eyebrow-gold { color:var(--cc-gold); font-weight:750; letter-spacing:.16em; text-transform:uppercase; font-size:.76rem; margin:0 0 14px; display:block; }
.cc-section-title { font-family:var(--cc-font-head); font-size:clamp(2rem,4vw,3.2rem); line-height:1.05; letter-spacing:-.04em; color:#07133b; margin:0 0 18px; }
.cc-section-title.light { color:#fff; }
.cc-section-lead { font-size:clamp(1rem,1.5vw,1.2rem); color:#344054; max-width:760px; margin:0 0 48px; line-height:1.7; }
.cc-section-lead.light { color:rgba(255,255,255,.8); }
.cc-section-head-centered { text-align:center; }
.cc-section-head-centered .cc-section-lead { margin-left:auto; margin-right:auto; }
.cc-divider { width:60px; height:3px; background:linear-gradient(90deg,var(--cc-blue),var(--cc-gold)); border-radius:3px; margin:0 0 26px; }
.cc-divider-center { margin:0 auto 26px; }

/* ---- Stat Bar ---- */
.cc-stat-bar { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.12); border-radius:18px; overflow:hidden; }
.cc-stat-item { text-align:center; padding:28px 20px; background:rgba(255,255,255,.06); }
.cc-stat-num { font-family:var(--cc-font-head); font-size:clamp(2.4rem,5vw,3.8rem); color:#fff; letter-spacing:-.04em; line-height:1; }
.cc-stat-label { font-size:.82rem; color:rgba(255,255,255,.68); text-transform:uppercase; letter-spacing:.1em; margin-top:6px; }
@media(max-width:720px){ .cc-stat-bar{grid-template-columns:repeat(2,1fr);} }
@media(max-width:480px){ .cc-stat-bar{grid-template-columns:1fr;} }

/* ---- Home Sections ---- */
.home-problem { padding:clamp(52px,8vw,90px) 0; background:#fff; }
.home-problem-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:center; }
.home-problem-visual { display:grid; gap:16px; }
.home-problem-card { background:var(--cc-surface-muted); border:1px solid rgba(6,20,64,.09); border-radius:18px; padding:24px; display:flex; gap:16px; align-items:flex-start; }
.home-problem-card .hpc-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0; }
.home-problem-card .hpc-icon.red { background:rgba(220,38,38,.1); }
.home-problem-card .hpc-icon.gold { background:rgba(201,164,92,.15); }
.home-problem-card .hpc-icon.blue { background:rgba(0,174,239,.1); }
.home-problem-card h4 { margin:0 0 6px; font-size:1rem; color:#07133b; }
.home-problem-card p { margin:0; font-size:.92rem; color:#667085; line-height:1.55; }
.home-solution { padding:clamp(52px,8vw,90px) 0; background:linear-gradient(145deg,#061440,#07133b 65%,#040e2f); color:#fff; }
.home-sol-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:52px; }
.home-sol-card { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:20px; padding:30px 26px; }
.home-sol-card h3 { margin:0 0 10px; font-size:1.18rem; color:#fff; }
.home-sol-card p { margin:0; font-size:.93rem; color:rgba(255,255,255,.75); line-height:1.6; }
.home-sol-num { font-family:var(--cc-font-head); font-size:3rem; color:var(--cc-gold); line-height:1; margin-bottom:12px; }
@media(max-width:900px){ .home-problem-grid,.home-sol-grid{grid-template-columns:1fr;} }

/* ---- About Page ---- */
.about-hero-wrap { background:linear-gradient(145deg,#061440,#07133b 65%,#030b29); color:#fff; padding:clamp(60px,9vw,110px) 0; }
.about-mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,6vw,80px); align-items:center; }
.about-mission-img { border-radius:24px; overflow:hidden; background:linear-gradient(135deg,#061440,#0d2060); min-height:360px; display:flex; align-items:center; justify-content:center; }
.about-mission-img img { width:100%; height:100%; object-fit:cover; }
.about-values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.about-value-card { background:#fff; border:1px solid rgba(6,20,64,.08); border-radius:20px; padding:30px 26px; box-shadow:0 14px 38px rgba(16,24,40,.06); }
.about-value-icon { font-size:2rem; margin-bottom:14px; display:block; }
.about-value-card h3 { margin:0 0 10px; color:#07133b; font-size:1.15rem; }
.about-value-card p { margin:0; color:#667085; font-size:.93rem; line-height:1.6; }
.about-timeline { position:relative; padding-left:28px; border-left:2px solid rgba(0,174,239,.25); }
.about-tl-item { margin-bottom:36px; position:relative; }
.about-tl-item:last-child { margin-bottom:0; }
.about-tl-dot { width:14px; height:14px; border-radius:50%; background:var(--cc-blue); position:absolute; left:-35px; top:4px; box-shadow:0 0 0 4px rgba(0,174,239,.15); }
.about-tl-year { font-weight:800; color:var(--cc-blue); font-size:.85rem; letter-spacing:.08em; }
.about-tl-item h4 { margin:4px 0 6px; color:#07133b; font-size:1.05rem; }
.about-tl-item p { margin:0; color:#667085; font-size:.92rem; line-height:1.6; }
@media(max-width:860px){ .about-mission-grid,.about-values-grid{grid-template-columns:1fr;} }

/* ---- Team Page ---- */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.team-card { background:#fff; border:1px solid rgba(6,20,64,.08); border-radius:22px; overflow:hidden; box-shadow:0 18px 48px rgba(16,24,40,.07); transition:transform .25s ease,box-shadow .25s ease; }
.team-card:hover { transform:translateY(-4px); box-shadow:0 28px 64px rgba(16,24,40,.12); }
.team-photo { width:100%; aspect-ratio:1; overflow:hidden; background:linear-gradient(135deg,#061440 0%,#0d2060 50%,#1a3a8f 100%); position:relative; }
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:top center; }
.team-photo-initials { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:var(--cc-font-head); font-size:3.4rem; color:rgba(255,255,255,.35); letter-spacing:-.04em; }
.team-photo-gradient { position:absolute; bottom:0; left:0; right:0; height:80px; background:linear-gradient(to top,rgba(6,20,64,.6),transparent); }
.team-info { padding:24px 26px; }
.team-name { font-family:var(--cc-font-head); font-size:1.35rem; color:#07133b; margin:0 0 4px; letter-spacing:-.03em; }
.team-title { font-size:.82rem; font-weight:750; color:var(--cc-gold); text-transform:uppercase; letter-spacing:.12em; margin:0 0 14px; }
.team-excerpt { font-size:.92rem; color:#667085; line-height:1.6; margin:0 0 16px; }
.team-toggle { display:inline-flex; align-items:center; gap:6px; font-size:.85rem; font-weight:700; color:var(--cc-blue); background:none; border:none; cursor:pointer; padding:0; }
.team-toggle:hover { color:#007eb8; }
.team-toggle svg { transition:transform .25s ease; }
.team-toggle.open svg { transform:rotate(180deg); }
.team-bio-full { display:none; margin-top:16px; padding-top:16px; border-top:1px solid rgba(6,20,64,.08); font-size:.92rem; color:#344054; line-height:1.72; }
.team-bio-full p { margin:0 0 12px; }
.team-bio-full p:last-child { margin-bottom:0; }
.team-bio-full.open { display:block; }
.team-intro-bar { background:linear-gradient(145deg,#061440,#07133b 65%,#030b29); color:#fff; padding:clamp(60px,9vw,100px) 0; }
.team-cta-bar { background:linear-gradient(135deg,#061440,#0a1b55); border-radius:24px; padding:clamp(40px,6vw,70px); text-align:center; margin:clamp(50px,7vw,90px) 0; }
.team-cta-bar h2 { color:#fff; margin:0 0 14px; }
.team-cta-bar p { color:rgba(255,255,255,.78); max-width:620px; margin:0 auto 28px; }
@media(max-width:960px){ .team-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:600px){ .team-grid{grid-template-columns:1fr;} }
/* Team page layout normalization: keep all leadership cards in a clean, equal grid.
   This also overrides older seeded inline styles that made the final card span/widen. */
.team-grid { align-items:stretch; }
.team-grid .team-card { min-width:0; height:100%; }
.team-grid .team-card[style*="grid-column"] { grid-column:auto !important; max-width:none !important; margin:0 !important; }
.team-grid .team-card[style*="grid-column"] .team-photo { aspect-ratio:1 !important; }
.team-grid .team-card[style*="grid-column"] .team-photo img { width:100%; height:100%; object-fit:cover; object-position:top center; }


/* ---- FAS Page ---- */
.fas-hero { background:linear-gradient(145deg,#061440 0%,#07133b 55%,#030b29 100%); color:#fff; padding:clamp(70px,10vw,130px) 0; position:relative; overflow:hidden; }
.fas-hero:before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(0,174,239,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(0,174,239,.04) 1px,transparent 1px); background-size:60px 60px; }
.fas-hero-inner { position:relative; }
.fas-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(0,174,239,.12); border:1px solid rgba(0,174,239,.25); border-radius:999px; padding:6px 16px; font-size:.82rem; font-weight:750; color:var(--cc-blue-soft); letter-spacing:.1em; text-transform:uppercase; margin-bottom:22px; }
.fas-headline { font-family:var(--cc-font-head); font-size:clamp(2.8rem,6vw,5.5rem); line-height:.96; letter-spacing:-.055em; color:#fff; margin:0 0 22px; }
.fas-headline span { color:var(--cc-gold); }
.fas-subhead { font-size:clamp(1.05rem,1.6vw,1.28rem); color:rgba(255,255,255,.78); max-width:700px; line-height:1.68; margin:0 0 38px; }
.fas-hero-actions { display:flex; flex-wrap:wrap; gap:14px; }
.fas-guarantee { display:inline-flex; align-items:center; gap:8px; color:rgba(255,255,255,.6); font-size:.84rem; margin-top:16px; }
.fas-guarantee svg { color:var(--cc-gold); }
.fas-problem { background:#fff; padding:clamp(60px,9vw,100px) 0; }
.fas-problem-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(40px,6vw,80px); align-items:start; }
.fas-stat-callout { background:linear-gradient(135deg,#061440,#0a1b55); border-radius:22px; padding:36px 32px; color:#fff; }
.fas-big-stat { font-family:var(--cc-font-head); font-size:clamp(3rem,6vw,5rem); color:var(--cc-gold); line-height:1; margin-bottom:6px; }
.fas-big-label { font-size:.9rem; color:rgba(255,255,255,.72); line-height:1.5; }
.fas-stat-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:22px; }
.fas-stat-mini { background:rgba(255,255,255,.07); border-radius:14px; padding:18px 16px; text-align:center; }
.fas-stat-mini .num { font-family:var(--cc-font-head); font-size:2rem; color:#fff; }
.fas-stat-mini .lbl { font-size:.78rem; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.08em; margin-top:4px; }
.fas-overhang { background:rgba(201,164,92,.08); border:1px solid rgba(201,164,92,.25); border-radius:14px; padding:18px 20px; margin-top:22px; }
.fas-overhang strong { color:var(--cc-gold); }
.fas-solution { background:linear-gradient(145deg,#061440,#07133b 65%,#040e30); color:#fff; padding:clamp(60px,9vw,100px) 0; }
.fas-how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:52px; }
.fas-how-card { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); border-radius:20px; padding:32px 26px; }
.fas-how-card h3 { color:#fff; margin:0 0 12px; font-size:1.12rem; }
.fas-how-card p { color:rgba(255,255,255,.72); font-size:.93rem; line-height:1.6; margin:0; }
.fas-step-num { font-family:var(--cc-font-head); font-size:3.5rem; color:rgba(0,174,239,.25); line-height:1; margin-bottom:14px; }
.fas-includes { background:#fff; padding:clamp(60px,9vw,100px) 0; }
.fas-includes-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; margin-top:48px; }
.fas-include-item { display:flex; gap:16px; align-items:flex-start; background:var(--cc-surface-muted); border:1px solid rgba(6,20,64,.07); border-radius:18px; padding:24px; }
.fas-include-icon { width:46px; height:46px; border-radius:14px; background:linear-gradient(135deg,rgba(0,174,239,.1),rgba(0,174,239,.05)); display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0; }
.fas-include-item h4 { margin:0 0 6px; color:#07133b; font-size:1rem; }
.fas-include-item p { margin:0; color:#667085; font-size:.9rem; line-height:1.55; }
.fas-guarantee-bar { background:linear-gradient(135deg,#061440,#0a1b55); border-radius:24px; padding:clamp(40px,6vw,64px); text-align:center; margin:clamp(40px,6vw,72px) 0; }
.fas-guarantee-bar h2 { color:#fff; margin:0 0 14px; }
.fas-guarantee-bar p { color:rgba(255,255,255,.78); max-width:640px; margin:0 auto 28px; }
.fas-cta-section { background:var(--cc-surface-muted); padding:clamp(60px,9vw,100px) 0; }
.fas-cta-card { background:linear-gradient(145deg,#061440 0%,#07133b 60%,#030b29 100%); border-radius:24px; padding:clamp(48px,7vw,80px); text-align:center; position:relative; overflow:hidden; }
.fas-cta-card:before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 80% 20%,rgba(0,174,239,.15),transparent 50%),radial-gradient(circle at 20% 80%,rgba(201,164,92,.1),transparent 40%); }
.fas-cta-card > * { position:relative; }
.fas-cta-card h2 { color:#fff; font-size:clamp(1.8rem,4vw,3rem); margin:0 0 16px; }
.fas-cta-card p { color:rgba(255,255,255,.78); max-width:640px; margin:0 auto 32px; font-size:1.05rem; }
@media(max-width:900px){ .fas-problem-grid,.fas-how-grid,.fas-includes-grid{grid-template-columns:1fr;} }

/* ---- Services Page ---- */
.services-hero { background:linear-gradient(145deg,#061440,#07133b 65%,#030b29); color:#fff; padding:clamp(70px,10vw,120px) 0; }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card { background:#fff; border:1px solid rgba(6,20,64,.08); border-radius:22px; padding:32px 28px; box-shadow:0 14px 38px rgba(16,24,40,.06); }
.service-icon { width:56px; height:56px; border-radius:16px; background:linear-gradient(135deg,rgba(0,174,239,.1),rgba(0,174,239,.04)); display:flex; align-items:center; justify-content:center; font-size:1.8rem; margin-bottom:20px; }
.service-card h3 { margin:0 0 12px; color:#07133b; font-size:1.15rem; }
.service-card p { margin:0; color:#667085; font-size:.93rem; line-height:1.65; }
.service-card ul { margin:14px 0 0; padding-left:18px; color:#667085; font-size:.9rem; line-height:1.8; }
.service-process { background:linear-gradient(145deg,#061440,#081943); color:#fff; padding:clamp(60px,9vw,100px) 0; }
.service-process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:52px; position:relative; }
.service-process-steps:before { content:''; position:absolute; top:32px; left:12.5%; right:12.5%; height:2px; background:linear-gradient(90deg,rgba(0,174,239,.3),var(--cc-gold),rgba(0,174,239,.3)); }
.sps-item { text-align:center; padding:0 18px; }
.sps-num { width:64px; height:64px; border-radius:50%; background:linear-gradient(135deg,var(--cc-blue),#43d1ff); display:flex; align-items:center; justify-content:center; font-family:var(--cc-font-head); font-size:1.6rem; color:#061440; font-weight:900; margin:0 auto 20px; position:relative; z-index:1; }
.sps-item h4 { color:#fff; font-size:1rem; margin:0 0 8px; }
.sps-item p { color:rgba(255,255,255,.68); font-size:.88rem; line-height:1.55; margin:0; }
@media(max-width:900px){ .services-grid{grid-template-columns:repeat(2,1fr);} .service-process-steps{grid-template-columns:repeat(2,1fr);} .service-process-steps:before{display:none;} }
@media(max-width:560px){ .services-grid,.service-process-steps{grid-template-columns:1fr;} }

/* ---- Contact Page ---- */
.contact-hero { background:linear-gradient(145deg,#061440,#07133b 65%,#030b29); color:#fff; padding:clamp(60px,9vw,110px) 0; }
.contact-layout { display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(36px,5vw,70px); align-items:start; padding:clamp(52px,8vw,90px) 0; }
.contact-form-wrap { background:#fff; border-radius:22px; padding:clamp(28px,4vw,48px); box-shadow:0 20px 56px rgba(16,24,40,.08); border:1px solid rgba(6,20,64,.07); }
.contact-form-wrap h2 { font-family:var(--cc-font-head); color:#07133b; margin:0 0 8px; font-size:1.9rem; }
.contact-form-wrap p.sub { color:#667085; margin:0 0 28px; font-size:.95rem; }
.cf-field { margin-bottom:20px; }
.cf-field label { display:block; font-weight:700; color:#344054; font-size:.9rem; margin-bottom:6px; }
.cf-field input, .cf-field textarea, .cf-field select { width:100%; border:1px solid #d0d5dd; border-radius:12px; padding:13px 16px; font-size:.95rem; color:#101828; background:#fff; transition:border-color .2s,box-shadow .2s; }
.cf-field input:focus, .cf-field textarea:focus { border-color:var(--cc-blue); outline:none; box-shadow:0 0 0 3px rgba(0,174,239,.12); }
.cf-field textarea { min-height:130px; resize:vertical; }
.cf-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.cf-submit { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:14px 28px; border-radius:999px; border:0; cursor:pointer; background:linear-gradient(135deg,var(--cc-blue),#63dcff); color:#061440 !important; font-weight:800; font-size:1rem; box-shadow:0 12px 28px rgba(0,174,239,.22); width:100%; transition:transform .2s,box-shadow .2s; }
.cf-submit:hover { transform:translateY(-2px); box-shadow:0 18px 36px rgba(0,174,239,.28); }
.contact-info-panel { display:grid; gap:22px; }
.contact-info-card { background:#fff; border:1px solid rgba(6,20,64,.08); border-radius:20px; padding:28px; box-shadow:0 14px 38px rgba(16,24,40,.06); }
.contact-info-card h3 { margin:0 0 14px; color:#07133b; font-size:1.1rem; }
.cic-row { display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; }
.cic-row:last-child { margin-bottom:0; }
.cic-icon { width:38px; height:38px; border-radius:10px; background:rgba(0,174,239,.08); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.cic-row p { margin:0; color:#344054; font-size:.92rem; line-height:1.5; }
.cic-row strong { display:block; color:#07133b; font-size:.85rem; margin-bottom:2px; }
.contact-disclaimer { background:var(--cc-surface-muted); border-radius:14px; padding:16px 18px; font-size:.82rem; color:#667085; line-height:1.55; margin-top:16px; border-left:3px solid rgba(0,174,239,.3); }
@media(max-width:860px){ .contact-layout{grid-template-columns:1fr;} .cf-row{grid-template-columns:1fr;} }

/* ---- Full-width page utility ---- */
.page-template-page-team .site-main,
.page-template-page-fas .site-main,
.page-template-page-about .site-main,
.page-template-page-services .site-main,
.page-template-page-contact .site-main { background:transparent; }
.cc-fw-page { background:transparent; }


/* =============================================================
   HOME PAGE TEMPLATE — page-home.php (v1.2)
   ============================================================= */

/* ---- Hero ---- */
.home-hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgba(0,174,239,.2), transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(201,164,92,.12), transparent 40%),
    linear-gradient(145deg, #061440 0%, #07133b 55%, #030d26 100%);
  color: #fff;
  padding: clamp(80px, 12vw, 150px) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.home-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
  pointer-events: none;
}
.home-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,174,239,.6) 40%, rgba(201,164,92,.5) 60%, transparent 100%);
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.home-hero-eyebrow {
  display: inline-block;
  color: var(--cc-blue-soft);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .75rem;
  margin-bottom: 18px;
  background: rgba(0,174,239,.1);
  border: 1px solid rgba(0,174,239,.2);
  border-radius: 999px;
  padding: 5px 14px;
}
.home-hero-title {
  font-family: var(--cc-font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .96;
  letter-spacing: -.06em;
  color: #fff;
  margin: 0 0 22px;
  font-weight: 400;
}
.home-hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: rgba(255,255,255,.76);
  line-height: 1.68;
  max-width: 680px;
  margin: 0 0 36px;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---- Shared button styles for home page ---- */
.cc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--cc-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,174,239,.28);
  transition: background .15s, box-shadow .15s, transform .15s;
  white-space: nowrap;
}
.cc-btn-primary:hover { background: #00c3ff; box-shadow: 0 12px 32px rgba(0,174,239,.38); transform: translateY(-1px); color: #fff !important; }
.cc-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.28);
  background: transparent;
  color: rgba(255,255,255,.88) !important;
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.cc-btn-outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); color: #fff !important; }
.cc-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1.5px solid rgba(6,20,64,.18);
  background: transparent;
  color: #07133b !important;
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.cc-btn-ghost:hover { background: rgba(6,20,64,.06); color: #07133b !important; }

/* ---- Stat Bar ---- */
.home-stats-bar {
  background: linear-gradient(145deg, #040e2e, #061440);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px;
  background: rgba(5,16,54,.9);
  gap: 6px;
}
.home-stat-num {
  font-family: var(--cc-font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}
.home-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.4;
  max-width: 160px;
}

/* ---- Shared section styles ---- */
.home-section { padding: clamp(60px, 9vw, 110px) 0; }
.home-section-white { background: #fff; }
.home-section-dark { background: linear-gradient(145deg, #061440 0%, #07133b 60%, #030d26 100%); }
.home-section-title {
  font-family: var(--cc-font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: #07133b;
  margin: 0 0 20px;
}
.home-section-title.light { color: #fff; }
.home-section-head { margin-bottom: 52px; }
.home-section-head-center { text-align: center; }
.home-section-lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: #344054;
  line-height: 1.72;
  max-width: 760px;
  margin: 0 0 0;
}
.home-section-lead.light { color: rgba(255,255,255,.76); }
.home-section-head-center .home-section-lead { margin: 0 auto; }

/* ---- Problem split grid ---- */
.home-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.home-split-copy p { color: #344054; line-height: 1.74; font-size: 1rem; margin: 0; }
.home-split-copy p + p { margin-top: 14px; }
.home-split-cards { display: grid; gap: 16px; }
.home-prob-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cc-surface-muted);
  border: 1px solid rgba(6,20,64,.08);
  border-radius: 16px;
  padding: 22px;
}
.home-prob-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.home-prob-card h4 { margin: 0 0 6px; font-size: .97rem; color: #07133b; }
.home-prob-card p { margin: 0; font-size: .9rem; color: #667085; line-height: 1.58; }

/* ---- Solution cards ---- */
.home-sol-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.home-sol-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 30px 26px;
}
.home-sol-num {
  font-family: var(--cc-font-head);
  font-size: 3rem;
  color: var(--cc-gold);
  line-height: 1;
  margin-bottom: 14px;
  opacity: .7;
}
.home-sol-card h3 { margin: 0 0 10px; font-size: 1.12rem; color: #fff; }
.home-sol-card p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.72); line-height: 1.66; }

/* ---- About strip ---- */
.home-about-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.home-about-copy p { color: #344054; line-height: 1.74; font-size: 1rem; margin: 0; }
.home-about-copy p + p { margin-top: 14px; }
.home-about-facts { display: grid; gap: 18px; }
.home-fact-card {
  background: linear-gradient(135deg, #061440, #0a1b55);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-fact-num {
  font-family: var(--cc-font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cc-gold);
  line-height: 1;
  letter-spacing: -.04em;
}
.home-fact-label { font-size: .88rem; color: rgba(255,255,255,.68); line-height: 1.55; }

/* ---- Services grid ---- */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-service-tile {
  background: #fff;
  border: 1px solid rgba(6,20,64,.08);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(16,24,40,.05);
  transition: transform .2s, box-shadow .2s;
}
.home-service-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(16,24,40,.1); }
.home-service-icon { font-size: 1.8rem; margin-bottom: 16px; display: block; }
.home-service-tile h3 { margin: 0 0 10px; color: #07133b; font-size: 1rem; line-height: 1.3; }
.home-service-tile p { margin: 0 0 14px; color: #667085; font-size: .88rem; line-height: 1.6; }
.home-service-tile a { font-size: .88rem; font-weight: 700; color: var(--cc-blue); text-decoration: none; }
.home-service-tile a:hover { color: #007eb8; }

/* ---- CTA section ---- */
.home-cta-section { background: var(--cc-surface-muted); padding: clamp(60px, 9vw, 110px) 0; }
.home-cta-card {
  background: linear-gradient(145deg, #061440 0%, #07133b 55%, #030d26 100%);
  border-radius: 24px;
  padding: clamp(48px, 7vw, 84px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.home-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(0,174,239,.15), transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(201,164,92,.1), transparent 40%);
  pointer-events: none;
}
.home-cta-card > * { position: relative; }
.home-cta-title {
  font-family: var(--cc-font-head);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  color: #fff;
  letter-spacing: -.04em;
  margin: 0 0 18px;
  line-height: 1.05;
}
.home-cta-sub {
  color: rgba(255,255,255,.74);
  max-width: 700px;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.72;
}
.home-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.home-cta-disclaimer { color: rgba(255,255,255,.35); font-size: .78rem; margin: 22px 0 0; line-height: 1.5; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .home-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .home-split-grid,
  .home-sol-cards,
  .home-about-strip { grid-template-columns: 1fr; }
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .home-services-grid,
  .home-stats-grid { grid-template-columns: 1fr; }
  .home-hero-title { letter-spacing: -.04em; }
  .home-cta-card { padding: 36px 24px; }
}


/* Team page centered grid: remove staggered/masonry placement from saved content.
   Cards now flow in a centered, intentional 2-column layout with 1 column on mobile. */
.team-grid,
.entry-content .team-grid,
.cc-fw-page .team-grid {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:stretch !important;
  justify-content:center !important;
  gap:28px !important;
  max-width:920px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  grid-template-columns:none !important;
  grid-auto-flow:row !important;
}
.team-grid > .team-card,
.entry-content .team-grid > .team-card,
.cc-fw-page .team-grid > .team-card {
  flex:0 1 calc((100% - 28px) / 2) !important;
  width:calc((100% - 28px) / 2) !important;
  max-width:446px !important;
  min-width:0 !important;
  margin:0 !important;
  grid-column:auto !important;
  grid-row:auto !important;
  justify-self:center !important;
  align-self:stretch !important;
  transform:none;
}
.team-grid > .team-card:nth-child(n),
.entry-content .team-grid > .team-card:nth-child(n),
.cc-fw-page .team-grid > .team-card:nth-child(n) {
  grid-column:auto !important;
  grid-row:auto !important;
  margin-left:0 !important;
  margin-right:0 !important;
  translate:none !important;
}
.team-grid > .team-card .team-photo,
.entry-content .team-grid > .team-card .team-photo,
.cc-fw-page .team-grid > .team-card .team-photo {
  aspect-ratio:1 / 1 !important;
}
@media(max-width:720px){
  .team-grid,
  .entry-content .team-grid,
  .cc-fw-page .team-grid {
    max-width:460px !important;
  }
  .team-grid > .team-card,
  .entry-content .team-grid > .team-card,
  .cc-fw-page .team-grid > .team-card {
    flex-basis:100% !important;
    width:100% !important;
    max-width:460px !important;
  }
}


/* ---- v1.3.8 Team Grid + Footer Menu Polish ----
   Force a true centered two-column Team layout on desktop, regardless of old saved
   flex/grid rules. This intentionally overrides the previous flex centering pass. */
.team-grid,
.entry-content .team-grid,
.cc-fw-page .team-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 420px)) !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 28px !important;
  max-width: 920px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.team-grid > .team-card,
.entry-content .team-grid > .team-card,
.cc-fw-page .team-grid > .team-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: initial !important;
  flex-basis: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  margin: 0 !important;
}
.team-grid > .team-card:nth-child(n),
.entry-content .team-grid > .team-card:nth-child(n),
.cc-fw-page .team-grid > .team-card:nth-child(n) {
  grid-column: auto !important;
  grid-row: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none;
  translate: none !important;
}
@media (max-width: 760px) {
  .team-grid,
  .entry-content .team-grid,
  .cc-fw-page .team-grid {
    grid-template-columns: minmax(0, 420px) !important;
    max-width: 460px !important;
  }
}

/* Footer quick links: six items become two balanced side-by-side columns. */
.footer-nav-col {
  text-align: left;
}
.footer-nav-list {
  display: grid !important;
  grid-template-columns: repeat(2, max-content) !important;
  grid-auto-flow: row !important;
  column-gap: 28px !important;
  row-gap: 8px !important;
  justify-content: end !important;
  align-items: start !important;
}
.footer-nav-list li {
  margin: 0 !important;
}
.footer-nav-list a {
  white-space: nowrap;
}
@media (max-width: 720px) {
  .footer-nav-list {
    grid-template-columns: repeat(2, minmax(120px, max-content)) !important;
    justify-content: start !important;
  }
}
@media (max-width: 420px) {
  .footer-nav-list {
    grid-template-columns: 1fr !important;
  }
}


/* =============================================================
   v1.4.0  Client change request, 8 Sep 2026
   ============================================================= */

/* Home: long headline, navy problem cards, single-column about strip */
.home-hero-title-long { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.18; letter-spacing: -.02em; max-width: 1000px; }
.home-prob-card-navy,
.home-prob-card.home-prob-card-navy { background: linear-gradient(135deg, #061440, #0a1b55); border-color: rgba(201,164,92,.35); box-shadow: 0 14px 34px rgba(6,20,64,.22); }
.home-prob-card-navy h4 { color: #fff; font-size: 1.08rem; }
.home-prob-card-navy > div:last-child { color: rgba(255,255,255,.86); font-size: .98rem; line-height: 1.6; }
.home-prob-card-navy p { color: rgba(255,255,255,.86); }
.home-about-strip-single { grid-template-columns: 1fr; }
.home-about-strip-single .home-about-copy { max-width: 860px; }

/* FAS: long headline and multi-paragraph hero copy */
.fas-headline-long { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.14; letter-spacing: -.025em; max-width: 960px; }
.fas-hero-copy { max-width: 820px; margin: 0 0 34px; }
.fas-hero-copy p { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: rgba(255,255,255,.82); line-height: 1.7; margin: 0 0 16px; }
.fas-hero-copy p:last-child { margin-bottom: 0; }

/* FAS: what's included */
.fas-includes-head { max-width: 900px; margin: 0 auto 40px; }
.fas-includes-title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.22; letter-spacing: -.02em; }
.fas-includes-sub { font-size: 1.25rem; color: #07133b; font-weight: 700; margin: 0 0 22px; }
.fas-fa-banner { display: block; margin: 0 auto; max-width: 510px; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.12); }
.fas-inc-block { background: var(--cc-surface-muted); border: 1px solid rgba(6,20,64,.08); border-radius: 20px; padding: clamp(24px, 3.5vw, 40px); margin-top: 26px; }
.fas-inc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.fas-inc-num { flex: none; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #061440, #0a1b55); color: var(--cc-gold); font-family: var(--cc-font-head); font-size: 1.4rem; font-weight: 700; }
.fas-inc-head h3 { margin: 0; color: #07133b; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }
.fas-inc-items { margin: 0; padding-left: 26px; color: #344054; line-height: 1.7; }
.fas-inc-items li { margin: 0 0 10px; }
.fas-inc-items li:last-child { margin-bottom: 0; }
.fas-inc-actions { margin-top: 22px; }

/* FAS: course table of contents pages */
.fas-toc-caption { margin: 22px 0 12px; color: #667085; font-size: .95rem; }
.fas-toc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fas-toc-cell { display: block; }
.fas-toc-page { display: block; background: #fff; border: 1px solid rgba(6,20,64,.1); border-radius: 12px; padding: 10px; text-decoration: none; color: #07133b; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.fas-toc-page:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(6,20,64,.16); color: #07133b; }
.fas-toc-page img { display: block; width: 100%; height: auto; border: 1px solid rgba(6,20,64,.08); }
.fas-toc-page span { display: block; margin-top: 8px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* FAS: program cards (collapsible, no JavaScript) */
.fas-programs-heading { font-family: var(--cc-font-head); color: #07133b; font-size: clamp(1.35rem, 2.4vw, 1.8rem); text-transform: uppercase; letter-spacing: .04em; margin: clamp(40px, 6vw, 60px) 0 16px; text-align: center; }
.fas-programs { display: grid; gap: 14px; }
.fas-program { background: #fff; border: 1px solid rgba(6,20,64,.1); border-left: 4px solid var(--cc-gold); border-radius: 16px; box-shadow: 0 8px 26px rgba(16,24,40,.06); }
.fas-program summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; color: #07133b; font-family: var(--cc-font-head); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; }
.fas-program summary::-webkit-details-marker { display: none; }
.fas-program-num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #061440, #0a1b55); color: var(--cc-gold); font-size: 1.05rem; }
.fas-program-name { flex: 1; }
.fas-program-chev { flex: none; width: 10px; height: 10px; border-right: 2px solid #07133b; border-bottom: 2px solid #07133b; transform: rotate(45deg); transition: transform .25s ease; margin-right: 4px; }
.fas-program[open] .fas-program-chev { transform: rotate(-135deg); }
.fas-program[open] summary { border-bottom: 1px solid rgba(6,20,64,.08); }
.fas-program-items { margin: 0; padding: 18px 26px 22px 54px; color: #344054; line-height: 1.7; }
.fas-program-items li { margin: 0 0 10px; }
.fas-program-items li:last-child { margin-bottom: 0; }

/* Services: quote, production services, fee block */
.services-hero-quote { font-family: var(--cc-font-head); font-style: italic; font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--cc-gold); max-width: 820px; margin: 0 auto 22px; line-height: 1.45; }
.services-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card-prod { position: relative; padding-top: 34px; }
.service-card-prod p { font-size: .98rem; color: #344054; }
.service-card-prod h3 { font-size: 1.2rem; line-height: 1.3; padding-right: 56px; }
.service-letter { position: absolute; top: 24px; right: 24px; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #061440, #0a1b55); color: var(--cc-gold); font-family: var(--cc-font-head); font-size: 1.25rem; font-weight: 700; }
.services-fee { margin-top: clamp(40px, 6vw, 64px); background: linear-gradient(135deg, #061440, #0a1b55); border: 1px solid rgba(201,164,92,.4); border-radius: 22px; padding: clamp(32px, 5vw, 56px); text-align: center; color: #fff; }
.services-fee-text { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 700; line-height: 1.6; max-width: 860px; margin: 0 auto; }
.services-fee-or { font-family: var(--cc-font-head); color: var(--cc-gold); font-size: 1.6rem; font-weight: 700; letter-spacing: .2em; margin: 26px 0; }
.services-fee-diy { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.4; margin: 0 0 24px; }
.services-fee-diy strong { font-family: var(--cc-font-head); font-size: 1.15em; color: var(--cc-gold); }

@media (max-width: 900px) {
  .fas-toc-grid { grid-template-columns: repeat(2, 1fr); }
  .services-prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fas-program summary { padding: 16px 18px; gap: 12px; }
  .fas-program-items { padding-left: 42px; }
}


/* =============================================================
   v1.4.1  Design pass for the Times New Roman type system
   ============================================================= */

/* Headings: Times needs no negative tracking, and a little more air */
.home-section-title, .cc-section-title, .home-hero-title, .fas-headline, .home-cta-title,
.hero h1, .page-title, .entry-title, .entry-content h2, .contact-form-wrap h2 { letter-spacing: 0; }
.home-section-title, .cc-section-title { line-height: 1.12; }
.home-hero-title-long { font-size: clamp(1.95rem, 3.5vw, 3.05rem); line-height: 1.2; max-width: 980px; }
.home-hero-hl { color: var(--cc-gold); }
.home-hero-sub { font-size: clamp(1.08rem, 1.55vw, 1.25rem); line-height: 1.7; max-width: 780px; }
.fas-headline-long { letter-spacing: 0; line-height: 1.16; }

/* Small caps labels: heavier so they hold up in a serif */
.cc-eyebrow, .cc-eyebrow-gold, .home-hero-eyebrow, .fas-badge, .home-stat-label, .footer-nav-heading,
.home-cta-disclaimer { font-weight: 700; letter-spacing: .16em; }
.home-stat-label { font-size: .8rem; max-width: 190px; }

/* Body copy inside cards was sized for Inter; open it up */
.home-split-copy, .home-split-copy p, .home-about-copy p, .home-about-copy { font-size: 1.06rem; line-height: 1.72; }
.home-section-lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.72; }
.home-lead-stat { color: var(--cc-gold); font-size: 1.1em; white-space: nowrap; }
.home-sol-card p, .home-sol-card { font-size: 1rem; line-height: 1.68; }
.home-sol-card { padding: 34px 30px; position: relative; overflow: hidden; }
.home-sol-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--cc-gold), transparent 70%); opacity: .8; }
.home-sol-card h3 { font-family: var(--cc-font-head); font-size: 1.3rem; }
.home-prob-card-navy { border-left: 3px solid var(--cc-gold); padding: 24px 24px 24px 22px; }
.home-prob-card-navy h4 { font-family: var(--cc-font-head); font-size: 1.15rem; }
.home-prob-card-navy > div:last-child, .home-prob-card-navy p { font-size: 1rem; }
.home-cta-sub { font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.72; }

/* FAS hero: copy on the left, the question in a panel on the right */
.fas-hero-copy-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); max-width: none; align-items: stretch; }
.fas-hero-lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); color: #fff; }
.fas-hero-text p { font-size: clamp(1.02rem, 1.4vw, 1.14rem); }
.fas-hero-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(201,164,92,.45); border-radius: 20px; padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.fas-hero-panel::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,164,92,.2); border-radius: 14px; pointer-events: none; }
.fas-hero-panel-label { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cc-gold); margin-bottom: 14px; }
.fas-hero-quote { font-family: var(--cc-font-head); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.3; color: #fff; margin: 0 0 16px; }
.fas-hero-quote-sub { font-size: 1.02rem; color: rgba(255,255,255,.8); margin: 0; }

/* FAS includes: brand mark leads the section */
.fas-includes-head .fas-fa-banner { margin-bottom: 26px; max-width: 440px; }
.fas-includes-title { letter-spacing: 0; }
.fas-inc-items, .fas-program-items { font-size: 1.02rem; }
.fas-program summary { padding: 22px 26px; }
.fas-program-hint { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #667085; font-family: var(--cc-font-body); margin-right: 10px; }
.fas-program:hover { border-color: rgba(6,20,64,.2); }
.fas-program[open] .fas-program-hint { color: var(--cc-gold); }

/* Services cards */
.service-card-prod p { font-size: 1.02rem; line-height: 1.7; }
.service-card-prod h3 { font-family: var(--cc-font-head); font-size: 1.3rem; }
.services-hero-quote { letter-spacing: 0; }

/* Buttons: a touch more presence in the serif */
.cc-button, .cc-btn-primary, .cc-btn-outline, .cc-btn-ghost { letter-spacing: .01em; }

@media (max-width: 860px) {
  .fas-hero-copy-cols { grid-template-columns: 1fr; }
  .fas-program-hint { display: none; }
}

/* 1.4.3: approved capital formation collage, front page only.
 * Applies to saved editor HTML and the legacy home hero. No content migration.
 * Image-only override also supports an existing inline background declaration.
 */
body.home .home-hero-section,
body.home .home-hero {
  background-color: #25332e;
  background-image: linear-gradient(rgba(15, 25, 21, .28), rgba(15, 25, 21, .28)), url("assets/images/capital-formation-hero.webp") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body.home .home-hero-section::before,
body.home .home-hero::before {
  content: none;
}
@media (max-width: 680px) {
  body.home .home-hero-section,
  body.home .home-hero {
    background-position: 60% center;
  }
}
