/* Tardigrad Group — brand palette: Midnight Navy, Resilience Teal, Titanium Silver, Cloud White, Graphite Slate */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --navy: #0d1b2a;
  --navy-2: #16283b;
  --teal: #0e7c7b;
  --teal-dark: #0a5f5e;
  --teal-pale: #dcefed;
  --mist: #eaf3f3;
  --silver: #c5ccd3;
  --cloud: #f5f7fa;
  --slate: #3a4654;
  --white: #ffffff;
  --on-navy: #c9d3dd;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4b;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --radius: 6px;
  --logo-cut: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 650; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }

.skip-link { position: absolute; left: -999px; top: 12px; z-index: 50; background: var(--navy); color: var(--white); padding: 10px 14px; }
.skip-link:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 0.95rem/1.1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline { border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-text { padding: 0; min-height: 0; border: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; margin-top: 8px; }
.btn-whatsapp { background: var(--whatsapp-dark); color: var(--white); }
.btn-whatsapp:hover { background: #0e7340; }
.btn-whatsapp-outline { background: var(--white); border-color: var(--whatsapp-dark); color: var(--whatsapp-dark); }
.btn-whatsapp-outline:hover { background: #eafaf0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--silver); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.logo { display: block; height: 28px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
  color: var(--navy); text-decoration: none; font: 500 0.93rem/1 var(--sans);
  padding: 10px 11px; border-radius: var(--radius); background: none; border: 0; cursor: pointer;
}
a.nav-item:hover, .nav-trigger:hover { color: var(--teal); }
a.nav-item[aria-current="page"], .has-menu.is-current > .nav-trigger { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.has-menu { position: relative; padding: 0; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; background: none; border: 0; padding: 10px 11px; cursor: pointer; }
.nav-trigger span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.submenu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(13,27,42,.12);
}
.submenu a { display: block; padding: 10px 12px; color: var(--navy); text-decoration: none; border-radius: 4px; font-size: 0.93rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--cloud); color: var(--teal); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { display: block; }
.nav-cta { margin-left: 10px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--silver); border-radius: var(--radius);
  padding: 9px 14px; font: 600 0.9rem var(--sans); color: var(--navy); cursor: pointer;
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--cloud) 0%, var(--mist) 100%); color: var(--navy); padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid #dde3e8; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kicker { color: var(--teal-dark); font-weight: 600; margin-bottom: 18px; }
.hero h1 { max-width: 15ch; }
.lead { font-size: 1.18rem; line-height: 1.55; max-width: 60ch; margin: 22px 0 30px; }
.hero .lead, .pagehead .lead { color: var(--slate); }

/* Signature element: the three business units as stacked armour layers */
.layers { margin: 0; }
.layers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.layers li { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 110ms + 120ms); }
.layers li:nth-child(1) { margin-inline: 0; }
.layers li:nth-child(2) { margin-inline: 4%; }
.layers li:nth-child(3) { margin-inline: 8%; }
.layers a {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  border-radius: 40px; text-decoration: none; color: var(--navy);
  background: var(--white); border: 1px solid #d6dde3; border-left: 6px solid var(--teal);
  box-shadow: 0 6px 20px rgba(13,27,42,.06);
  transition: transform .2s ease, border-color .2s ease;
}
.layers li:nth-child(2) a { border-left-color: #3c9a98; }
.layers li:nth-child(3) a { border-left-color: #7fbdbb; }
.layers a:hover { transform: translateX(6px); border-color: var(--teal); }
.layer-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--teal); }
.layers strong { display: block; font: 650 1.08rem/1.2 var(--display); }
.layers small { display: block; color: var(--slate); font-size: 0.88rem; margin-top: 3px; }
.layers figcaption { margin-top: 16px; text-align: center; color: var(--slate); font-size: 0.88rem; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Inner page header */
.pagehead { background: linear-gradient(180deg, var(--cloud) 0%, var(--mist) 100%); color: var(--navy); border-bottom: 1px solid #dde3e8; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 68px); }
.pagehead-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.pagehead h1 { max-width: 22ch; }
.pagehead .lead { margin-bottom: 26px; }
.pagehead .lead:last-child { margin-bottom: 0; }
.pagehead .actions:empty { display: none; }
.pagehead-img { width: clamp(180px, 24vw, 300px); height: auto; justify-self: center; }
.pagehead-icon { width: 128px; height: 128px; color: var(--teal); stroke-width: 1.1; opacity: .9; }
.crumb { font-size: 0.88rem; color: var(--slate); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb a { color: var(--teal-dark); }

/* Blocks */
.block { padding: clamp(56px, 7vw, 92px) 0; }
.block.tinted { background: var(--cloud); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-intro { color: var(--slate); font-size: 1.07rem; margin: 12px 0 0; }

.cards { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); margin: 0; }
.card-icon { width: 36px; height: 36px; color: var(--teal); margin-bottom: 16px; }
.card-link { margin-top: auto; padding-top: 16px; font-weight: 600; }
.tag { display: inline-block; align-self: flex-start; margin-bottom: 12px !important; padding: 3px 10px; border-radius: 20px; background: var(--teal-pale); color: var(--teal-dark) !important; font-size: 0.8rem; font-weight: 600; }
.contact-line { margin-top: 14px !important; font-weight: 600; color: var(--navy) !important; word-break: break-word; }

.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 24px; font-size: 0.95rem; color: var(--navy); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 11px; height: 6px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

.units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.unit { border: 1px solid var(--silver); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; align-items: flex-start; background: var(--white); }
.unit-icon { width: 44px; height: 44px; color: var(--teal); margin-bottom: 18px; }
.unit h3 { font-size: 1.35rem; margin-bottom: 10px; }
.unit p { color: var(--slate); }
.unit .ticks { margin: 0 0 26px; }
.unit .btn { margin-top: auto; }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 6vw, 80px); }
.split p { font-size: 1.07rem; max-width: 62ch; color: var(--slate); }
.split .ticks { margin-bottom: 8px; }

.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience { background: var(--cloud); border-radius: var(--radius); padding: clamp(28px, 4vw, 42px); display: flex; flex-direction: column; align-items: flex-start; }
.audience h3 { font-size: 1.4rem; margin-bottom: 10px; }
.audience p { color: var(--slate); }
.audience .ticks { margin: 4px 0 26px; }
.audience .btn { margin-top: auto; }

.statement { background: var(--teal); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.statement p { font: 600 clamp(1.3rem, 2.5vw, 1.95rem)/1.38 var(--display); max-width: 38ch; margin: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 62px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--white); font: 700 1.05rem var(--display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -8px; height: 2px; background: var(--silver); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--slate); margin: 0; }

.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--silver); }
.roadmap li { padding: 26px 28px 0 0; position: relative; }
.roadmap li::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--silver); }
.roadmap li.now::before { background: var(--teal); border-color: var(--teal); }
.roadmap .phase { font-weight: 600; color: var(--slate); font-size: 0.88rem; margin-bottom: 6px; }
.roadmap li.now .phase { color: var(--teal); }
.roadmap h3 { font-size: 1.3rem; margin-bottom: 8px; }
.roadmap li > p:last-child { color: var(--slate); }

.faq details { border-bottom: 1px solid var(--silver); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--slate); padding-bottom: 20px; margin: 0; }

.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos li { height: 96px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); padding: 16px; }
.logos img { max-height: 56px; width: auto; object-fit: contain; }
.logo-placeholder { color: var(--slate); font-size: 0.85rem; font-weight: 600; border-style: dashed !important; }
.logo-note { margin: 24px 0 0; color: var(--slate); max-width: 62ch; }

.person { background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); padding: 26px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-pale); margin-bottom: 16px; }
.person .role { color: var(--teal-dark); font-weight: 600; margin: 4px 0 10px; font-size: 0.93rem; }
.person p:last-child { color: var(--slate); margin: 0; }
.post-status { margin-top: auto !important; padding-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--slate); }

.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--slate); }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-form { background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.93rem; padding: 0; }
.req { color: var(--teal-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--navy);
  padding: 12px 14px; border: 1px solid #9aa6b2; border-radius: var(--radius); background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: #b42318; }
.hint { color: var(--slate); font-size: 0.85rem; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 0.95rem !important; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: #b42318; }
.form-aside { background: var(--mist); color: var(--navy); border: 1px solid #d6dde3; border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.form-aside h3 { margin-bottom: 4px; }
.form-aside .ticks li { color: var(--navy); }
.form-aside p { color: var(--slate); margin: 20px 0 14px; }
.form-aside .btn { width: 100%; }

/* CTA band */
.cta { background: var(--mist); color: var(--navy); border-top: 1px solid #dde3e8; padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 24ch; }
.cta p { color: var(--slate); margin: 12px 0 0; max-width: 58ch; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 64px 0 28px; }
.site-footer .brand { color: var(--white); }
.site-footer .logo { height: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.footer-tagline { color: #6fd0cc; font-weight: 600; margin: 16px 0 8px; }
.footer-brand p { max-width: 40ch; font-size: 0.93rem; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-h { color: var(--white); font: 600 0.95rem var(--sans); margin-bottom: 14px; }
.site-footer a:not(.brand) { display: block; color: var(--on-navy); text-decoration: none; font-size: 0.93rem; padding: 4px 0; }
.site-footer a:not(.brand):hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(197,204,211,.2); font-size: 0.85rem; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: var(--whatsapp); color: #06331b; border-radius: 40px; text-decoration: none;
  font: 600 0.95rem/1 var(--sans); box-shadow: 0 8px 24px rgba(13,27,42,.25);
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { background: #1fbe5a; }

/* Responsive */
@media (max-width: 1180px) {
  .site-nav .nav-item, .nav-trigger { padding-inline: 8px; font-size: 0.9rem; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--silver); padding: 8px 16px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-item, .nav-trigger { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--cloud); width: 100%; text-align: left; }
  a.nav-item[aria-current="page"], .has-menu.is-current > .nav-trigger { box-shadow: none; }
  .site-nav .has-menu.nav-item { padding: 0; border: 0; }
  .nav-trigger { justify-content: space-between; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .has-menu:hover .submenu, .has-menu:focus-within .submenu { display: none; }
  .has-menu.open .submenu { display: block; }
  .nav-cta { margin: 16px 0 0; }
  .cols-3, .units { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hero-grid, .split, .audiences { grid-template-columns: 1fr; }
  .pagehead-icon { display: none; }
  .pagehead-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--silver); }
  .roadmap li { padding: 0 0 26px 26px; }
  .roadmap li::before { top: 4px; left: -9px; }
  .layers li:nth-child(n) { margin-inline: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cols-2, .cols-3, .units, .steps, .fields { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; padding-bottom: 64px; }
  .layers a { padding: 16px 18px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }
  .form-actions .btn { width: 100%; }
}

/* Core values: a list of principles, not cards */
.values { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--silver); }
.value { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--silver); }
.value h3 { font-size: 1.5rem; color: var(--teal-dark); }
.value p { color: var(--slate); margin: 0; max-width: 64ch; }
.value .commitment { margin-top: 10px; color: var(--navy); }
.values-link { margin: 20px 0 0; }

/* Comparison table */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--silver); }
.compare thead th { font: 650 1.05rem/1.2 var(--display); color: var(--slate); }
.compare thead th.us { color: var(--white); background: var(--teal); border-radius: var(--radius) var(--radius) 0 0; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare tbody td { color: var(--slate); width: 39%; }
.compare tbody td:last-child { background: var(--mist); color: var(--navy); }
@media (max-width: 820px) {
  .value { grid-template-columns: 1fr; gap: 8px; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto !important; }
  .compare tr { background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
  .compare tbody th { padding: 14px 16px 6px; border: 0; font-size: 1.05rem; }
  .compare td { padding: 8px 16px 12px; border: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 600; color: var(--slate); margin-bottom: 2px; }
  .compare tbody td:last-child::before { color: var(--teal-dark); }
}

/* Hero map of Africa */
.hero.has-map .hero-grid { grid-template-columns: 1fr 1fr; }
.hero-map { margin: 0; text-align: center; }
.africa-map { display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto; overflow: visible; }
.am-dots circle { fill: var(--teal); opacity: .26; }
.am-links path { fill: none; stroke: var(--teal); stroke-width: 3.2; stroke-linecap: round; opacity: .75; }
.am-flow path { fill: none; stroke: #2fb3ae; stroke-width: 5; stroke-linecap: round; opacity: 0; }
.am-hub { fill: var(--teal-dark); stroke: var(--white); stroke-width: 3; }
.am-ring { fill: none; stroke: var(--teal); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hero-map figcaption { margin-top: 14px; color: var(--slate); font-size: 0.88rem; }
.layers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.layers-row li:nth-child(n) { margin-inline: 0; }
.layers-row a { height: 100%; border-radius: var(--radius); padding: 18px 20px; }
@media (max-width: 1080px) { .layers-row { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 820px) {
  .hero.has-map .hero-grid { grid-template-columns: 1fr; }
  .africa-map { max-width: 360px; }
}

/* Dot dome pattern from the logo, used faintly behind key bands */
.hero, .statement, .cta, .block.navy { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .statement::before, .cta::before, .block.navy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  aspect-ratio: 420 / 230; background: no-repeat center / contain;
}
.hero::before { width: 640px; left: -170px; bottom: -40px; background-image: url(images/dome-teal.svg); opacity: .07; }
.statement::before { width: 560px; right: -90px; bottom: -70px; background-image: url(images/dome-white.svg); opacity: .13; }
.cta::before { width: 520px; right: -120px; bottom: -90px; background-image: url(images/dome-teal.svg); opacity: .08; }
.block.navy::before { width: 620px; right: -160px; top: -30px; background-image: url(images/dome-white.svg); opacity: .05; }
.statement .wrap, .cta .wrap { position: relative; }

/* Navy band for contrast on light pages */
.block.navy { background: var(--navy); color: var(--white); }
.block.navy h2, .block.navy h3 { color: var(--white); }
.block.navy .section-intro, .block.navy p, .block.navy .ticks li { color: var(--on-navy); }
.block.navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.block.navy .card-icon { color: #6fd0cc; }
.block.navy a:not(.btn) { color: #6fd0cc; }
.block.navy .steps li::before { background: var(--teal); }
.block.navy .steps li:not(:last-child)::after { background: rgba(255,255,255,.18); }
.block.navy .tag { background: rgba(111,208,204,.15); color: #6fd0cc !important; }

/* Interaction polish: cards lift, buttons nudge their arrow */
.card, .unit, .audience { transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
@media (hover: hover) {
  .card:hover, .unit:hover, .audience:hover { translate: 0 -5px; box-shadow: 0 16px 34px rgba(13,27,42,.10); }
  .card:hover { border-color: #9fc9c8; }
  .block.navy .card:hover { box-shadow: 0 16px 34px rgba(0,0,0,.35); border-color: rgba(111,208,204,.45); }
}
.btn:is(.btn-primary, .btn-ghost, .btn-outline, .btn-text):not(.btn-sm)::after, .card-link::after {
  content: "\2192"; display: inline-block; margin-left: 8px; transition: translate .2s ease;
}
.btn:is(.btn-primary, .btn-ghost, .btn-outline, .btn-text):not(.btn-sm):hover::after, .card-link:hover::after { translate: 4px 0; }

/* Light first step: ask about a brand */
.quickask-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.quickask-band .section-intro { margin-top: 10px; }
.quick-ask label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.quick-ask-row { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-ask-row input { flex: 1 1 220px; min-height: 48px; padding: 0 14px; font: inherit; border: 1px solid #b9c2cb; border-radius: var(--radius); background: var(--white); }
.quick-ask-row input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.quick-ask-row input[aria-invalid="true"] { border-color: #b42318; }
.quickask-band.compact { padding: clamp(36px, 5vw, 56px) 0; background: var(--mist); border-block: 1px solid #dde3e8; }
.quickask-band.compact h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.pagehead-note { margin: 16px 0 0; color: var(--slate); font-size: 0.93rem; max-width: 58ch; }
.post-link { color: inherit; text-decoration: none; }
.post-link::after { content: ""; position: absolute; inset: 0; }
.post { position: relative; }
.post-link:hover { color: var(--teal); }
.post:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.logo-name { font-weight: 650; color: var(--navy); }
.prose ul { color: var(--slate); padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }
@media (max-width: 820px) { .quickask-inner { grid-template-columns: 1fr; } .quick-ask-row .btn { flex: 1 1 100%; } }

/* Motion: only switched on by site.js when the browser supports it and the visitor hasn't asked for reduced motion */
html.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 80ms); }
html.motion .reveal.is-visible { opacity: 1; transform: none; }

/* Business unit icons: check draws in, server lights blink, network nodes pulse */
.i-node, .i-led { transform-box: fill-box; transform-origin: center; }
html.motion .unit .i-draw, html.motion .layers .i-draw, html.motion .pagehead-icon .i-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion .unit.is-visible .i-draw { animation: draw .9s .25s ease forwards; }
html.motion .layers .i-draw, html.motion .pagehead-icon .i-draw { animation: draw .9s .7s ease forwards; }
html.motion .unit.is-visible .i-led, html.motion .layers .i-led, html.motion .pagehead-icon .i-led { animation: blink 2.4s 1s ease-in-out 2; }
html.motion .unit.is-visible .i-led-2, html.motion .layers .i-led-2, html.motion .pagehead-icon .i-led-2 { animation-delay: 1.4s; }
html.motion .unit.is-visible .i-node, html.motion .layers .i-node, html.motion .pagehead-icon .i-node { animation: pulse 1s 1s ease-in-out 2; }
html.motion .unit.is-visible .i-node-2, html.motion .layers .i-node-2, html.motion .pagehead-icon .i-node-2 { animation-delay: 1.2s; }
html.motion .unit.is-visible .i-node-3, html.motion .layers .i-node-3, html.motion .pagehead-icon .i-node-3 { animation-delay: 1.4s; }
html.motion .unit:hover .unit-icon, html.motion .layers a:hover .layer-icon { animation: lift .5s ease; }
/* Map: links draw in one by one, then light travels along them and the hubs pulse */
html.motion .am-dots { animation: fade 1s ease both; }
html.motion .am-links path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s ease forwards; animation-delay: calc(var(--k) * 140ms + 500ms); }
html.motion .am-hub { transform-box: fill-box; transform-origin: center; animation: pop .5s ease both; animation-delay: calc(var(--k) * 120ms + 300ms); }
html.motion .am-ring { animation: ring 3.2s ease-out infinite; animation-delay: calc(var(--k) * 400ms + 1.8s); }
html.motion .am-flow path { stroke-dasharray: .07 .93; stroke-dashoffset: 1; animation: flow 3.6s linear infinite; animation-delay: calc(var(--k) * 330ms + 2s); }
html.motion .reveal.is-visible:is(.card, .unit, .audience) {
  transition: opacity .6s ease calc(var(--d, 0) * 80ms), transform .6s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * 80ms),
              translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
html.motion .pagehead-img { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes flow { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -.07; opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes lift { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } }

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

/* ===== Visual refresh, 26 Nov 2026 (backup: ../site-backups/) ===== */
/* 1. Section headings get a short teal rule, echoing the logo, so long pages scan in clear chapters */
.section-head h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--teal); margin-bottom: 18px; }
.block.navy .section-head h2::before { background: #6fd0cc; }

/* 2. Inner page headers: the dot dome fills the empty right side when a page has no picture or icon */
.pagehead { position: relative; overflow: hidden; isolation: isolate; }
.pagehead:not(:has(.pagehead-img, .pagehead-icon))::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 560px; aspect-ratio: 420 / 230; right: -60px; bottom: -40px;
  background: url(images/dome-teal.svg) no-repeat center / contain; opacity: .14;
}
.pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal) 0 33%, #3c9a98 33% 66%, #7fbdbb 66%); }

/* 3. "Who we work with": white panels with the teal top edge used by the unit cards, instead of flat grey */
.audience { background: var(--white); border: 1px solid var(--silver); border-top: 4px solid var(--teal); }
.audience:nth-child(2) { border-top-color: var(--navy); }

/* 4. Grids of three that end with two cards: the last card spans the gap instead of leaving a hole */
@media (min-width: 1081px) { .cols-3 > :last-child:nth-child(3n+2) { grid-column: span 2; } }

/* 5. Mobile: tighter hero, equal full-width buttons, no repeat of the three units right above the same list */
@media (max-width: 820px) {
  .hero .layers-row { display: none; }
  .hero.has-map .hero-grid { gap: 24px; }
  .africa-map { max-width: 300px; }
}
@media (max-width: 600px) {
  .hero .actions .btn, .pagehead .actions .btn, .cta .actions .btn { flex: 1 1 100%; }
  .section-head h2::before { margin-bottom: 14px; }
}

/* ===== UI + brand review fixes, 26 Nov 2026 ===== */
/* WCAG AA: white text on the WhatsApp button was 4.3:1, now 4.9:1 (same recognisable green) */
:root { --whatsapp-dark: #11823f; }
.btn-whatsapp:hover { background: #0c6a33; }
/* WCAG AA: teal text on the pale mist bands was 4.44:1, use the darker teal there (6.6:1) */
:is(.cta, .quickask-band, .form-aside, .hero) a:not(.btn) { color: var(--teal-dark); }
/* WCAG 1.4.11: form field borders were 2.5:1 and 1.8:1 against white, now 3.7:1 so fields are visible */
.field input, .field select, .field textarea, .quick-ask-row input { border-color: #7a8794; }
/* Every button gets a pressed state and a clear disabled state (used while a form is sending) */
.btn:active { translate: 0 1px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
/* Touch targets: footer links were about 32px tall on phones, now 44px */
@media (max-width: 820px) {
  .site-footer a:not(.brand) { padding: 10px 0; min-height: 44px; }
  .footer-grid { row-gap: 20px; }
}
