/* ============================================================================
   apexis-welcome — design system
   welcome.apexisglobal.com
   ----------------------------------------------------------------------------
   - Headlines: Archivo Narrow 900 (narrow + heavy)
   - Body: Poppins (base 1.25em / 20px)
   - Flat-solid buttons (no gradient on buttons — only on backgrounds, subtle)
   - White on dark, charcoal on light — enforced via section modifiers
   ============================================================================ */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* Brand palette (pulled from Apexis logo + 2026 company profile) */
  --brand-red:        #C8302C;
  --brand-red-deep:   #8B1F1B;
  --brand-charcoal:   #141414;
  --brand-navy:       #0B1B2B;
  --brand-navy-soft:  #15263B;
  --brand-yellow:     #FED84B;
  --brand-teal:       #2E8C8C;

  --surface:          #FFFFFF;
  --surface-soft:     #F5F4F1;

  --text-on-dark:     #FFFFFF;
  --text-on-light:    #141414;
  --muted-on-dark:    rgba(255, 255, 255, 0.72);
  --muted-on-light:   rgba(20, 20, 20, 0.62);
  --rule-on-dark:     rgba(255, 255, 255, 0.12);
  --rule-on-light:    rgba(20, 20, 20, 0.10);

  /* Typography */
  --font-display: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-body:     1.25em;   /* 20px — never below 20px */
  --fs-lead:     1.375em;  /* 22px */
  --fs-eyebrow:  0.875em;
  --fs-h3:       1.75em;
  --fs-h2:       2.75em;
  --fs-h1:       4em;
  --fs-hero:     clamp(2.5rem, 5.5vw, 5rem);

  /* Spacing & layout */
  --container:      75rem;        /* 1200px */
  --section-pad-y:  clamp(4.5rem, 9vw, 8rem);
  --section-pad-x:  clamp(1.5rem, 5vw, 3rem);
  --gap-col:        clamp(2rem, 4vw, 4rem);

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
}

/* ---- Topbar (full-width white host-logo strip) -------------------------- */
.topbar {
  position: relative;
  z-index: 5;
  width: 100%;
  background: #FFFFFF;
  padding: clamp(0.55rem, 1.4vw, 0.9rem) var(--section-pad-x);
  padding-top: calc(max(env(safe-area-inset-top), 0.55rem) + 0.2rem);
  border-bottom: 1px solid rgba(10, 20, 40, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

/* Hamburger toggle (sits absolute on the right of the topbar) */
.nav-toggle {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 3vw, 2rem);
  transform: translateY(-50%);
  width: 46px;
  height: 38px;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--brand-charcoal);
  outline: none;
}
.nav-toggle:hover .nav-toggle__bar,
.nav-toggle:focus-visible .nav-toggle__bar { background: #FFFFFF; }
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--brand-charcoal);
  display: block;
  transition: background-color 120ms ease;
}

/* Full-screen overlay nav panel */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--section-pad-x);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(200, 48, 44, 0.22), transparent 60%),
    linear-gradient(160deg, #0B1B2B 0%, #15263B 100%);
  color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}
.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease;
}
.nav-panel__inner {
  width: 100%;
  max-width: 36rem;
  text-align: left;
}
.nav-panel__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 48px;
  height: 48px;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0;
  font-size: 1.6em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}
.nav-panel__close:hover,
.nav-panel__close:focus-visible {
  background: #FFFFFF;
  color: var(--brand-navy);
  outline: none;
}
.nav-panel__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.25rem;
}
.nav-panel__list a {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  padding: 0.45rem 0;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 120ms ease, transform 120ms ease, border-color 120ms ease;
}
.nav-panel__list a:hover,
.nav-panel__list a:focus-visible {
  color: var(--brand-yellow);
  transform: translateX(0.4rem);
  border-color: rgba(255, 255, 255, 0.18);
  outline: none;
}

/* Body lock when nav is open */
body.is-nav-open { overflow: hidden; }
.brandbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.8rem, 3.2vw, 2rem);
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}
.brandbar__cell {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.4rem;
}
.brandbar__cell--apexis { height: clamp(48px, 9vw, 72px); }     /* Apexis — host, full size */
.brandbar__cell--teex   { height: clamp(36px, 6.6vw, 52px); }   /* TEEX — partner, smaller */
.brandbar__cell img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.brandbar__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  transition: transform 200ms ease;
}
.brandbar__link:hover,
.brandbar__link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.brandbar__rule {
  width: 1px;
  height: 28px;
  background: rgba(10, 20, 40, 0.14);
}
@media (max-width: 480px) {
  .brandbar__rule { display: none; }
  .brandbar { gap: 1rem; }
}

/* ---- Reset (light) ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Type ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-transform: none;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.15; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25em;
  color: var(--brand-red);
}

/* Gradient text utility (use sparingly — single emphasis phrase per section) */
.grad-text {
  background: linear-gradient(90deg, var(--brand-yellow) 0%, #FF9A2E 45%, var(--brand-red) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.section--dark .eyebrow,
.section--navy .eyebrow { color: var(--brand-yellow); }

/* ---- Section shell ------------------------------------------------------- */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section--light  { background: var(--surface);        color: var(--text-on-light); }
.section--soft   { background: var(--surface-soft);   color: var(--text-on-light); }
.section--dark   { background: var(--brand-charcoal); color: var(--text-on-dark); }
.section--navy   { background: var(--brand-navy);     color: var(--text-on-dark); }

/* Subtle background gradients (backgrounds ONLY — never on buttons) */
.section--navy.section--gradient {
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(200, 48, 44, 0.18), transparent 55%),
    linear-gradient(160deg, #0B1B2B 0%, #15263B 100%);
}
.section--dark.section--gradient {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(200, 48, 44, 0.22), transparent 60%),
    linear-gradient(180deg, #141414 0%, #1d1d1d 100%);
}
.section--soft.section--gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F4F1 100%);
}

/* ---- Grids --------------------------------------------------------------- */
.col-1 { max-width: 60ch; }
.col-1--wide { max-width: none; }
.col-1--center { margin-left: auto; margin-right: auto; text-align: center; }

.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

/* Full-bleed card rail — escapes .section__inner so cards span screen width.
   Title block above stays boxed via its own .section__inner wrapper. */
.card-rail {
  margin-top: 3rem;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
}
.card-rail__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---- About TEEX section (program pillars) ------------------------------- */
.teex-pillars {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1.25rem;
}
.teex-pillars li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--brand-red);
}
.teex-pillars strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25em;
  line-height: 1.15;
  margin-bottom: 0.2em;
  color: var(--brand-charcoal);
}
.teex-pillars span {
  font-size: 1em;
  color: var(--muted-on-light);
  line-height: 1.5;
}

/* ---- TEEX identity slide (the equation) --------------------------------- */
.teex-identity {
  min-height: 100vh;
  display: grid;
  align-items: center;
}
.teex-identity .section__inner {
  text-align: center;
  max-width: 64rem;
}
.teex-eq__headline {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  margin: 0 auto 3rem;
  max-width: none;
  color: #FFFFFF;
  line-height: 1.02;
}
.teex-eq__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.teex-eq__mark {
  height: clamp(70px, 11vw, 130px);
  width: auto;
  display: block;
}
/* Both marks are now white wordmarks on navy — same size for balance */
.teex-eq__operator {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  color: var(--brand-red);
  line-height: 1;
}
.teex-eq__statement {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.teex-eq__statement > span {
  display: inline-block;
  margin: 0 0.5em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .teex-eq__statement > span { display: block; margin: 0 0 0.35em; }
}

/* ---- TEEX video section (cinematic: full-bleed bg video) ----------------- */
.teex-video {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #FFFFFF;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}
/* Background iframe: scaled to always cover the section (16:9 cover trick).
   pointer-events: none keeps it as visual background only. */
.teex-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.teex-video__bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;          /* 16:9 — wide enough at portrait viewports */
  min-height: 100vh;
  min-width: 177.78vh;       /* 16:9 — tall enough at landscape viewports */
  border: 0;
  pointer-events: none;
}
/* Dark gradient overlay for text legibility */
.teex-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,27,43,0.78) 0%, rgba(11,27,43,0.55) 45%, rgba(11,27,43,0.85) 100%);
  pointer-events: none;
}
.teex-video__content {
  position: relative;
  z-index: 2;
}
.teex-video__content .eyebrow { color: var(--brand-yellow); }
.teex-video__content h2 { color: #FFFFFF; }
.card-grid--five {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) { .card-grid--five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .card-grid--five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .card-grid--five { grid-template-columns: 1fr; } }

/* ---- Buttons (flat solid only) ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.85em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 0;
  border: 2px solid transparent;
  background: transparent;
  color: inherit;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--brand-red-deep);
  border-color: var(--brand-red-deep);
}

.btn--ghost-light {
  border-color: rgba(255,255,255,0.55);
  color: #FFFFFF;
}
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  background: #FFFFFF;
  color: var(--brand-navy);
  border-color: #FFFFFF;
}

.btn--ghost-dark {
  border-color: rgba(20,20,20,0.45);
  color: var(--brand-charcoal);
}
.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible {
  background: var(--brand-charcoal);
  color: #FFFFFF;
  border-color: var(--brand-charcoal);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  min-height: calc(100vh - var(--header-h, 96px));
  min-height: calc(100svh - var(--header-h, 96px));
  display: grid;
  align-content: center;
}
/* Higher-specificity selector so it overrides .section--navy.section--gradient,
   which would otherwise reset background-image via its `background:` shorthand. */
.hero.section--navy.section--gradient {
  background-color:    #0B1B2B;
  background-image:
    linear-gradient(170deg, rgba(11, 27, 43, 0.86) 0%, rgba(11, 27, 43, 0.94) 100%),
    radial-gradient(120% 80% at 15% 0%, rgba(200, 48, 44, 0.22), transparent 55%),
    url('../images/hero-port.jpg');
  background-size:     auto, auto, cover;
  background-position: center, center, center;
  background-repeat:   no-repeat, no-repeat, no-repeat;
}
.hero h1 {
  font-size: var(--fs-hero);
  max-width: 28ch;        /* fits "Build national capability." on one line */
}
.hero .lead {
  font-size: 1.05em;       /* smaller than default .lead under the big hero h1 */
  max-width: 52ch;
  color: var(--muted-on-dark);
  margin-top: 0.75rem;
}
.hero .lead strong { color: #FFFFFF; font-weight: 600; }

/* ---- Stats strip --------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule-on-dark);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--brand-red);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.95em;
  color: var(--muted-on-dark);
  margin-top: 0.5rem;
  line-height: 1.35;
}

/* ---- Service cards ------------------------------------------------------- */
.service-card {
  padding: 2rem 1.75rem;
  background: var(--surface-soft);
  border: 1px solid var(--rule-on-light);
  border-radius: 0;
  border-top: 4px solid var(--brand-red);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -24px rgba(20, 20, 20, 0.35);
}
.service-card h3 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}
.service-card p {
  font-size: 1em;
  color: var(--muted-on-light);
  line-height: 1.55;
}

/* ---- Principles list ----------------------------------------------------- */
.principle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.4rem;
}
.principle-list li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 1rem;
  align-items: start;
}
.principle-list li::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.45rem;
  background: var(--brand-yellow);
  display: block;
}
.principle-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35em;
  line-height: 1.1;
  margin-bottom: 0.25em;
  color: #FFFFFF;
}
.principle-list span {
  color: var(--muted-on-dark);
  font-size: 1em;
  line-height: 1.5;
}

/* ---- Leader cards -------------------------------------------------------- */
.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
}
.leader {
  text-align: center;
}
.leader__photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1.45;
  object-fit: cover;
  object-position: center 22%;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-lg);
}
.leader__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.65em;
  line-height: 1.1;
  margin-bottom: 0.25em;
}
.leader__title {
  font-size: 1em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 600;
}

/* ---- Apexis "A" mark — backdrop watermark on selected sections ---------- */
#contact .section__inner,
#about .section__inner { position: relative; z-index: 1; }
#contact::after,
#about::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 50vw, 680px);
  aspect-ratio: 1;
  background: url('../logos/apexis-mark.png') center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
/* Mid-right behind contact (dark bg) */
#contact::after { right: -6%; opacity: 0.08; }
/* Mid-left behind 'Who we are' — opposite the 'Powered by TEEX' card.
   Slightly higher opacity since the bg is light and the red mark needs to read. */
#about::after   { left: -8%;  opacity: 0.07; }

/* ---- Contact / inquiry form --------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 1rem;
  align-items: start;
  font-size: 1em;
  color: var(--muted-on-dark);
}
.contact-list li strong {
  color: #FFFFFF;
  font-weight: 600;
  display: block;
  margin-bottom: 0.1em;
}
.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 0.2em;
}
.contact-list a { color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,0.3); }
.contact-list a:hover { border-bottom-color: #FFFFFF; }

.inquiry-form {
  display: grid;
  gap: 1rem;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-on-dark);
  border-radius: var(--radius-md);
}
.inquiry-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95em;
  color: var(--muted-on-dark);
}
.inquiry-form input,
.inquiry-form textarea {
  font: inherit;
  font-size: 1em;
  padding: 0.85em 1em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-on-dark);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  outline: none;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--brand-red);
  background: rgba(255, 255, 255, 0.09);
}
.inquiry-form textarea { min-height: 6.5rem; resize: vertical; }
.inquiry-form .btn { justify-self: start; }
.form-msg {
  font-size: 0.95em;
  min-height: 1.4em;
  color: var(--muted-on-dark);
}
.form-msg--ok  { color: var(--brand-yellow); }
.form-msg--err { color: #FF7A75; }

/* ---- Footer / colophon -------------------------------------------------- */
.colophon {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-on-dark);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.9em;
  color: var(--muted-on-dark);
}
.colophon__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.colophon__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.colophon__logo {
  height: 46px;
  width: auto;
  opacity: 0.92;
  display: block;
}
.colophon__divider {
  display: inline-block;
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.14);
}
.colophon__copy {
  margin-left: 0.25rem;
}

/* Innovation partner block (IKAIA) — centered, separated by hairline */
.colophon__partner {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-on-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.colophon__partner-caption {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.colophon__partner-link {
  display: inline-block;
  transition: transform 200ms ease;
}
.colophon__partner-link:hover,
.colophon__partner-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.colophon__partner-logo {
  display: block;
  height: clamp(22px, 3.4vw, 30px);
  width: auto;
  opacity: 0.92;
  transition: opacity 200ms ease;
}
.colophon__partner-link:hover .colophon__partner-logo,
.colophon__partner-link:focus-visible .colophon__partner-logo { opacity: 1; }
.colophon__partner-meta {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}
.colophon__partner-byline {
  margin: 0.15rem 0 0;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ---- TEEX badge ---------------------------------------------------------- */
.teex-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--rule-on-dark);
  border-radius: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9em;
  color: var(--muted-on-dark);
}
.teex-badge img { height: 22px; width: auto; }
.teex-badge strong { color: #FFFFFF; font-weight: 600; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
  :root {
    --fs-h1:    3em;
    --fs-h2:    2.2em;
    /* --fs-hero is already clamp()-scaled; leave it alone */
  }
  .col-2,
  .leader-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .stat-strip   { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .hero { min-height: auto; padding-top: clamp(4rem, 14vw, 6rem); }
  .hero .lead { max-width: none; }
}

@media (max-width: 480px) {
  :root { --fs-body: 1.125em; } /* keep readable but tighten on phone */
}
