/* ============================================================
   COGIENCE THEME — screen.css
   Brand: Deep Navy #0B1D3A | Gold #C9A84C | Near Black #1A1A1A
   Headings: EB Garamond | Body: Helvetica Neue
   ============================================================ */

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

:root {
  --navy:       #0B1D3A;
  --navy-dark:  #06111F;
  --accent:     #C9A84C;
  --accent-hover: #B8953E;
  --text:       #1A1A1A;
  --text-muted: #5A5A6A;
  --bg:         #FFFFFF;
  --bg-alt:     #F7F7F7;
  --border:     #E4E4EC;

  --font-heading: "EB Garamond", Georgia, serif;
  --font-body:    "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gh-font-heading: var(--font-heading);
  --gh-font-body:    var(--font-body);

  --max-width:   1200px;
  --content-w:   720px;
  --gap:         24px;
  --section-y:   96px;

  --radius:      3px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --transition:  200ms var(--ease-out);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-large { padding: 16px 36px; font-size: 15px; }

/* ── Labels & tags ───────────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-tag { display: inline-block; margin-bottom: 10px; }
.post-tag:hover { color: var(--navy); }

.post-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.post-tag-pill:hover { border-color: var(--navy); color: var(--navy); }

/* ── Section scaffolding ─────────────────────────────────────── */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}

.section-title { color: var(--navy); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 8px;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  line-height: 1;
}

.site-logo {
  display: flex;
  align-items: center;
  color: #fff;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.site-tagline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  transition: color var(--transition);
}
.site-tagline:hover { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }

.nav-cta {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  margin-left: 8px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero (Swiper carousel) ──────────────────────────────────── */
.hero {
  background-color: var(--navy);
  color: #fff;
  position: relative;
  min-height: 80vh;
  height: 80vh;
  overflow: hidden;
}

.hero .swiper-wrapper { height: 100%; }

.hero-slide {
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,29,58,0.92) 0%, rgba(11,29,58,0.78) 50%, rgba(11,29,58,0.60) 100%),
    linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 96px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

/* Swiper pagination overrides — match our dash style */
.hero .swiper-pagination {
  bottom: 28px !important;
  z-index: 6;
}

.hero .swiper-pagination-bullet {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,0.32);
  opacity: 1;
  border-radius: 2px;
  transition: background var(--transition);
  margin: 0 6px !important;
}

.hero .swiper-pagination-bullet:hover { background: rgba(255,255,255,0.55); }
.hero .swiper-pagination-bullet-active { background: var(--accent); }

/* Swiper nav arrows */
.hero .swiper-button-prev,
.hero .swiper-button-next {
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(11,29,58,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  z-index: 6;
  transition: background var(--transition), border-color var(--transition);
}
.hero .swiper-button-prev::after,
.hero .swiper-button-next::after { font-size: 16px; font-weight: 700; }
.hero .swiper-button-prev { left: 24px; }
.hero .swiper-button-next { right: 24px; }
.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 40px;
}

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

.hero .btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.hero .btn-primary:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

/* ── Services ────────────────────────────────────────────────── */
.services {
  padding: var(--section-y) var(--gap);
  background: var(--bg);
}

.services > .container { max-width: var(--max-width); margin-inline: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  padding: 36px 28px 32px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.services-cta {
  margin-top: 48px;
  text-align: center;
}

/* ── Capability / why now ────────────────────────────────────── */
.capability-section {
  padding: var(--section-y) var(--gap);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.capability-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 65%, rgba(201,168,76,0.06) 100%);
  pointer-events: none;
}

.capability-section > .container { position: relative; z-index: 1; }

.capability-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.capability-header .section-label { color: var(--accent); margin-bottom: 14px; }

.capability-header h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.capability-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.capability-item { text-align: center; }

.capability-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
}
.capability-icon svg { width: 100%; height: 100%; }

.capability-item h3 {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.capability-item p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 320px;
  margin-inline: auto;
}

.capability-footer {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.capability-footer p {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  margin: 0;
}

/* ── Proof section ───────────────────────────────────────────── */
.proof {
  padding: var(--section-y) var(--gap);
  background: var(--bg-alt);
}

.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--max-width);
  margin-inline: auto;
}

.proof-content .section-label { margin-bottom: 16px; }
.proof-content h2 { color: var(--navy); margin-bottom: 20px; }
.proof-content p { color: var(--text-muted); margin-bottom: 16px; }
.proof-content .btn { margin-top: 8px; }

.proof-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--border);
  padding-left: 40px;
  margin-top: 60px;
}

.stat-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.stat-item:last-child { border-bottom: none; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Post grid ───────────────────────────────────────────────── */
.insights-section {
  padding: var(--section-y) var(--gap);
  background: var(--bg);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-grid--small { gap: 24px; }

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card-image-link { display: block; }

.post-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}

.post-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
  flex: 1;
}
.post-card-title a:hover { color: var(--accent); }

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

.read-time::before { content: '·'; margin-right: 12px; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  font-size: 14px;
}

.pagination a { color: var(--navy); }
.pagination .page-number { color: var(--text-muted); }

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter-section {
  padding: var(--section-y) var(--gap);
  background: var(--navy);
  color: #fff;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin-inline: auto;
}

.newsletter-content .section-label { margin-bottom: 16px; }

.newsletter-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.newsletter-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-form input[type="email"] {
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: border-color var(--transition);
}

.subscribe-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.subscribe-form input[type="email"]:focus { border-color: rgba(255,255,255,0.6); }

.subscribe-form .btn { align-self: flex-start; }

.newsletter-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.form-success { color: rgba(255,255,255,0.8); font-size: 14px; }
.form-error { color: #ff9999; font-size: 14px; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-y) var(--gap);
  background: var(--bg-alt);
  text-align: center;
}

.contact-inner {
  max-width: 640px;
  margin-inline: auto;
}

.contact-inner .section-label { margin-bottom: 16px; }
.contact-inner h2 { color: var(--navy); margin-bottom: 16px; }
.contact-inner p { color: var(--text-muted); margin-bottom: 32px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; }

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

.social-link {
  display: inline-block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-right: 16px;
  transition: color var(--transition);
}
.social-link:hover { color: #fff; }

.footer-base {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Post full ───────────────────────────────────────────────── */
.post-header {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 60px;
}

.post-header .post-tag { color: var(--accent); margin-bottom: 16px; }

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.post-excerpt {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.meta-divider { opacity: 0.4; }

.post-feature-image {
  max-height: 520px;
  overflow: hidden;
}
.post-feature-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.post-feature-image figcaption {
  padding: 10px 24px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-alt);
}

.post-body { padding: 72px 0; }

.post-content-inner {
  display: grid;
  grid-template-columns: var(--content-w) 1fr;
  gap: 64px;
  align-items: start;
}

.post-content {
  min-width: 0;
}

/* Ghost content styles */
.post-content h2, .post-content h3, .post-content h4 {
  color: var(--navy);
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.post-content p { margin-bottom: 1.4em; font-size: 1.05rem; line-height: 1.75; }
.post-content a { color: var(--accent); border-bottom: 1px solid currentColor; }
.post-content a:hover { color: var(--navy); }

.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  margin: 2em 0;
  background: var(--bg-alt);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
}

.post-content pre {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  margin: 2em 0;
}

.post-content code {
  font-size: 0.88em;
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--accent);
}

.post-content pre code { background: none; color: inherit; padding: 0; }

.post-content ul, .post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.post-content li { margin-bottom: 0.4em; font-size: 1.05rem; line-height: 1.75; }

.post-content figure { margin: 2em 0; }
.post-content figure img { border-radius: var(--radius); }
.post-content figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* Sidebar TOC */
.post-sidebar { position: relative; }

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.toc-widget { padding: 20px 0; border-left: 2px solid var(--border); padding-left: 20px; }
.toc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.toc-links { display: flex; flex-direction: column; gap: 6px; }
.toc-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.4;
}
.toc-links a:hover { color: var(--navy); }

/* Post footer */
.post-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.post-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.post-tags-list { display: flex; gap: 8px; flex-wrap: wrap; }

.post-share {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.share-link { color: var(--navy); font-weight: 500; }
.share-link:hover { color: var(--accent); }

/* Subscribe prompt */
.post-subscribe {
  background: var(--bg-alt);
  padding: 72px var(--gap);
  border-top: 1px solid var(--border);
}

.subscribe-prompt {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.subscribe-prompt .section-label { margin-bottom: 12px; }
.subscribe-prompt h3 { color: var(--navy); margin-bottom: 12px; }
.subscribe-prompt p { color: var(--text-muted); margin-bottom: 28px; }
.subscribe-prompt .subscribe-form { align-items: center; }

/* Related posts */
.related-posts {
  padding: 64px var(--gap);
  background: var(--bg);
}

.related-posts .section-label { margin-bottom: 32px; }

/* ── Static pages ────────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 80px 0 60px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.page-excerpt {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-top: 16px;
}

.page-content-inner {
  max-width: var(--content-w);
  margin-inline: auto;
  padding: 72px 24px;
}

.page-content h2, .page-content h3 { color: var(--navy); margin-top: 2em; margin-bottom: 0.6em; }
.page-content p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.4em; }
.page-content a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ── Platforms page (tabbed product gallery) ────────────────── */
.platform-lede {
  padding-top: 56px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.platform-lede-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.platform-lede-icon svg { width: 100%; height: 100%; }
.platform-lede p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

@media (max-width: 640px) {
  .platform-lede { gap: 20px; }
  .platform-lede-icon { width: 56px; height: 56px; }
  .platform-lede p { font-size: 1.05rem; }
}

.platform-tabs-wrap {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 84px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.platform-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
}
.platform-tabs::-webkit-scrollbar { display: none; }

.platform-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 22px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
}
.platform-tab:hover { color: var(--navy); }
.platform-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--accent);
}
.platform-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

.platform-panel { display: none; }
.platform-panel.is-active { display: block; }

/* vPAB hero band */
.vpab-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
  padding: 96px 0;
}

.vpab-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,29,58,0.92) 0%, rgba(11,29,58,0.78) 55%, rgba(11,29,58,0.55) 100%),
    linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.10) 100%);
  pointer-events: none;
}

.vpab-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.vpab-hero-inner .section-label { color: var(--accent); margin-bottom: 18px; }
.vpab-hero-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.vpab-hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
}
.vpab-hero-sub strong { color: #fff; font-weight: 500; }

/* Process strip */
.vpab-process {
  background: var(--bg);
  padding: var(--section-y) var(--gap);
}
.vpab-process .section-header { text-align: left; max-width: 720px; margin-bottom: 56px; }
.vpab-process h3 { color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  position: relative;
}
.process-strip::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  opacity: 0.4;
  z-index: 0;
}

.process-step {
  position: relative;
  padding: 0 8px;
  z-index: 1;
}
.process-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
  background: var(--bg);
  width: 56px;
}
.process-icon { width: 48px; height: 48px; margin-bottom: 18px; }
.process-icon svg { width: 100%; height: 100%; }
.process-step h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Split section */
.vpab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-alt);
  align-items: stretch;
}
.vpab-split-image {
  background-size: cover;
  background-position: center;
  min-height: 480px;
  position: relative;
}
.vpab-split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,29,58,0.25) 0%, rgba(201,168,76,0.18) 100%);
  pointer-events: none;
}
.vpab-split-content {
  padding: 80px 64px;
  max-width: 640px;
}
.vpab-split-content .section-label { margin-bottom: 14px; }
.vpab-split-content h3 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 20px;
}
.vpab-split-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.vpab-mechanism-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.vpab-mechanism-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.5;
}
.vpab-mechanism-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}
.vpab-split-note {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem !important;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

/* Capabilities */
.vpab-capabilities {
  background: var(--bg);
  padding: var(--section-y) var(--gap);
}
.vpab-capabilities .section-header { max-width: 720px; margin-bottom: 56px; }
.vpab-capabilities h3 { color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.capability-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.capability-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.capability-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.capability-card-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.capability-card-icon svg { width: 100%; height: 100%; }
.capability-card h4 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.25;
}
.capability-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Security band */
.vpab-security {
  padding: var(--section-y) var(--gap);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vpab-security::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.06) 100%);
  pointer-events: none;
}
.vpab-security > .container { position: relative; z-index: 1; }

.vpab-security-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.vpab-security-shield {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}
.vpab-security-shield svg { width: 100%; height: 100%; }
.vpab-security-header .section-label { color: var(--accent); margin-bottom: 14px; }
.vpab-security-header h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.security-item {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.security-item h4 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.security-item p {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Stats band */
.vpab-stats {
  padding: var(--section-y) var(--gap);
  background: var(--bg-alt);
}
.stat-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat-tile {
  background: var(--bg);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-tile-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-tile-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA band */
.vpab-cta {
  padding: var(--section-y) var(--gap);
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}
.vpab-cta-inner { max-width: 640px; margin: 0 auto; }
.vpab-cta h3 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 16px;
}
.vpab-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Placeholder panels */
.platform-placeholder {
  padding: var(--section-y) var(--gap);
  background: var(--bg);
  text-align: center;
}
.platform-placeholder .section-label { margin-bottom: 14px; }
.platform-placeholder h3 {
  color: var(--navy);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 16px;
}
.platform-placeholder p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ── Services & About — shared hero band ────────────────────── */
.services-hero,
.about-hero {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
  padding: 96px 0;
  min-height: 56vh;
  display: flex;
  align-items: center;
}
.services-hero {
  background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&q=80&auto=format&fit=crop');
}
.about-hero {
  background-image: url('/assets/images/hero-bg.jpg');
}
.services-hero-overlay,
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,29,58,0.94) 0%, rgba(11,29,58,0.80) 55%, rgba(11,29,58,0.55) 100%),
    linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.10) 100%);
  pointer-events: none;
}
.services-hero-inner,
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.services-hero-inner .section-label,
.about-hero-inner .section-label { color: var(--accent); margin-bottom: 18px; }
.services-hero-inner h2,
.about-hero-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.services-hero-sub,
.about-hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
}

.services-cta-band {
  padding: var(--section-y) var(--gap);
  background: var(--bg-alt);
  text-align: center;
}

/* ── About page tabs ─────────────────────────────────────────── */
.about-tabs-nav {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 84px;
  z-index: 50;
}

.tab-nav {
  display: flex;
  gap: 0;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 18px 28px;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── Services page ───────────────────────────────────────────── */
.services-detail {
  padding: var(--section-y) var(--gap);
  background: var(--bg);
}
.services-detail > .container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 980px;
}

.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; padding-bottom: 0; }

.service-detail-icon {
  width: 64px;
  height: 64px;
  padding: 6px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
}
.service-detail-icon svg { width: 100%; height: 100%; }

.service-detail-body h3 {
  color: var(--navy);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin-bottom: 14px;
}
.service-detail-body p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.service-detail-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.5;
}
.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.ta-section {
  padding: var(--section-y) var(--gap);
  background: var(--bg-alt);
}
.ta-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.ta-section h3 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}
.ta-section .section-sub {
  margin-top: 16px;
  margin-inline: auto;
  text-align: center;
}

.ta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.ta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.ta-icon { width: 48px; height: 48px; margin-bottom: 18px; }
.ta-icon svg { width: 100%; height: 100%; }
.ta-card h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.ta-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.ta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ta-stat {
  background: var(--bg);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.ta-stat .stat-tile-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 14px;
}
.ta-stat .stat-tile-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── About page ──────────────────────────────────────────────── */
.boutique-section,
.differentiators-section,
.advisory-section,
.quality-section,
.working-together {
  padding: var(--section-y) var(--gap);
  background: var(--bg);
}
.differentiators-section,
.quality-section { background: var(--bg-alt); }
.boutique-section .section-header,
.differentiators-section .section-header,
.advisory-section .section-header,
.quality-section .section-header,
.working-together .section-header,
.how-we-deliver-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.boutique-section h3,
.differentiators-section h3,
.advisory-section h3,
.quality-section h3,
.working-together h3,
.how-we-deliver-header h3 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

.boutique-table {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.boutique-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.boutique-row:last-child { border-bottom: none; }
.boutique-row--header .boutique-cell {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.boutique-cell {
  padding: 18px 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.boutique-cell--us {
  background: var(--navy);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.boutique-cell--them {
  background: var(--bg-alt);
  color: var(--text-muted);
}
.boutique-row--header .boutique-cell--us { color: var(--accent); }
.boutique-row--header .boutique-cell--them { color: var(--text); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.diff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
}
.diff-icon { width: 48px; height: 48px; margin-bottom: 22px; }
.diff-icon svg { width: 100%; height: 100%; }
.diff-card h4 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.diff-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.founder-section {
  padding: var(--section-y) var(--gap);
  background: var(--bg-alt);
}
.founder-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-aside { text-align: center; position: sticky; top: 120px; }
.founder-avatar {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 500;
  border: 3px solid var(--accent);
}
.founder-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.founder-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.founder-body .section-label { margin-bottom: 14px; }
.founder-body h3 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 24px;
}
.founder-body p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.founder-credentials {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.founder-credentials li {
  position: relative;
  padding-left: 22px;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.55;
}
.founder-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}
.founder-quote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0 0;
  background: var(--bg);
  border-radius: var(--radius);
}
.founder-quote p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 10px;
}
.founder-quote cite {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

.advisor-feature {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  padding: 36px 40px;
  border-radius: var(--radius);
  margin-bottom: 36px;
}
.advisor-feature .advisor-name { color: #fff; }
.advisor-feature .advisor-role { color: var(--accent); }
.advisor-feature p:not(.advisor-name):not(.advisor-role) { color: rgba(255,255,255,0.78); margin: 8px 0 0; }
.advisor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  border: 2px solid var(--accent);
}
.advisor-avatar--feature {
  width: 120px;
  height: 120px;
  font-size: 2.2rem;
  background: var(--bg);
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.advisor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.advisor-card .advisor-avatar {
  margin: 0 auto 18px;
}
.advisor-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 4px;
}
.advisor-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.advisor-card p:not(.advisor-name):not(.advisor-role) {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.how-we-deliver {
  padding: var(--section-y) var(--gap);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.how-we-deliver::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.06) 100%);
  pointer-events: none;
}
.how-we-deliver > .container { position: relative; z-index: 1; }
.how-we-deliver-header .section-label { color: var(--accent); }
.how-we-deliver-header h3 { color: #fff; }
.how-we-deliver-header .section-sub { color: rgba(255,255,255,0.72); margin-top: 16px; margin-inline: auto; }

.delivery-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.delivery-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.delivery-panel--ai { border-top: 3px solid var(--accent); }
.delivery-panel--expert { border-top: 3px solid #fff; }
.delivery-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.delivery-panel--ai .delivery-eyebrow { color: var(--accent); }
.delivery-panel--expert .delivery-eyebrow { color: #fff; }
.delivery-panel h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.35;
}
.delivery-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.delivery-panel li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}
.delivery-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.quality-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.quality-card h4 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quality-card p {
  color: var(--text);
  line-height: 1.65;
  margin: 0;
  font-size: 0.95rem;
}

.engagement-model-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 48px;
  padding: 28px;
  background: var(--navy);
  border-radius: var(--radius);
  color: #fff;
}
.engagement-model-summary .phase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 6px;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.engagement-model-summary .phase-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.01em;
}
.engagement-model-summary .phase p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.working-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1080px;
  margin-inline: auto;
}
.working-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.working-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.working-step h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.working-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
  .service-detail-icon { width: 56px; height: 56px; }
  .service-detail-list { grid-template-columns: 1fr; }
  .ta-stats { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 20px; }
  .founder-inner { grid-template-columns: 1fr; gap: 32px; }
  .founder-aside { position: static; text-align: left; }
  .founder-avatar { margin: 0 0 16px; }
  .delivery-split { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .engagement-model-summary { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .working-flow { grid-template-columns: 1fr 1fr; }
  .advisor-feature { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .advisor-avatar--feature { margin: 0 auto; }
}
@media (max-width: 640px) {
  .boutique-row { grid-template-columns: 1fr; }
  .boutique-row--header { display: none; }
  .boutique-cell { padding: 16px 20px; }
  .boutique-cell--us::before {
    content: 'Cogience: ';
    color: var(--accent);
    font-weight: 600;
  }
  .boutique-cell--them::before {
    content: 'Large firms: ';
    color: var(--text-muted);
    font-weight: 600;
  }
  .working-flow { grid-template-columns: 1fr; }
}

/* ── Contact form ────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: var(--section-y);
  align-items: start;
}

.contact-intro .section-label { margin-bottom: 14px; }
.contact-intro h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.contact-intro p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.contact-direct {
  font-size: 0.95rem;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.contact-direct a {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
}
.contact-direct a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-row .form-field { margin-bottom: 0; }

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-req { color: var(--accent); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #C00000;
  box-shadow: 0 0 0 3px rgba(192,0,0,0.08);
}
.field-error {
  display: block;
  font-size: 12px;
  color: #C00000;
  margin-top: 6px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-help {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}
.form-fieldset legend { padding: 0; margin-bottom: 12px; }

.radio-group,
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}
.choice input[type="checkbox"],
.choice input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.form-turnstile {
  margin: 12px 0 8px;
  min-height: 0;
}
.form-turnstile:not(:empty) { min-height: 70px; }

.form-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  margin: 12px 0 0;
  line-height: 1.5;
}

.form-success,
.form-error {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius);
}
.form-success {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.4);
}
.form-success h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.form-success p { color: var(--text); margin: 0; }
.form-error {
  background: rgba(192,0,0,0.05);
  border: 1px solid rgba(192,0,0,0.3);
}
.form-error p { color: #8B0000; margin: 0; font-size: 0.95rem; }
.form-error a { color: var(--navy); font-weight: 500; border-bottom: 1px solid currentColor; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 20px; }
  .radio-group, .checkbox-group { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Archive ─────────────────────────────────────────────────── */
.tag-archive { padding: var(--section-y) var(--gap); }
.archive-header { margin-bottom: 56px; }
.archive-header .section-label { margin-bottom: 12px; }
.archive-title { color: var(--navy); }
.archive-description { color: var(--text-muted); margin-top: 12px; max-width: 560px; }

/* ── Error page ──────────────────────────────────────────────── */
.error-page { padding: 120px var(--gap); text-align: center; }
.error-code {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.error-title { color: var(--navy); margin-bottom: 12px; }
.error-message { color: var(--text-muted); margin-bottom: 32px; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeUp 0.7s var(--ease-out) both;
}
.hero-eyebrow  { animation-delay: 0ms; }
.hero-title    { animation-delay: 80ms; }
.hero-sub      { animation-delay: 160ms; }
.hero-actions  { animation-delay: 240ms; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .post-content-inner { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
}

@media (max-width: 900px) {
  :root { --section-y: 64px; }

  .services-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; gap: 48px; }
  .proof-inner { grid-template-columns: 1fr; gap: 40px; }
  .proof-stats { border-left: none; border-top: 2px solid var(--border); padding-left: 0; padding-top: 32px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 20px var(--gap);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
  }

  .site-header { position: relative; }

  .post-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 60vh; }
  .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .post-meta { flex-wrap: wrap; }

  .platform-tab { padding: 18px 16px; font-size: 12px; }
  .vpab-split { grid-template-columns: 1fr; }
  .vpab-split-image { min-height: 280px; }
  .vpab-split-content { padding: 48px 24px; }
  .vpab-mechanism-list { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-tile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .process-strip { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process-strip::before { display: none; }
  .security-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Koenig editor cards (required) ─────────────────────────── */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1200px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full img {
  width: 100%;
}

.kg-image {
  max-width: 100%;
  height: auto;
}

.kg-image-card figcaption,
.kg-embed-card figcaption,
.kg-gallery-card figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  width: 100vw;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}

.kg-gallery-row:not(:first-of-type) {
  margin: 0.75em 0 0;
}

.kg-gallery-image:not(:first-of-type) {
  margin: 0 0 0 0.75em;
}

.kg-bookmark-card {
  width: 100%;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.kg-bookmark-content {
  flex-basis: 0;
  flex-grow: 999;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kg-bookmark-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.kg-bookmark-description {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-bookmark-thumbnail {
  flex-basis: 24rem;
  flex-grow: 1;
  min-height: 180px;
  background-size: cover;
  background-position: center;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.kg-bookmark-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* ── Homepage proof strip (Elevio R1) ───────────────────────────── */
.proof-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}
.proof-stat {
  text-align: center;
  padding: 0 6px;
  border-right: 1px solid var(--border);
}
.proof-stat:last-child { border-right: none; }
.proof-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 8px;
}
.proof-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .proof-strip { padding: 32px 0; }
  .proof-strip-inner { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .proof-stat { border-right: 1px solid var(--border); }
  .proof-stat:nth-child(3n) { border-right: none; }
}
@media (max-width: 720px) {
  .proof-strip-inner { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .proof-stat { border-right: 1px solid var(--border); border-bottom: none; padding-bottom: 0; }
  .proof-stat:nth-child(3n) { border-right: 1px solid var(--border); }
  .proof-stat:nth-child(2n) { border-right: none; }
  .proof-stat:last-child { border-right: none; }
}
@media (max-width: 480px) {
  .proof-strip-inner { grid-template-columns: 1fr; }
  .proof-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 0; }
  .proof-stat:last-child { border-bottom: none; }
}

/* ── Homepage proprietary-platform callout (Elevio R4) ──────────── */
.platform-callout {
  padding: 88px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.platform-callout-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.platform-callout-content h2 {
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 8px 0 16px;
}
.platform-callout-content > p {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 18px;
}
.platform-callout-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.platform-callout-bullets li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.platform-callout-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.platform-callout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.platform-callout-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.platform-callout-visual svg { width: 100%; height: auto; display: block; }

@media (max-width: 960px) {
  .platform-callout { padding: 64px 0; }
  .platform-callout-inner { grid-template-columns: 1fr; gap: 36px; }
  .platform-callout-content h2 { font-size: 1.6rem; }
}

/* ── Case studies page (Elevio R8 scaffold) ─────────────────────── */
.cases-section { padding: 56px 0 88px; }
.case-card {
  max-width: 880px;
  margin: 0 auto 48px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}
.case-card:last-of-type { margin-bottom: 0; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.case-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-title {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0 0 18px;
}
.case-body p { color: var(--text); line-height: 1.7; margin: 0 0 14px; font-size: 0.98rem; }
.case-body p:last-child { margin-bottom: 0; }
.case-body strong { color: var(--navy); }

/* ── "What we don't do" panel (Elevio R10) ──────────────────────── */
.we-dont-section { padding: 72px 0; background: var(--bg); }
.we-dont-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.we-dont-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 24px 64px;
}
.we-dont-mark {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 29, 58, 0.06);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}
.we-dont-card h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.we-dont-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 820px) {
  .we-dont-grid { grid-template-columns: 1fr; }
}

/* ── Events strip in footer (Elevio R6) ─────────────────────────── */
.events-strip {
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
}
.events-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.events-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.events-strip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.events-strip li { position: relative; }
.events-strip li + li::before {
  content: "·";
  position: absolute;
  left: -16px;
  color: rgba(255,255,255,0.35);
}
.events-strip strong { color: #fff; font-weight: 500; }

@media (max-width: 700px) {
  .events-strip-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .events-strip li + li::before { display: none; }
  .events-strip ul { flex-direction: column; gap: 6px; }
}

/* ── Sectors & specialisms page (Elevio R5) ─────────────────────── */
.sectors-section { padding: 56px 0 88px; }
.sector-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  max-width: 1080px;
  margin: 0 auto;
}
.sector-block:last-child { border-bottom: none; }
.sector-meta { position: sticky; top: 96px; align-self: start; }
.sector-meta h2 {
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 8px 0 0;
}
.sector-body p {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 16px;
  font-size: 0.98rem;
}
.sector-body p:last-child { margin-bottom: 0; }
.sector-body strong { color: var(--navy); }

@media (max-width: 900px) {
  .sector-block { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .sector-meta { position: static; }
}

/* ── Research / Publications page ───────────────────────────────── */
.research-section { padding: 56px 0 88px; }

.research-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 40px;
}
.research-chip {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.research-chip:hover { border-color: var(--accent); color: var(--navy); }
.research-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.research-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.research-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.research-meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0;
  text-transform: uppercase;
}
.research-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.research-type--peer    { background: rgba(201, 168, 76, 0.18); color: var(--navy); }
.research-type--conf    { background: rgba(11, 29, 58, 0.08); color: var(--navy); }
.research-type--white   { background: rgba(11, 29, 58, 0.04); color: var(--navy); }
.research-type--lecture { background: rgba(201, 168, 76, 0.10); color: var(--navy); }

.research-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 4px 0 2px;
  line-height: 1.3;
}
.research-authors {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}
.research-abstract {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin: 8px 0 0;
}
.research-link {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--navy);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.research-feed { margin-top: 72px; }
.research-feed .section-label { margin-bottom: 18px; }

@media (max-width: 720px) {
  .research-grid { grid-template-columns: 1fr; gap: 16px; }
  .research-filters { gap: 8px; }
  .research-chip { padding: 7px 14px; font-size: 0.78rem; }
}

/* ── Testimonials strip (Estima R6) ─────────────────────────────── */
.testimonials-strip { padding: 64px 0; background: var(--bg-alt); }
.testimonials-strip .section-label { text-align: center; }
.testimonials-strip h2 {
  text-align: center;
  color: var(--navy);
  margin: 6px 0 36px;
  font-size: 1.6rem;
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.client-quote {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.client-quote[hidden] { display: none; }
.client-quote p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0;
  font-style: italic;
}
.client-quote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.client-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
}
.client-quote .quote-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-testimonial { padding: 64px 0; background: var(--bg-alt); }
.home-testimonial .container { max-width: 760px; }
.home-testimonial .client-quote {
  text-align: left;
}
.home-testimonial .client-quote p { font-size: 1.2rem; }

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

