/* ============================================================
   AVENTA CAPITAL — MASTER STYLESHEET v3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* TOKENS */
:root {
  --teal:        #1D6571;
  --teal-hover:  #185a64;
  --teal-light:  #2a8090;
  --navy:        #0A364A;
  --navy-deep:   #061f2b;
  --grey:        #7A8482;
  --grey-light:  #c8cecd;
  --grey-pale:   #f5f6f5;
  --cream:       #faf9f7;
  --white:       #ffffff;
  --text:        #1e2a30;
  --text-muted:  #6b7a7d;
  --border:      #dde3e2;
  --border-light:#eef0ef;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', Arial, sans-serif;

  --max-w:    1240px;
  --pad-x:    clamp(20px, 5vw, 60px);
  --sec-v:    clamp(70px, 9vw, 110px);
  --nav-h:    80px;

  --shadow-sm: 0 2px 12px rgba(10,54,74,0.07);
  --shadow-md: 0 6px 28px rgba(10,54,74,0.11);
  --shadow-lg: 0 16px 56px rgba(10,54,74,0.15);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section   { padding: var(--sec-v) 0; }

/* TYPOGRAPHY */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; flex-shrink: 0; }

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.subheadline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.lead { font-size: 1rem; color: var(--text-muted); line-height: 1.85; }
.body-t { font-size: 0.93rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 1rem; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  min-width: 160px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); border: 1px solid var(--teal); }
.btn-primary:hover { background: var(--teal-hover); border-color: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29,101,113,0.3); }
.btn-outline { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-light { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.35); }
.btn-light:hover { color: var(--white); border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ============================================================
   HEADER — WHITE, FIXED
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(10,54,74,0.06);
}

.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*
  LOGO FIX: The PNG has a black background.
  to disappear, revealing the teal lettering as if transparent.
*/
.site-logo img {
  height: 48px;
  width: auto;
  
  transition: opacity 0.2s;
}
.site-logo img:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 8px 12px;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 12px;
  padding: 9px 20px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--teal-hover); border-color: var(--teal-hover); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   CONNECTING DOTS BACKGROUND (replaces grid on all heroes)
   Used via .dots-bg class on a pseudo-element overlay div
   ============================================================ */
.dots-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
/* Canvas injected by JS for dots animation — fallback SVG pattern */
.dots-overlay canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 80% 50%, rgba(29,101,113,0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.page-hero .container { position: relative; z-index: 2; }

.ph-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1rem;
}
.ph-tag::before { content: ''; width: 26px; height: 1px; background: var(--teal-light); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  max-width: 680px;
}
.page-hero h1 em { font-style: italic; color: rgba(255,255,255,0.48); }

.page-hero .ph-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.48);
  max-width: 540px;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 0;
}

.hh-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 72% 45%, rgba(29,101,113,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 8% 85%, rgba(13,74,98,0.28) 0%, transparent 50%),
    linear-gradient(150deg, #061f2b 0%, #0a3244 45%, #0e3f52 70%, #061f2b 100%);
}

.hh-orb {
  position: absolute;
  top: 10%; right: 10%;
  width: min(540px, 45vw);
  height: min(540px, 45vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,101,113,0.18) 0%, transparent 70%);
  animation: orbPulse 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes orbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.hh-ring {
  position: absolute;
  top: 6%; right: 5%;
  width: min(420px, 36vw);
  height: min(420px, 36vw);
  pointer-events: none;
  z-index: 1;
}
.hh-ring svg { width: 100%; height: 100%; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hh-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
}

.hh-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.2s both;
}
.hh-tag::before { content: ''; width: 30px; height: 1px; background: var(--teal-light); }

.hh-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  max-width: 680px;
  animation: fadeUp 0.9s 0.4s both;
}
.hh-h1 em { display: block; font-style: italic; color: rgba(255,255,255,0.46); }

.hh-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.46);
  line-height: 1.85;
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 3rem;
  animation: fadeUp 0.9s 0.6s both;
}

.hh-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.8s both;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HOME ABOUT SECTION (second section on home page)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.values-box {
  background: var(--white);
  border-top: 3px solid var(--teal);
  padding: 40px 38px;
  box-shadow: var(--shadow-md);
}
.values-box-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-light);
}

.val-item {
  display: flex;
  gap: 16px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}
.val-item:first-child { padding-top: 0; }
.val-item:last-child  { border-bottom: none; padding-bottom: 0; }

.val-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--teal);
  opacity: 0.22;
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}
.val-name { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.4rem; }
.val-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   STRATEGY PAGE
   ============================================================ */

/* Venn section — left text, right diagram */
.venn-section { background: var(--grey-pale); padding: var(--sec-v) 0; }

.venn-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.venn-text { /* left column — left aligned */ }

.venn-diagram-wrap {
  width: 100%;
  /* Extra padding so circles aren't clipped */
}

.venn-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible; /* prevent circle clipping */
}

.vc { fill-opacity: 0.13; stroke-width: 1.5; }
.vc-tech   { fill: var(--teal); stroke: var(--teal); }
.vc-biz    { fill: var(--navy); stroke: var(--navy); }
.vc-health { fill: var(--grey); stroke: var(--grey); }

/* Dark strategy section */
.dark-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: var(--sec-v) 0;
}
.dark-section .container { position: relative; z-index: 1; }
.dark-section .eyebrow { color: var(--teal-light); }
.dark-section .eyebrow::before { background: var(--teal-light); }
.dark-section .headline, .dark-section .subheadline { color: var(--white); }
.dark-section .lead, .dark-section .body-t { color: rgba(255,255,255,0.46); }

/* Sector cards */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 60px;
}

.sc-card {
  background: rgba(8,40,58,0.75);
  padding: 34px 28px;
  position: relative;
  transition: background 0.3s;
}
.sc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.sc-card:hover { background: rgba(29,101,113,0.1); }
.sc-card:hover::before { opacity: 1; }

.sc-icon { width: 30px; height: 30px; color: var(--teal-light); margin-bottom: 1.1rem; }
.sc-icon svg { width: 100%; height: 100%; }
.sc-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--white); margin-bottom: 0.9rem; }

.sc-list li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.55;
  padding: 4px 0 4px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.sc-list li:last-child { border-bottom: none; }
.sc-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 1px; background: var(--teal-light); opacity: 0.55; }

/* Criteria */
.crit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 60px;
}
.crit-cell {
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.crit-cell:hover { background: rgba(29,101,113,0.07); }
.crit-cell:nth-child(4n)        { border-right: none; }
.crit-cell:nth-last-child(-n+4) { border-bottom: none; }
.crit-lbl { display: block; font-size: 0.57rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 6px; }
.crit-val { font-size: 0.86rem; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* Playbook */
.pb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.pb-card {
  background: rgba(5,24,35,0.9);
  padding: 38px 28px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.pb-card:hover { background: rgba(8,35,50,1); }

/* Sector cards — white background version */
.sector-grid-white {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  margin-bottom: 0;
}

.sc-card-white {
  background: var(--white);
  padding: 34px 28px;
  position: relative;
  transition: background 0.3s, box-shadow 0.3s;
  border-top: 2px solid transparent;
}
.sc-card-white::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.sc-card-white:hover { background: rgba(29,101,113,0.03); box-shadow: var(--shadow-sm); }
.sc-card-white:hover::before { opacity: 1; }

.sc-icon-dark { width: 30px; height: 30px; color: var(--teal); margin-bottom: 1.1rem; }
.sc-icon-dark svg { width: 100%; height: 100%; }

.sc-title-dark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.sc-list-dark li {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 5px 0 5px 14px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.sc-list-dark li:last-child { border-bottom: none; }
.sc-list-dark li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 1px;
  background: var(--teal);
  opacity: 0.6;
}


.crit-grid-light {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}
.crit-cell-light {
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.crit-cell-light:hover { background: rgba(29,101,113,0.04); }
.crit-cell-light:nth-child(4n)        { border-right: none; }
.crit-cell-light:nth-last-child(-n+4) { border-bottom: none; }
.crit-lbl-light {
  display: block;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.crit-val-light {
  font-size: 0.86rem;
  color: var(--navy);
  line-height: 1.4;
  font-weight: 500;
}

/* Playbook numbers — white */
.pb-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.pb-icon { width: 26px; height: 26px; color: var(--teal-light); margin-bottom: 1.1rem; }
.pb-icon svg { width: 100%; height: 100%; }
.pb-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--white); margin-bottom: 0.75rem; }
.pb-text  { font-size: 0.79rem; color: rgba(255,255,255,0.4); line-height: 1.8; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(560px, 1fr));
  gap: 28px;
}

/* Smaller, proportional team card */
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.tc-photo { overflow: hidden; }
.tc-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.team-card:hover .tc-photo img { transform: scale(1.03); }

.tc-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tc-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--teal);
  transition: height 0.4s ease;
}
.team-card:hover .tc-info::before { height: 100%; }

.tc-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.tc-role { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; }
.tc-bio  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 0.75rem; flex: 1; }

.tc-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.2s, color 0.2s;
}
.tc-linkedin:hover { color: var(--navy); gap: 13px; }
.tc-linkedin svg { width: 14px; height: 14px; }

/* Both email + LinkedIn sit below a single grey divider line */
.tc-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

/* ============================================================
   PORTFOLIO PAGE — equal height cards, top-aligned content
   ============================================================ */
.port-grid {
  display: grid;
  /* Fixed equal columns — always 2 up, perfectly aligned */
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start; /* top-align cards */
}

.port-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  /* Use flex column so internal sections stack and align consistently */
  display: flex;
  flex-direction: column;
}
.port-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(29,101,113,0.2); }

/* Fixed-height header so both logo boxes always align */
.pc-head {
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px; /* locks the header row to same height on both cards */
}

/* Logo box — white bg, perfectly centered, same size both cards */
.pc-logo-box {
  height: 58px;
  width: 170px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  flex-shrink: 0;
}
.pc-logo-box img {
  max-height: 32px;
  max-width: 136px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.pc-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  color: var(--teal);
  background: rgba(29,101,113,0.07);
  border: 1px solid rgba(29,101,113,0.15);
  flex-shrink: 0;
}
.pc-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.pc-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1; /* fills remaining card height */
}
.pc-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: var(--navy); margin-bottom: 0.6rem; }

/* Fixed height description area so meta grid always starts at same point */
.pc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 1.5rem;
  /* min-height ensures short desc cards still align with longer ones */
  min-height: 100px;
}

.pc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}
.pc-meta-r {
  padding: 12px 14px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.pc-meta-r:nth-child(2n)        { border-right: none; }
.pc-meta-r:nth-last-child(-n+2) { border-bottom: none; }
.pm-lbl { display: block; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 3px; }
.pm-val { font-size: 0.8rem; font-weight: 500; color: var(--navy); }

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.2s, color 0.2s;
  margin-top: auto; /* pushes link to bottom of card */
}
.pc-link:hover { color: var(--navy); gap: 12px; }
.pc-link svg { width: 11px; height: 11px; }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

.news-card {
  background: var(--white);
  padding: 38px 32px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.25s;
}
.news-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--teal); transition: width 0.3s; }
.news-card:hover { background: rgba(29,101,113,0.02); }
.news-card:hover::before { width: 100%; }

.nc-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nc-tag::before { content: ''; width: 16px; height: 1px; background: var(--teal); }

.nc-ph { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 4px 0; }
.ph-bar { height: 8px; border-radius: 1px; background: linear-gradient(90deg, var(--border-light) 25%, #e0e5e4 50%, var(--border-light) 75%); background-size: 300% 100%; animation: sh 2.5s ease-in-out infinite; }
.ph-bar.b80 { width: 80%; }
.ph-bar.b60 { width: 60%; }
.ph-bar.b40 { width: 40%; }
@keyframes sh { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.nc-date { font-size: 0.68rem; color: var(--grey-light); margin-top: auto; padding-top: 1.25rem; }

.nc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}
.nc-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 0.5rem;
}
.nc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.2s, color 0.2s;
}
.nc-link:hover { color: var(--navy); gap: 10px; }
.nc-link svg { width: 10px; height: 10px; }

/* ── Article / News detail page ── */
.article-wrap { padding: 72px 0 100px; }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 2.5rem; transition: gap 0.2s;
}
.article-back:hover { gap: 13px; color: var(--navy); }
.article-body { max-width: 760px; }
.article-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem;
}
.article-tag::before { content: ''; width: 16px; height: 1px; background: var(--teal); }
.article-body h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--navy);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.article-date {
  font-size: 0.73rem; color: var(--grey); display: block;
  margin-bottom: 2.5rem; padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.article-body p {
  font-size: 0.93rem; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 1.1rem;
}
.article-body p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-desc { font-size: 0.93rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 2.25rem; }
.contact-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; display: flex; flex-direction: column; gap: 18px; }
.cd-item { display: flex; flex-direction: column; gap: 3px; }
.cd-lbl  { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); }
.cd-val  { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
a.cd-val:hover { color: var(--teal); }

.form-panel { background: var(--grey-pale); border: 1px solid var(--border-light); padding: 40px; }
.form-panel-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; font-style: italic; color: var(--navy); margin-bottom: 1.75rem; }

.c-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-lbl { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

.form-inp, .form-sel, .form-ta {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 0;
  width: 100%;
}
.form-inp::placeholder, .form-ta::placeholder { color: var(--grey-light); }
.form-inp:focus, .form-sel:focus, .form-ta:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,101,113,0.08); }
.form-sel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%237A8482' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-color: var(--white);
  padding-right: 34px;
}
.form-ta { resize: vertical; min-height: 120px; }
.f-err { font-size: 0.7rem; color: #b03030; min-height: 15px; }
.hidden { display: none !important; }
.f-success { padding: 14px 18px; background: rgba(29,101,113,0.07); border: 1px solid rgba(29,101,113,0.22); color: var(--teal); font-size: 0.875rem; }
.f-error-msg { padding: 14px 18px; background: rgba(180,50,50,0.06); border: 1px solid rgba(180,50,50,0.2); color: #b03030; font-size: 0.875rem; }

/* ============================================================
   COMING SOON (Investors) PAGE
   ============================================================ */
.coming-soon {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sec-v) 0;
}
.cs-inner {
  text-align: center;
  max-width: 560px;
}
.cs-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(29,101,113,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}
.cs-icon svg { width: 26px; height: 26px; color: var(--teal); }
.cs-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cs-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }

/* ============================================================
   FOOTER — WHITE BACKGROUND
   ============================================================ */
.site-footer {
  background: var(--white);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.sf-upper {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border-light);
}
.sf-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
}

/*
  shows the teal lettering, same as header.
*/
.sf-logo {
  height: 44px;
  width: auto;
  
  margin-bottom: 1.1rem;
  transition: opacity 0.2s;
}
.sf-logo:hover { opacity: 0.75; }

.sf-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 210px;
  line-height: 1.65;
}

.sf-col-title {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sf-col-title::before { content: ''; width: 12px; height: 1px; background: var(--grey-light); }

.sf-links { display: flex; flex-direction: column; gap: 0.55rem; }
.sf-links a { font-size: 0.79rem; color: var(--text-muted); transition: color 0.2s; }
.sf-links a:hover { color: var(--teal); }

.sf-email {
  font-size: 0.79rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
  word-break: break-all;
}
.sf-email:hover { color: var(--teal); }

.sf-social { display: flex; gap: 8px; }
.sf-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--grey);
  transition: all 0.2s;
}
.sf-social a:hover { border-color: var(--teal); color: var(--teal); background: rgba(29,101,113,0.05); }
.sf-social svg { width: 14px; height: 14px; }

.sf-lower { padding: 20px 0; }
.sf-lower .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sf-copy { font-size: 0.71rem; color: var(--grey); }
.sf-legal { display: flex; gap: 1.25rem; }
.sf-legal a { font-size: 0.69rem; color: var(--grey); transition: color 0.2s; }
.sf-legal a:hover { color: var(--teal); }

/* BACK TO TOP */
.btt {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 42px; height: 42px;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 500;
  box-shadow: 0 4px 18px rgba(29,101,113,0.4);
}
.btt.show { opacity: 1; pointer-events: auto; transform: none; }
.btt:hover { background: var(--teal-hover); transform: translateY(-3px); }
.btt svg { width: 17px; height: 17px; }

/* COOKIE BANNER */
.cookie { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000; background: rgba(5,16,23,0.97); backdrop-filter: blur(14px); border-top: 1px solid rgba(29,101,113,0.28); padding: 16px 0; transform: translateY(0); transition: transform 0.4s ease; }
.cookie.gone { transform: translateY(110%); }
.cookie-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cookie-wrap p { font-size: 0.78rem; color: rgba(255,255,255,0.42); line-height: 1.6; }
.cookie-wrap a { color: var(--teal-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.6rem; flex-shrink: 0; }
.ck-yes { padding: 8px 20px; background: var(--teal); color: var(--white); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; transition: background 0.2s; }
.ck-yes:hover { background: var(--teal-hover); }
.ck-no { padding: 8px 20px; background: transparent; color: rgba(255,255,255,0.28); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; }
.ck-no:hover { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.22); }

/* LEGAL */
.legal-wrap { padding: 72px 0 100px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 2.5rem; transition: gap 0.2s; }
.legal-back:hover { gap: 13px; }
.legal-body { max-width: 720px; }
.legal-body h1 { font-family: var(--font-display); font-size: clamp(1.9rem,4vw,2.7rem); font-weight: 400; color: var(--navy); margin-bottom: 0.4rem; }
.legal-date { font-size: 0.73rem; color: var(--grey); display: block; margin-bottom: 2.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.legal-body h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--navy); margin: 2.25rem 0 0.65rem; }
.legal-body p, .legal-body ul { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 0.9rem; }
.legal-body ul { padding-left: 1.4rem; list-style: disc; }
.legal-body li { margin-bottom: 0.35rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet landscape: ≤1100px ── */
@media (max-width: 1100px) {
  .crit-grid { grid-template-columns: repeat(2,1fr); }
  .crit-grid-light { grid-template-columns: repeat(2,1fr); }
  .crit-cell:nth-child(4n)        { border-right: 1px solid rgba(255,255,255,0.05); }
  .crit-cell:nth-child(2n)        { border-right: none; }
  .crit-cell:nth-last-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .crit-cell:nth-last-child(-n+2) { border-bottom: none; }
  .crit-cell-light:nth-child(4n)        { border-right: 1px solid var(--border); }
  .crit-cell-light:nth-child(2n)        { border-right: none; }
  .crit-cell-light:nth-last-child(-n+4) { border-bottom: 1px solid var(--border); }
  .crit-cell-light:nth-last-child(-n+2) { border-bottom: none; }
  .pb-grid     { grid-template-columns: repeat(2,1fr); }
  .sf-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-card   { grid-template-columns: 200px 1fr; }
  .venn-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Tablet portrait: ≤900px ── */
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .sector-grid   { grid-template-columns: 1fr; }
  .sector-grid-white { grid-template-columns: 1fr; }
  .news-grid     { grid-template-columns: 1fr 1fr; }
  .port-grid     { grid-template-columns: 1fr; }
  .team-card     { grid-template-columns: 1fr; }
  .tc-photo img  { min-height: 280px; max-height: 320px; object-fit: cover; }
  .tc-info       { padding: 28px 24px; }
  .tc-name       { font-size: 1.5rem; }
  .form-row      { grid-template-columns: 1fr; }

  /* Page hero tighter on tablet */
  .page-hero { padding: 52px 0 44px; }

  /* Home hero reduced padding */
  .hh-content { padding: 60px var(--pad-x); }
  .hh-h1      { font-size: clamp(2.6rem, 6vw, 4.2rem); }

  /* Values box full-width */
  .values-box { padding: 30px 24px; }
}

/* ── Mobile: ≤768px ── */
@media (max-width: 768px) {
  :root {
    --nav-h:  66px;
    --sec-v:  clamp(48px, 8vw, 72px);
    --pad-x:  clamp(16px, 5vw, 28px);
  }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(290px, 86vw);
    height: 100vh;
    background: var(--white);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 36px;
    gap: 0;
    transition: right 0.35s ease;
    z-index: 999;
  }
  .nav-links.open { right: 0; box-shadow: -16px 0 40px rgba(0,0,0,0.1); }
  .nav-link { font-size: 0.85rem; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border-light); }
  .nav-cta  { margin: 20px 0 0; display: inline-block; }
  .nav-burger { display: flex; }

  /* Home hero mobile */
  .home-hero    { min-height: 100svh; }
  .hh-content   { padding: 48px var(--pad-x) 56px; }
  .hh-h1        { font-size: clamp(2.2rem, 8vw, 3.2rem); max-width: 100%; }
  .hh-sub       { font-size: 0.92rem; }
  .hh-tag       { margin-bottom: 1.75rem; }
  .hh-cta       { gap: 0.75rem; }
  .btn          { padding: 12px 22px; font-size: 0.68rem; }

  /* Page hero mobile */
  .page-hero    { padding: 44px 0 36px; }
  .page-hero h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); }
  .page-hero .ph-sub { font-size: 0.88rem; }

  /* Team card — stacked, appropriately sized */
  .team-card               { grid-template-columns: 1fr; }
  .tc-photo img            { min-height: 240px; max-height: 300px; width: 100%; object-fit: cover; object-position: center top; }
  .tc-info                 { padding: 24px 20px; }
  .tc-name                 { font-size: 1.4rem; }
  .tc-role                 { font-size: 0.6rem; margin-bottom: 0.9rem; }
  .tc-bio                  { font-size: 0.82rem; line-height: 1.72; }
  .team-grid               { grid-template-columns: 1fr; }

  /* Portfolio */
  .port-grid  { grid-template-columns: 1fr; }
  .pc-head    { flex-wrap: wrap; gap: 12px; min-height: auto; }

  /* About/values */
  .about-grid  { grid-template-columns: 1fr; gap: 32px; }
  .values-box  { padding: 24px 20px; }

  /* Strategy venn */
  .venn-layout         { grid-template-columns: 1fr; gap: 32px; }
  .venn-diagram-wrap   { max-width: 400px; margin: 0 auto; padding: 10px; }

  /* Criteria grids */
  .news-grid       { grid-template-columns: 1fr; }
  .pb-grid         { grid-template-columns: 1fr; }
  .crit-grid       { grid-template-columns: 1fr; }
  .crit-grid-light { grid-template-columns: 1fr; }
  /* At 1-column: remove right borders, restore all bottom borders, remove only last */
  .crit-cell       { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
  .crit-cell:last-child { border-bottom: none !important; }
  .crit-cell-light { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .crit-cell-light:last-child { border-bottom: none !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-panel   { padding: 24px 18px; }

  /* Footer */
  .sf-grid  { grid-template-columns: 1fr; gap: 28px; }
  .sf-upper { padding: 44px 0 36px; }
  .sf-lower .container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .sf-logo  { height: 36px; }

  /* Playbook cards */
  .pb-card { padding: 28px 22px; }

  /* Section cards */
  .sc-card       { padding: 26px 20px; }
  .sc-card-white { padding: 26px 20px; }
}

/* ── Small mobile: ≤480px ── */
@media (max-width: 480px) {
  .hh-cta    { flex-direction: column; align-items: flex-start; }
  .hh-ring, .hh-orb { display: none; }
  .port-grid { grid-template-columns: 1fr; }

  /* Hero h1 tighter */
  .hh-h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }

  /* Team photo shorter on small screens */
  .tc-photo img { min-height: 200px; max-height: 260px; }

  /* Values box */
  .values-box { padding: 20px 16px; }

  /* Sector detail cards full-width */
  .sector-grid       { grid-template-columns: 1fr; }
  .sector-grid-white { grid-template-columns: 1fr; }

  /* Page hero even more compact */
  .page-hero { padding: 36px 0 30px; }

  /* Portfolio card logo box */
  .pc-logo-box { width: 140px; height: 50px; }

  /* Investors coming-soon center */
  .cs-inner { padding: 0 8px; }

  /* Legal pages */
  .legal-wrap { padding: 48px 0 72px; }
}

