/*
Theme Name: Arallium Horizon
Theme URI: https://arallium.com
Author: Arallium Ltd
Author URI: https://arallium.com
Description: A premium consultancy theme for Arallium — light, airy Caribbean palette. Specialist UCD for education, taxation, healthcare, social protection, immigration, and customs across the Caribbean public sector.
Version: 3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arallium-horizon
*/

/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root {
  /* Core brand */
  --ink: #011925;           /* Arallium navy — body text, dark sections */
  --paper: #FFFFFF;
  --red: #E40C0D;           /* Arallium red — accents, CTAs */

  /* Light Caribbean palette */
  --sky: #EAF6FB;           /* very light Caribbean sky blue — header bg */
  --sky-mid: #C8E9F5;       /* slightly deeper sky — hover/border in header */
  --aqua: #0097B2;          /* Caribbean sea — header text, active links */
  --aqua-dark: #006F83;     /* deeper teal — hover states */
  --surface: #F4FAFB;       /* near-white with aqua warmth — alternating sections */
  --surface-warm: #FFF8F0;  /* warm sunrise — used on photo sections */

  /* Opacity variants */
  --ink-soft: rgba(1, 25, 37, 0.62);
  --aqua-soft: rgba(0, 151, 178, 0.14);
  --paper-soft: rgba(255, 255, 255, 0.80);
  --hairline: rgba(1, 25, 37, 0.10);
  --hairline-sky: rgba(0, 111, 131, 0.18);
  --hairline-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --max-width: 1200px;
  --gap: clamp(1.5rem, 4vw, 4.5rem);
  --radius: 6px;
}

/* ---------------------------------------------
   Reset & base
--------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.25em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 1em;
}

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

/* ---------------------------------------------
   Buttons
--------------------------------------------- */
.btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9em 1.8em;
  border-radius: 2px;
  border: 1px solid var(--red);
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--paper);
  border-color: var(--hairline-dark);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost.on-light {
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost.on-light:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------------------------------------------
   Header / Nav — light Caribbean palette
--------------------------------------------- */
.site-header {
  background: var(--sky);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hairline-sky);
  box-shadow: 0 1px 12px rgba(0, 111, 131, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1rem;
  /* Prevent nav from crushing the logo on mid-size screens */
  flex-wrap: nowrap;
}

/* Shrink nav links before they overflow */
.nav-wrap {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2.5rem);
  min-width: 0;
  flex-shrink: 1;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Logo scales fluidly — readable on mobile, crisp on desktop */
.site-branding img,
.site-branding .custom-logo,
.site-header .custom-logo-link img {
  display: block;
  width: auto;
  height: clamp(28px, 4.5vw, 42px);
  max-width: 180px;
  filter: none;
  flex-shrink: 0;
}

/* WordPress wraps the logo in an <a> — strip its default styles */
.site-header .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* .nav-wrap consolidated into .site-header .container block above */

.primary-menu {
  list-style: none;
  display: flex;
  gap: clamp(0.6rem, 1.4vw, 1.75rem);
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  white-space: nowrap;
}

.primary-menu a {
  color: var(--aqua-dark);
  font-weight: 500;
  opacity: 0.9;
  padding: 0.4em 0;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a {
  opacity: 1;
  color: var(--ink);
  border-bottom-color: var(--red);
}

.header-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65em 1.4em;
  border-radius: var(--radius);
  border: 1.5px solid var(--red);
  background: var(--red);
  color: var(--paper);
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background: var(--paper);
  color: var(--red);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-sky);
  color: var(--aqua-dark);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.45em 0.9em;
  border-radius: 2px;
  cursor: pointer;
}

/* ---------------------------------------------
   Hero — photo background with warm overlay
--------------------------------------------- */
.hero {
  background-color: var(--ink);
  background-image:
    linear-gradient(
      105deg,
      rgba(1, 25, 37, 0.88) 0%,
      rgba(1, 25, 37, 0.72) 55%,
      rgba(0, 97, 120, 0.45) 100%
    ),
    url('assets/hero-bg.jpg');        /* see README — upload a Caribbean landscape here */
  background-size: cover;
  background-position: center 40%;
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero .container { position: relative; z-index: 2; }

.hero-copy { max-width: 46rem; }

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--paper-soft);
  max-width: 38em;
  margin-top: 1.25rem;
}

.hero-actions { margin-top: 2.25rem; }

.hero-mark {
  position: absolute;
  top: -8%;
  right: -6%;
  width: clamp(320px, 42vw, 600px);
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Horizon motif */
.horizon {
  position: relative;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--hairline-dark);
}

.horizon::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 35%, transparent 75%);
}

.horizon-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.horizon-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--paper);
  display: block;
  line-height: 1.15;
}

/* Text-only stat values (e.g. "Anglo-Caribbean") */
.horizon-stat .num:not([data-num]) {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
}

.horizon-stat .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-top: 0.4em;
}

/* ---------------------------------------------
   Photo band — Caribbean imagery strip
--------------------------------------------- */
.photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: clamp(180px, 22vw, 280px);
  overflow: hidden;
}

.photo-band-item {
  background-size: cover;
  background-position: center;
  position: relative;
}

.photo-band-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(1, 25, 37, 0.32) 100%);
}

/* Default placeholder gradients if no photos uploaded yet */
.photo-band-item:nth-child(1) {
  background-image:
    linear-gradient(135deg, #0097B2 0%, #00C5E0 100%);
  background-image: url('assets/photo-1.jpg'),
    linear-gradient(135deg, #0097B2 0%, #00C5E0 100%);
}
.photo-band-item:nth-child(2) {
  background-image: url('assets/photo-2.jpg'),
    linear-gradient(135deg, #E08830 0%, #F5C060 100%);
}
.photo-band-item:nth-child(3) {
  background-image: url('assets/photo-3.jpg'),
    linear-gradient(135deg, #2A8C5A 0%, #5AC98A 100%);
}

/* ---------------------------------------------
   Sector cards (homepage)
--------------------------------------------- */
.sectors { background: var(--surface); }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Extended sector grid for 6 sectors */
.sector-grid-extended {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sector-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sector-card:hover {
  box-shadow: 0 4px 20px rgba(0, 111, 131, 0.12);
  transform: translateY(-2px);
}

.sector-card--primary {
  border-color: var(--aqua);
  border-width: 2px;
}

.sector-card--supporting {
  border-color: var(--hairline);
}

.sector-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
}

.sector-label--red { color: var(--red); }

.sector-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25em;
}

.sector-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex: 1;
  margin-bottom: 0.75em;
}

.sector-card a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.sector-card a:hover { text-decoration: underline; }

/* ---------------------------------------------
   Pillars — "Why GDS standards matter"
--------------------------------------------- */
.pillars {
  background: var(--ink);
  color: var(--paper);
}

.pillars .section-head h2,
.pillars .eyebrow { color: var(--paper); }
.pillars .eyebrow { color: var(--red); }
.pillars .section-head p { color: var(--paper-soft); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  border: 1px solid var(--hairline-dark);
  border-radius: 4px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.06);
}

.pillar-mark {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--red);
  display: block;
  margin-bottom: 0.9em;
}

.pillar-card h3 {
  font-size: 1.35rem;
  color: var(--paper);
}

.pillar-card p {
  color: var(--paper-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ---------------------------------------------
   How we work — horizon journey
--------------------------------------------- */
.journey { position: relative; }

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1rem;
}

.journey-track.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red) 15%, var(--red) 85%, transparent);
}

.journey-step {
  position: relative;
  padding-top: 3rem;
}

.journey-step::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--red);
}

.journey-step .phase {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.6em;
}

.journey-step h3 { font-size: 1.25rem; }

.journey-step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------------------------------------------
   About / credibility
--------------------------------------------- */
.credibility .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gap);
  align-items: start;
}

.credibility-list { display: grid; gap: 1.5rem; }

.credibility-item {
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}

.credibility-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35em;
}

.credibility-item p {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.credentials {
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: 1.75rem;
  border-radius: 4px;
}

.credentials h3 {
  font-size: 0.9rem;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.credentials ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credentials li {
  padding: 0.75em 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.credentials li:last-child { border-bottom: none; }
.credentials li span:first-child { color: var(--ink-soft); }

.credentials li span:last-child {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink);
  text-align: right;
}

/* ---------------------------------------------
   In-house UCD insight panel
--------------------------------------------- */
.insight-panel {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.insight-panel .container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--gap);
  align-items: start;
}

.insight-panel-head .eyebrow { color: var(--red); }

.insight-panel-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }

.insight-body p { color: var(--ink-soft); }

.insight-body ul {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.insight-body ul li {
  color: var(--ink-soft);
  margin-bottom: 0.6em;
}

/* ---------------------------------------------
   Services page — sector sections
--------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.service-card {
  background: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card .index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--red);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* Sector sections on /services/ */
.sector-section {
  border-top: 1px solid var(--hairline);
}

.sector-section:first-of-type { border-top: none; }

.sector-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.4em;
}

.sector-intro {
  color: var(--ink-soft);
  max-width: 50rem;
  font-size: 1.05rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sector-priority {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5em;
}

/* Sector nav bar */
.sector-nav {
  background: var(--sky-mid);
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--hairline-sky);
}

.sector-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-dark);
  padding: 1em 1.5em;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.sector-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--red);
  background: rgba(0, 111, 131, 0.06);
}

/* ---------------------------------------------
   Who We Work With — stakeholders
--------------------------------------------- */
.stakeholder-grid {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stakeholder-grid li {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--surface);
}

.stakeholder-note {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 46rem;
  margin-bottom: 0;
}

/* Audience sections on /who-we-work-with/ */
.audience-section { border-top: 1px solid var(--hairline); }
.audience-section:first-of-type { border-top: none; }

.audience-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 0.75em; }
.audience-section p { color: var(--ink-soft); max-width: 52rem; }

.audience-section ul {
  margin: 0.5em 0 1.5em 1.25em;
  color: var(--ink-soft);
}

.audience-section ul li { margin-bottom: 0.5em; }

.partner-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.partner-type {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface);
}

.partner-type h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.partner-type p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

.delivery-model { background: var(--ink); color: var(--paper); }
.delivery-model h2 { color: var(--paper); }
.delivery-model p { color: var(--paper-soft); max-width: 52rem; }
.delivery-model ul { margin: 0.5em 0 1.5em 1.25em; color: var(--paper-soft); }
.delivery-model ul li { margin-bottom: 0.5em; }
.delivery-model a { color: var(--red); }

/* ---------------------------------------------
   Case studies & track record
--------------------------------------------- */
.case-studies {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.case-study-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.case-study-card .tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.9em;
}

.case-study-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

.case-study-card p { color: var(--ink-soft); margin-bottom: 0.9em; }
.case-study-card p:last-child { margin-bottom: 0; }

.case-study-list { display: grid; gap: 1.5rem; }

.case-study-mini {
  border-top: 1px solid var(--hairline);
  padding-top: 1.25rem;
}

.case-study-mini .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.6em;
}

.case-study-mini h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35em;
}

.case-study-mini p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------------------------------------------
   Caribbean page — country overviews
--------------------------------------------- */
.country-overview {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--hairline);
}

.country-overview:first-of-type { border-top: none; }

.country-overview h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.25em;
}

.country-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.country-overview > p {
  color: var(--ink-soft);
  max-width: 52rem;
}

.ucd-gap {
  background: var(--surface);
  border-left: 3px solid var(--red);
  padding: 1.1rem 1.4rem;
  border-radius: 0 4px 4px 0;
  margin-top: 1.25rem;
  max-width: 52rem;
  color: var(--ink) !important;
}

.ucd-gap strong { color: var(--ink); }

/* ---------------------------------------------
   Caribbean sectors summary
--------------------------------------------- */
.caribbean-sectors .sector-brief {
  padding: 1.75rem 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: var(--gap);
  align-items: start;
}

.caribbean-sectors .sector-brief:first-of-type { border-top: none; }

.caribbean-sectors .sector-brief h3 { font-size: 1.35rem; }

.caribbean-sectors .sector-brief p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------------------------------------------
   CTA / Contact band
--------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
}

.cta-band .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--gap);
  align-items: center;
}

.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--paper-soft); font-size: 1.05rem; }

.cta-band .btn-primary {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}
.cta-band .btn-primary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.cta-band .contact-block { text-align: left; }

.cta-band .contact-block h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5em;
}

.cta-band .contact-block a { font-size: 1.1rem; font-weight: 600; }
.cta-band .contact-block a:hover { color: var(--red); }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper-soft);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--gap);
  border-bottom: 1px solid var(--hairline-dark);
  padding-bottom: 2.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand img {
  max-height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--paper-soft);
  max-width: 28em;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--paper-soft);
}

.footer-bottom a:hover { color: var(--red); }

/* ---------------------------------------------
   Founder profile block
--------------------------------------------- */
.founder-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--gap);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.founder-photo {
  position: relative;
}

.founder-photo img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.founder-photo img:hover {
  filter: grayscale(20%);
}

.founder-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--aqua) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}

.founder-name {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.2em;
}

.founder-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  display: block;
  margin-bottom: 1.25rem;
}

.founder-bio p { color: var(--ink-soft); }

.founder-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  align-items: center;
}

.founder-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.founder-links a:hover { border-bottom-color: var(--red); }

@media (max-width: 720px) {
  .founder-profile {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    max-width: 180px;
  }
}

/* ---------------------------------------------
   Generic page template — light page hero
--------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-mid) 100%);
  color: var(--ink);
  padding: clamp(4rem, 9vw, 6rem) 0;
  border-bottom: 1px solid var(--hairline-sky);
}

.page-hero .eyebrow { color: var(--aqua); }

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 40rem;
}

.page-hero .lede {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 42rem;
  margin-top: 1rem;
}

.page-content { padding: clamp(3rem, 8vw, 5rem) 0; }

.page-content .container { max-width: 760px; }

.page-content .entry-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 1.75em;
}

.page-content .entry-content p { color: var(--ink-soft); }

/* Blog / archive fallback */
.archive-grid { display: grid; gap: 2.5rem; max-width: 760px; }

.archive-grid article {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2rem;
}

.archive-grid h2 { font-size: 1.6rem; }

.archive-grid .meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.6em;
}

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 980px) {
  .credibility .container,
  .cta-band .container,
  .insight-panel .container { grid-template-columns: 1fr; }

  .pillar-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .stakeholder-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-track,
  .journey-track.four-col { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .journey-track::before { display: none; }
  .case-study-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .partner-types { grid-template-columns: 1fr; }
  .caribbean-sectors .sector-brief { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (max-width: 720px) {
  .primary-menu { display: none; }
  .menu-toggle { display: inline-block; }

  .site-header.is-open .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sky);
    border-top: 1px solid var(--hairline-sky);
    box-shadow: 0 8px 24px rgba(0, 111, 131, 0.12);
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-header.is-open .primary-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .horizon-stats { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .stakeholder-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: 1fr; }
  .sector-grid-extended { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: 1fr; height: auto; }
  .photo-band-item { height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
