/* ==========================================================================
   CITADEL Pacific Ltd. — site styles
   Design system: "Oceanic Apex" (from the Google Stitch redesign, see
   stitch-designs/DESIGN.md). Plain CSS, no build step.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --deep-ocean: #0a192f;
  --abyssal: #061426;
  --brand-navy: #000845;        /* logo navy */
  --brand-cyan: #008dc5;        /* logo cyan */

  /* Accents */
  --secondary: #005da8;
  --secondary-container: #0076d2;
  --secondary-fixed: #d4e3ff;
  --secondary-fixed-dim: #a4c9ff;
  --tertiary-fixed: #b6ebff;
  --tertiary-fixed-dim: #47d6ff;
  --primary-fixed-dim: #b9c7e4;

  /* Surfaces */
  --surface: #f7fafe;
  --surface-low: #f1f4f8;
  --surface-container: #ebeef2;
  --surface-high: #e5e8ec;
  --surface-highest: #e0e3e7;
  --white: #ffffff;

  /* Text */
  --on-surface: #181c1f;
  --on-surface-variant: #44474d;
  --slate: #5c6c84;             /* muted text on light surfaces */
  --on-dark: #ffffff;
  --on-dark-muted: #8fa1bc;     /* muted text on navy (AA-compliant) */

  /* Lines */
  --outline-variant: #c5c6cd;
  --border-subtle: rgba(10, 25, 47, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Type */
  /* Headings: Montserrat, a free alternative to Gotham (the brand typeface the old
     site used as "Citadel Sans"). If CPL holds a Gotham webfont licence, put
     "Gotham" first in this list and load it with @font-face. */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --gutter: 1.5rem;
  --gutter-lg: 2rem;
  --page-margin: 1.25rem;

  /* Shape & depth */
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --shadow-sm: 0 1px 2px rgba(10, 25, 47, 0.06), 0 1px 3px rgba(10, 25, 47, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 25, 47, 0.07), 0 2px 4px rgba(10, 25, 47, 0.04);
  --shadow-xl: 0 20px 40px rgba(10, 25, 47, 0.12), 0 8px 16px rgba(10, 25, 47, 0.06);

  --header-h: 5rem;
  --container: 1360px;
}

@media (min-width: 768px) {
  :root { --page-margin: 2.5rem; }
}
@media (min-width: 1024px) {
  :root { --page-margin: 5rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--deep-ocean);
  text-wrap: balance;
}
p { margin: 0; }
address { font-style: normal; }
:is(.body-lg, .body-md, .prose) > p + p { margin-top: var(--space-md); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--secondary); }

:focus-visible {
  outline: 2px solid var(--secondary-container);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100px;
  z-index: 100;
  padding: var(--space-xs) var(--space-md);
  background: var(--deep-ocean);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.skip-link:focus { top: var(--space-md); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  flex-shrink: 0;
  user-select: none;
}
.icon--sm { font-size: 1rem; }
.icon--lg { font-size: 1.5rem; }
.icon--xl { font-size: 2rem; }

/* ---------- Typography ---------- */
.display {
  font-size: 2rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.h-xl {
  font-size: 1.625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.h-lg {
  font-size: 1.375rem;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.h-md {
  font-size: 1.1875rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.h-sm {
  font-size: 1.0625rem;
  line-height: 1.45;
  letter-spacing: 0;
}
@media (min-width: 1024px) {
  .display { font-size: 3.5rem; line-height: 1.15; letter-spacing: -0.02em; }
  .h-xl { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.015em; }
  .h-lg { font-size: 1.75rem; line-height: 1.3; }
  .h-md { font-size: 1.375rem; line-height: 1.36; }
}

.lead {
  font-size: 1.125rem;
  line-height: 1.67;
  letter-spacing: -0.005em;
  color: var(--slate);
}
.body-lg { font-size: 1rem; line-height: 1.625; }
.body-md { font-size: 0.875rem; line-height: 1.57; }
.muted { color: var(--slate); }
.text-strong { color: var(--deep-ocean); font-weight: 500; }

.label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  line-height: 1.33;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Eyebrow: small caps label with a trailing rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--secondary);
}
.eyebrow::after {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--secondary-fixed-dim);
}
.eyebrow--plain::after { display: none; }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow { color: var(--tertiary-fixed-dim); }
.on-dark .eyebrow::after { background: var(--border-glass); }

/* Status pill with pulsing dot */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  width: fit-content;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--on-surface-variant);
}
.pill__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--secondary-container);
  animation: pulse 2s ease-in-out infinite;
}
.on-dark .pill { background: var(--abyssal); color: var(--white); }
.on-dark .pill__dot { background: var(--tertiary-fixed-dim); box-shadow: 0 0 10px var(--tertiary-fixed-dim); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-margin);
}

.section { padding-block: var(--space-2xl); position: relative; }
@media (min-width: 1024px) {
  .section { padding-block: var(--space-3xl); }
}
.section--alt { background: var(--surface-low); }
.section--dark { background: var(--deep-ocean); color: var(--on-dark); overflow: hidden; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.section-head__text { display: flex; flex-direction: column; gap: var(--space-xs); max-width: 42rem; }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .section-head__text { align-items: center; }
@media (min-width: 768px) {
  .section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.stack > * + * { margin-top: var(--space-md); }
.stack-lg > * + * { margin-top: var(--space-lg); }

/* 12-column grid used by the larger compositions */
.grid-12 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gutter-lg);
}
@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-12 { grid-column: span 12; }
}
.items-center { align-items: center; }
.items-start { align-items: start; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gutter);
}
@media (min-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-2 { gap: var(--gutter-lg); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Ambient glow blobs behind hero/dark sections */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
}
.glow--tr { top: -8rem; right: 0; width: 40rem; height: 40rem; background: rgba(164, 201, 255, 0.22); }
.glow--br { right: -5rem; bottom: -5rem; width: 24rem; height: 24rem; background: rgba(0, 118, 210, 0.2); filter: blur(90px); }
.glow--bl { left: 20%; bottom: 0; width: 24rem; height: 24rem; background: rgba(0, 118, 210, 0.14); }

.grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 60px 60px;
}

.accent-line {
  height: 4px;
  background: linear-gradient(to right, var(--deep-ocean), var(--secondary-container), var(--deep-ocean));
  opacity: 0.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-xl);
  border: 0;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn--primary { background: var(--deep-ocean); color: var(--white); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--abyssal); color: var(--white); box-shadow: var(--shadow-xl); }
.btn--light { background: var(--white); color: var(--deep-ocean); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--surface-container); color: var(--deep-ocean); }
.btn--accent { background: var(--secondary-container); color: var(--white); box-shadow: var(--shadow-md); }
.btn--accent:hover { background: var(--secondary); color: var(--white); }
.btn--sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--secondary);
}
.link-arrow .icon { transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--secondary-fixed); }
.on-dark .link-arrow:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(247, 250, 254, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.brand { display: flex; align-items: center; }
.brand img { height: 1.75rem; width: auto; }

.nav { display: none; height: 100%; }
.nav__list {
  display: flex;
  align-items: stretch;
  gap: var(--space-lg);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 100%;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  transition: color 0.2s, border-color 0.2s;
}
.nav__link:hover { color: var(--on-surface); }
.nav__link[aria-current="page"] {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
  font-weight: 600;
}
.nav__link .icon { font-size: 0.875rem; opacity: 0.7; }

.header-actions { display: flex; align-items: center; gap: var(--space-md); }
.header-actions .btn { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--deep-ocean);
  cursor: pointer;
}
.menu-toggle:hover { background: var(--surface-container); }
.menu-toggle .icon { font-size: 1.75rem; }

@media (min-width: 640px) {
  .header-actions .btn { display: inline-flex; }
}
@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--surface);
  padding: var(--space-lg) var(--page-margin) var(--space-2xl);
  overflow-y: auto;
  transform: translateY(-0.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li + li { border-top: 1px solid var(--border-subtle); }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--deep-ocean);
}
.mobile-nav a[aria-current="page"] { color: var(--secondary); }
.mobile-nav .btn { width: 100%; margin-top: var(--space-lg); }
@media (min-width: 1100px) {
  .mobile-nav { display: none; }
}
body.nav-open { overflow: hidden; }

main { padding-top: var(--header-h); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card--lift:hover { box-shadow: var(--shadow-md); }
.card--pad-xl { padding: var(--space-lg); }
@media (min-width: 1024px) {
  .card--pad-xl { padding: var(--space-xl); }
}
.card--dark { background: var(--deep-ocean); color: var(--on-dark); box-shadow: var(--shadow-md); }
.card--abyss { background: var(--abyssal); color: var(--on-dark); box-shadow: var(--shadow-xl); }
.card--dark h3, .card--abyss h3, .card--dark h4, .card--abyss h4 { color: var(--white); }
.card--tint { background: var(--surface-low); box-shadow: none; }
.card--flush { padding: 0; overflow: hidden; }

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.tile {
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.tile__title { display: flex; align-items: center; gap: 0.35rem; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--deep-ocean); }
.tile__text { font-size: 0.8125rem; line-height: 1.5; color: var(--slate); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius);
  background: var(--surface-container);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--deep-ocean);
}
.chip--badge {
  border-radius: 999px;
  background: var(--secondary-fixed);
  color: #001c39;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.icon-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-container);
  color: var(--deep-ocean);
}
.icon-badge--dark { background: #0d1c32; color: var(--tertiary-fixed-dim); }
.icon-badge--round { border-radius: 50%; }

/* Stat */
.stat__value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--deep-ocean);
}
.stat__label { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--deep-ocean); }
.card--dark .stat__value, .card--dark .stat__label { color: var(--white); }

/* ---------- Media (image with gradient overlay) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--deep-ocean);
}
.media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.media:hover > img { transform: scale(1.02); }
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 20, 38, 0.9), rgba(10, 25, 47, 0.3) 55%, transparent);
}
.media__caption {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-lg);
  color: var(--white);
}
.media__caption :is(h2, h3, h4) { color: var(--white); }
.media__tag {
  position: absolute;
  z-index: 1;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-ocean);
}
@media (min-width: 1024px) {
  .media__caption { padding: var(--space-xl); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-ocean);
  color: var(--on-dark-muted);
  padding: var(--space-3xl) 0 var(--space-xl);
  font-size: 0.875rem;
  line-height: 1.6;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 5fr 4fr 3fr; gap: var(--gutter-lg); }
}
.site-footer .brand img { height: 1.75rem; filter: brightness(0) invert(1); }
.site-footer h2 {
  margin-bottom: var(--space-md);
  font-size: 0.75rem;
  color: var(--secondary-fixed);
}
.site-footer address { font-style: normal; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--space-xs); }
.site-footer a { color: var(--on-dark-muted); transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}
.footer-regions strong { display: block; color: var(--white); font-weight: 500; }
.footer-regions span { font-size: 0.75rem; }
.site-footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  font-size: 0.75rem;
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}
.social-link { display: inline-flex; align-items: center; gap: var(--space-xs); }
.social-link svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed;
  z-index: 60;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  max-width: 36rem;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: rgba(6, 20, 38, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--white);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.cookie-notice[hidden] { display: none; }
@media (min-width: 768px) {
  .cookie-notice { left: auto; right: 2rem; bottom: 2rem; }
}
.cookie-notice__title { display: flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.cookie-notice__title .icon { color: var(--tertiary-fixed-dim); }
.cookie-notice p { margin: var(--space-sm) 0 var(--space-md); font-size: 0.875rem; color: var(--on-dark-muted); }
.cookie-notice p.cookie-notice__title { margin: 0; font-size: 1.125rem; color: var(--white); }
.cookie-notice p a { color: var(--secondary-fixed); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice p a:hover { color: var(--white); }
.cookie-notice__actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-sm); }
.cookie-notice__decline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--border-glass); }
.cookie-notice__decline:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 48rem; color: var(--on-surface-variant); }
.prose h2 { margin: var(--space-xl) 0 var(--space-sm); font-size: 1.5rem; line-height: 1.33; }
.prose h3 { margin: var(--space-lg) 0 var(--space-xs); font-size: 1.125rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--space-md); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-2xs); }
.prose a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Colour utilities ---------- */
.c-secondary { color: var(--secondary); }
.c-accent { color: var(--secondary-container); }
.c-cyan { color: var(--tertiary-fixed-dim); }
.c-ice { color: var(--secondary-fixed); }
.c-dim { color: var(--primary-fixed-dim); }
.c-variant { color: var(--on-surface-variant); }

/* ---------- Shared lists ---------- */
.dot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xs) var(--space-md);
  margin: var(--space-xs) 0 0;
  padding: 0;
  list-style: none;
  color: var(--slate);
}
.dot-list li { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
@media (max-width: 399px) {
  .dot-list { grid-template-columns: minmax(0, 1fr); }
}
.dot-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  margin: var(--space-sm) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
}
.check-list li { display: flex; align-items: center; gap: var(--space-xs); }
.check-list .icon { color: var(--tertiary-fixed-dim); }

.icon-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.icon-list li { display: flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; }
.icon-list .icon { font-size: 1.125rem; color: var(--tertiary-fixed-dim); }

/* ==========================================================================
   Page sections
   ========================================================================== */

/* ---------- Home hero ---------- */
.hero-home { overflow: hidden; }
.hero-home__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(241, 244, 248, 0.6), var(--surface) 50%, var(--surface));
  pointer-events: none;
}
.hero-home__inner { position: relative; display: flex; flex-direction: column; gap: var(--space-2xl); }
.hero-home__top { display: flex; flex-direction: column; gap: var(--space-xl); }
.hero-home__copy { max-width: 48rem; display: flex; flex-direction: column; gap: var(--space-md); }
.hero-home__copy .lead { max-width: 42rem; }
.hero-home__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
@media (min-width: 1024px) {
  .hero-home__top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero-home__actions { flex-wrap: nowrap; flex-shrink: 0; }
}
.hero-home__media { min-height: 22.5rem; box-shadow: var(--shadow-xl); margin: 0; }
@media (min-width: 1024px) {
  .hero-home__media { min-height: 28.75rem; }
}
.hero-home__caption {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.hero-home__caption > div { max-width: 32rem; }
.hero-home__caption .h-md { color: var(--white); }
@media (min-width: 768px) {
  .hero-home__caption { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.hero-home__kicker { display: block; margin-bottom: var(--space-2xs); color: var(--tertiary-fixed-dim); }
.hero-home__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  align-self: flex-start;
  padding: var(--space-xs) var(--space-md);
  border-radius: 999px;
  background: rgba(6, 20, 38, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--surface-highest);
  white-space: nowrap;
}
.hero-home__badge .icon { color: var(--tertiary-fixed-dim); }
@media (min-width: 768px) {
  .hero-home__badge { align-self: auto; }
}

.stat-rail { display: flex; flex-direction: column; gap: var(--space-md); justify-content: space-between; }
.stat-rail .card { display: flex; flex-direction: column; gap: var(--space-xs); }

/* ---------- Inner-page hero (dark) ---------- */
.page-hero { color: var(--on-dark); }
.page-hero .grid-pattern { color: var(--white); }
.page-hero__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.page-hero__inner > * { max-width: 56rem; }
.page-hero .lead { max-width: 44rem; }
@media (min-width: 1024px) {
  .page-hero { padding-block: 7.5rem; }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-glass);
}
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.25; font-weight: 700; color: var(--white); }
.hero-stats span { display: block; margin-top: var(--space-2xs); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- Callout ---------- */
.callout { display: flex; align-items: flex-start; gap: var(--space-md); }
.callout h3 { margin-bottom: var(--space-2xs); }

/* ---------- Territories ---------- */
.territories { display: flex; flex-direction: column; gap: var(--space-lg); box-shadow: var(--shadow-md); }
.territory-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.territory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  background: var(--surface-low);
  transition: background-color 0.2s, color 0.2s;
}
.territory:hover { background: var(--deep-ocean); color: var(--white); }
.territory__main { display: flex; align-items: center; gap: var(--space-sm); min-width: 0; }
.territory__icon { flex-shrink: 0; }
.territory__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-highest);
  color: var(--deep-ocean);
  transition: background-color 0.2s, color 0.2s;
}
.territory__icon .icon { font-size: 1rem; }
.territory:hover .territory__icon { background: var(--abyssal); color: var(--white); }
.territory__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; line-height: 1.4; }
.territory__desc { display: block; font-size: 0.75rem; line-height: 1.4; color: var(--slate); transition: color 0.2s; }
.territory:hover .territory__desc { color: var(--primary-fixed-dim); }
.territory__tag { white-space: nowrap; font-family: var(--font-display); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); }
.territory:hover .territory__tag { color: var(--tertiary-fixed-dim); }
@media (max-width: 419px) {
  .territory__tag { display: none; }
}
.territories__media { height: 11rem; border-radius: var(--radius-lg); }
.territories__media::after { background: rgba(6, 20, 38, 0.5); }
.territories__media .media__caption { top: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }

/* ---------- Segment bento (home) ---------- */
.segment {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.segment:hover { box-shadow: var(--shadow-xl); }
.segment__media { height: 18rem; border-radius: 0; }
.segment__media::after { background: linear-gradient(to top, var(--deep-ocean), rgba(10, 25, 47, 0.4) 55%, transparent); }
.segment__media .media__caption { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md); }
.segment__media .media__caption .label { display: block; margin-bottom: var(--space-2xs); color: var(--tertiary-fixed-dim); }
.segment__badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-container);
  color: var(--white);
  flex-shrink: 0;
}
.segment__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); flex: 1; }
@media (min-width: 1024px) {
  .segment__body { padding: var(--space-xl); }
}
.segment__tiles { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 640px) {
  .segment__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.segment--dark { background: var(--deep-ocean); color: var(--on-dark); }
.segment--dark .segment__media { height: 16rem; }
.segment--dark .segment__media::after { background: linear-gradient(to top, var(--deep-ocean), transparent 70%); }
.segment--dark .segment__body { justify-content: space-between; }
.segment--wide { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .segment--wide { grid-template-columns: 5fr 7fr; }
  .segment--wide .segment__media { height: auto; min-height: 100%; }
  .segment--wide .segment__body { padding: var(--space-2xl); justify-content: center; }
}
.segment--wide .segment__media::after { background: linear-gradient(to right, transparent, rgba(10, 25, 47, 0.3)); }

/* ---------- Partner cards ---------- */
.partner-card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); }
.partner-card__body { display: flex; flex-direction: column; gap: var(--space-md); }
.partner-card__city { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--secondary); white-space: nowrap; }
.partner-card .card__head { flex-wrap: wrap; }
.partner-card__logo { height: 2rem; width: auto; max-width: 8rem; object-fit: contain; }

.section-head__aside { max-width: 28rem; }

/* ---------- Strategic partners ---------- */
.partners-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .partners-hero__meta { flex-direction: row; align-items: center; gap: var(--space-xl); }
}
.partners-hero__cities { font-size: 0.75rem; color: var(--on-dark-muted); }
.partners-hero__cities span { margin-inline: var(--space-2xs); opacity: 0.5; }

.anchor-bar { background: var(--surface-low); padding-block: var(--space-lg); }
.anchor-bar__inner { display: flex; flex-direction: column; gap: var(--space-md); }
@media (min-width: 768px) {
  .anchor-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.anchor-bar__title { display: flex; align-items: center; gap: var(--space-md); }
.anchor-bar__links { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.anchor-bar__links a {
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-lg);
  background: var(--surface-container);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
  transition: background-color 0.2s;
}
.anchor-bar__links a:hover { background: var(--surface-high); color: var(--on-surface); }

.partner-list { display: flex; flex-direction: column; gap: var(--space-2xl); }
.partner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.partner:hover { box-shadow: var(--shadow-xl); }
@media (min-width: 1024px) {
  .partner { flex-direction: row; align-items: stretch; gap: var(--space-2xl); padding: var(--space-xl); }
  .partner--reverse { flex-direction: row-reverse; }
  .partner__info { flex: 0 0 calc(41.666% - var(--space-xl)); }
  .partner__media { flex: 1; }
}
.partner__info { display: flex; flex-direction: column; gap: var(--space-md); }
.partner__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.partner__logo { height: 2.5rem; width: auto; max-width: 9rem; object-fit: contain; object-position: left center; }
.partner__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: auto 0 0;
  padding-top: var(--space-xs);
}
.partner__facts div { padding: var(--space-sm); border-radius: var(--radius-lg); background: var(--surface-container); }
.partner__facts dt { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--deep-ocean); }
.partner__facts dd { margin: 0; font-size: 0.75rem; line-height: 1.35; color: var(--slate); }
.partner__media { min-height: 18.75rem; border-radius: var(--radius-lg); }
.partner__media > img { mix-blend-mode: luminosity; opacity: 0.6; }
.partner__media::after { background: linear-gradient(to top, var(--abyssal), rgba(10, 25, 47, 0.6) 50%, transparent); }
.partner__media .label { display: flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-xs); }
.partner__media .h-md { color: var(--white); max-width: 30rem; }

.pillar { display: flex; flex-direction: column; gap: var(--space-sm); }
.pillar .icon-badge { width: 3rem; height: 3rem; margin-bottom: var(--space-xs); }

.cta { background: rgba(224, 227, 231, 0.4); text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); }
.cta__inner .h-xl, .cta__inner .lead { max-width: 48rem; }
.cta__icon { width: 4rem; height: 4rem; background: var(--deep-ocean); color: var(--tertiary-fixed); box-shadow: var(--shadow-md); }
.cta .hero-home__actions { justify-content: center; }

/* ---------- About ---------- */
.industries { display: flex; flex-direction: column; gap: var(--space-sm); }
@media (min-width: 640px) {
  .industries__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.industries__list { font-size: 0.875rem; }
.about-hq { height: 20rem; margin: 0; box-shadow: var(--shadow-md); }
.about-hq .media__caption .label { display: block; margin-bottom: var(--space-2xs); }
.about-hq .h-sm { color: var(--white); }
.mv-card { display: flex; flex-direction: column; gap: var(--space-sm); }
.values-intro { max-width: 56rem; }
.value { display: flex; flex-direction: column; gap: var(--space-md); }
.value .icon-badge { width: 3rem; height: 3rem; border-radius: var(--radius-xl); }

.strengths { counter-reset: none; }
.strength {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--deep-ocean);
}
.strength .icon-badge { width: 3rem; height: 3rem; flex-shrink: 0; background: var(--deep-ocean); color: var(--tertiary-fixed-dim); }

/* Timeline */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  display: grid;
  gap: var(--space-md);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.4375rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-container), var(--deep-ocean));
  opacity: 0.35;
}
.timeline__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--secondary-container);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.4; color: var(--deep-ocean); }
.timeline__card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}
.timeline__card img { width: 6.5rem; height: 2.5rem; object-fit: contain; flex-shrink: 0; }
@media (max-width: 479px) {
  .timeline__card { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .timeline__card img { object-position: left center; }
}
@media (min-width: 768px) {
  .timeline { padding-left: 0; gap: var(--space-sm); }
  .timeline::before { left: 7.4375rem; }
  .timeline__item { grid-template-columns: 6rem 1fr; gap: 3rem; align-items: center; }
  .timeline__item::before { left: 6.95rem; top: 50%; transform: translateY(-50%); }
  .timeline__year { text-align: right; }
}

/* Regions */
.region { display: flex; flex-direction: column; gap: var(--space-xs); }
.region .card__head { margin-bottom: var(--space-sm); }
.region__num {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-container);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-ocean);
}
.region .h-md { transition: color 0.2s; }
.region:hover .h-md { color: var(--secondary); }
.region__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--slate);
}

/* Contact bar (dark) */
.contact-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-2xl);
  background: var(--abyssal);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}
@media (min-width: 1024px) {
  .contact-bar { grid-template-columns: 7fr 5fr; align-items: center; padding: var(--space-2xl); }
}
.contact-bar .label { display: flex; align-items: center; gap: var(--space-xs); }
.contact-bar__box {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid var(--border-glass);
}
.contact-bar__link { color: var(--secondary-fixed); font-weight: 600; }
.contact-bar__link:hover { color: var(--white); }
.text-on-dark { color: var(--white); font-weight: 500; }
.contact-bar .btn { white-space: normal; overflow-wrap: anywhere; text-align: left; }

/* ---------- Our Businesses ---------- */
.segment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding: 0.375rem;
  border-radius: var(--radius-xl);
  background: rgba(6, 20, 38, 0.9);
  box-shadow: var(--shadow-xl);
}
.segment-tabs__btn {
  padding: var(--space-xs) var(--space-md);
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.segment-tabs__btn:hover { background: var(--deep-ocean); color: var(--white); }
.segment-tabs__btn[aria-pressed="true"] { background: var(--secondary-container); color: var(--white); }

.facts-ribbon { background: var(--white); box-shadow: var(--shadow-sm); position: relative; }
.facts-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin: 0;
  padding-block: var(--space-xl);
}
@media (min-width: 1024px) {
  .facts-ribbon__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.facts-ribbon dt { margin-bottom: var(--space-2xs); }
.facts-ribbon dd { margin: 0; }
.facts-ribbon strong { display: block; font-family: var(--font-display); font-size: 2.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--deep-ocean); }
@media (min-width: 1024px) {
  .facts-ribbon strong { font-size: 3rem; }
}
.facts-ribbon span { font-size: 0.875rem; color: var(--slate); }

.logo-strip { padding-block: var(--space-xl); border-top: 1px solid var(--border-subtle); background: var(--white); }
.logo-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-xl) var(--space-2xl); }
.logo-strip img { height: 3.25rem; width: auto; max-width: 9rem; object-fit: contain; }

.segment-label { display: flex; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-2xs); }
.segment-label__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }

.partner-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  align-self: flex-start;
  padding: var(--space-md);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.section--alt .partner-badge { background: var(--white); }
.section:not(.section--alt) .partner-badge { background: var(--surface-container); box-shadow: none; }
.partner-badge .icon-badge { width: 3rem; height: 3rem; background: var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) {
  .partner-badge { align-self: auto; }
}

.biz-list { display: flex; flex-direction: column; gap: var(--gutter-lg); }
.biz {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}
@media (min-width: 1024px) {
  .biz { grid-template-columns: 5fr 7fr; }
  .biz--reverse { grid-template-columns: 7fr 5fr; }
  .biz--reverse .biz__media { order: 2; }
  .biz--stacked { grid-template-columns: 1fr; }
}
.biz__media { min-height: 16rem; border-radius: 0; }
.biz__media::after { background: linear-gradient(to top, rgba(6, 20, 38, 0.55), transparent 50%); }
.biz__media .media__tag { background: rgba(10, 25, 47, 0.9); color: var(--white); }
.biz--stacked .biz__media { min-height: 18rem; }
@media (min-width: 1024px) {
  .biz--stacked .biz__media > img { object-position: center 30%; }
}
.biz__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); padding: var(--space-lg); }
@media (min-width: 1024px) {
  .biz__body { padding: var(--space-xl); }
}
.biz__head { display: flex; align-items: center; gap: var(--space-md); }
.biz__logo { height: 3rem; width: auto; max-width: 6rem; object-fit: contain; }
.biz__logo--wide { max-width: 9rem; height: 2.5rem; }

.dc-stack { display: flex; flex-direction: column; gap: var(--gutter-lg); }
.dc-card { flex: 1; display: flex; flex-direction: column; gap: var(--space-sm); }

.mhi-heading { margin: var(--space-2xl) 0 var(--space-lg); }
.seg-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.seg-card__logo { height: 2.5rem; width: auto; max-width: 10rem; object-fit: contain; margin-bottom: var(--space-xs); }
.seg-card__logos { display: flex; align-items: center; gap: var(--space-md); }
.seg-card__logos .seg-card__logo { max-width: 7rem; }
.seg-card .link-arrow { margin-top: auto; }
.seg-card__links { display: flex; gap: var(--space-lg); margin-top: auto; }

.future-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
  border-radius: 1.5rem;
  background: var(--abyssal);
  box-shadow: var(--shadow-xl);
  position: relative;
}
.future-card .stack { max-width: 44rem; }
@media (min-width: 1024px) {
  .future-card { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--space-2xl); }
}

.compliance { background: var(--surface-container); padding-block: var(--space-xl); }
.compliance__inner { display: flex; flex-direction: column; gap: var(--space-md); }
@media (min-width: 768px) {
  .compliance__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.compliance__title { display: flex; align-items: center; gap: var(--space-md); }
.compliance__title .icon-badge { background: var(--surface-highest); }
.compliance__list { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.compliance__list li { display: flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }

/* ---------- Contact ---------- */
@media (min-width: 1024px) {
  .page-hero--compact { padding-block: var(--space-3xl); }
}
.contact-hq { border-radius: var(--radius-2xl); overflow: hidden; background: var(--white); box-shadow: var(--shadow-md); }
.contact-hq__media { height: 14rem; margin: 0; border-radius: 0; }
.contact-hq__media::after { background: linear-gradient(to top, rgba(6, 20, 38, 0.4), transparent 60%); }
.contact-hq__body { padding: var(--space-lg); }
@media (min-width: 1024px) {
  .contact-hq__body { padding: var(--space-xl); }
}
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.contact-lines li { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
.contact-lines a { color: var(--secondary); font-weight: 600; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--deep-ocean); text-decoration: underline; text-underline-offset: 3px; }
.contact-lines--sm { font-size: 0.875rem; }
.contact-lines--sm .icon { font-size: 1rem; color: var(--slate); }
.inquiry { display: flex; flex-direction: column; gap: var(--space-sm); }
.inquiry__email {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  overflow-wrap: anywhere;
}
.inquiry__email:hover { color: var(--secondary-fixed); }
.inquiry__email--light { color: var(--deep-ocean); }
.inquiry__email--light:hover { color: var(--secondary); }
@media (min-width: 1024px) {
  .inquiry__email { font-size: 1.5rem; }
}
.company { display: flex; flex-direction: column; gap: var(--space-sm); }
.company address { line-height: 1.6; }
.company .contact-lines { margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--border-subtle); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   WordPress
   ========================================================================== */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-nav { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .mobile-nav { top: var(--header-h); }
}
.mobile-nav__list .current-menu-item > a { color: var(--secondary); }

/* Text written in the WordPress editor */
.cpl-richtext > * + * { margin-top: var(--space-md); }
.cpl-richtext p { margin: 0; }
.cpl-richtext ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xs) var(--space-md);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  color: var(--slate);
}
.cpl-richtext ul li { display: flex; align-items: center; gap: var(--space-xs); min-width: 0; }
.cpl-richtext ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}
@media (max-width: 399px) {
  .cpl-richtext ul { grid-template-columns: minmax(0, 1fr); }
}
.cpl-richtext strong { color: var(--deep-ocean); font-weight: 600; }
.cpl-richtext em { color: var(--slate); }
.cpl-richtext a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.timeline__card .cpl-richtext p { margin: 0; }
.prose img { border-radius: var(--radius-lg); }
.prose .alignleft { float: left; margin: 0 var(--space-lg) var(--space-md) 0; }
.prose .alignright { float: right; margin: 0 0 var(--space-md) var(--space-lg); }
.prose .aligncenter { margin-inline: auto; }
.prose figure { margin: var(--space-lg) 0; }
.prose figcaption { font-size: 0.875rem; color: var(--slate); }
