@charset "UTF-8";
/* Onambula Investment Group CC — onambula.com.na
 *
 * DESIGN: Option B, "Bold" — chosen by Franco 26 Oct 11:29, then enhanced.
 *
 * The bold contractor idiom (dark hero, sticky top bar, heavy sans) is deliberately
 * kept. What changed is everything that made it generic:
 *
 *  - The hero sits on a generated technical-drawing ground, not a stock photo and not
 *    a bare dark panel. Onambula has no usable photography; an engineering grid is
 *    honest about what they do and is ours, not a library image.
 *  - Figures are set in Spectral, a serif, against Inter everywhere else. The numbers
 *    are this company's whole argument, so they get their own voice.
 *  - Red is structural — nav underline, section rules, card edge, bullet marks — not
 *    only button fill.
 *  - Mobile navigation actually exists. The first cut hid every nav link below 860px
 *    and left only the CTA, stranding phone users on whatever page they landed on.
 */

@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../fonts/Spectral-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("../fonts/Spectral-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --red: #c42027;
  --red-dark: #9a191f;
  --red-bright: #ff8d92;
  --ink: #16161a;
  --ink-2: #212126;
  --soft: #55555d;
  --line: #e4e2de;
  --line-strong: #8a8378;
  --bg: #f6f5f2;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Spectral", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 64ch;

  --xs: clamp(.74rem, .72rem + .1vw, .8rem);
  --sm: clamp(.87rem, .85rem + .12vw, .94rem);
  --base: clamp(1rem, .96rem + .2vw, 1.08rem);
  --lg: clamp(1.18rem, 1.1rem + .4vw, 1.42rem);
  --xl: clamp(1.7rem, 1.45rem + 1.2vw, 2.6rem);
  --xxl: clamp(2.3rem, 1.7rem + 2.8vw, 4.1rem);

  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--red);
  --shadow: 0 1px 2px rgb(22 22 26 / 5%), 0 14px 32px -18px rgb(22 22 26 / 28%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; font-family: var(--sans); font-size: var(--base); line-height: 1.65;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.024em; text-wrap: balance; }
h1 { font-size: var(--xxl); }
h2 { font-size: var(--xl); }
h3 { font-size: var(--lg); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.stack > * + * { margin-top: 1.1rem; }
.soft { color: var(--soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; background: var(--red); color: #fff; padding: .75rem 1.2rem; z-index: 100; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Sticky top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 1rem; min-height: 78px; }
.top__logo { margin-right: auto; display: block; }
.top__logo img { height: 42px; width: auto; }
.topnav { display: flex; gap: clamp(.5rem, 1.8vw, 1.6rem); align-items: center; }
.topnav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--sm);
  padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.topnav a:hover { border-bottom-color: var(--line-strong); }
/* Exclude the CTA: red-dark text on the red button fails contrast badly. */
.topnav a[aria-current="page"]:not(.cta) { border-bottom-color: var(--red); color: var(--red-dark); }
.topnav .cta[aria-current="page"] { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.topnav .cta {
  background: var(--red); color: #fff; padding: .65rem 1.2rem; border-radius: 3px;
  border: 2px solid var(--red); margin-left: .4rem;
}
.topnav .cta:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.navtoggle { display: none; }
@media (max-width: 900px) {
  .navtoggle {
    display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-size: var(--sm);
    font-weight: 700; background: none; border: 1px solid var(--line-strong); color: var(--ink);
    padding: .55rem .9rem; border-radius: 3px; cursor: pointer;
  }
  .topnav {
    display: none; position: absolute; inset: 78px 0 auto; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .25rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .topnav[data-open="true"] { display: flex; }
  .topnav a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .topnav .cta { margin: .9rem 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
/* Generated technical-drawing ground: fine grid plus setting-out lines. Ours, not stock. */
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 7%) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
}
.hero__bars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 58%, rgb(196 32 39 / 92%) 58% 67%, transparent 67%),
    linear-gradient(118deg, transparent 0 70%, rgb(255 255 255 / 10%) 70% 76%, transparent 76%),
    linear-gradient(118deg, transparent 0 79%, rgb(196 32 39 / 35%) 79% 82%, transparent 82%);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0 38%, rgb(22 22 26 / 86%) 52%, rgb(22 22 26 / 0%) 76%);
}
@media (max-width: 780px) {
  .hero__scrim { background: linear-gradient(90deg, var(--ink) 0 56%, rgb(22 22 26 / 92%) 100%); }
}
/* hero__in is a CHILD of .wrap, never the same element: a max-width on a .wrap div
   turns its margin-inline:auto into centring, which indented the whole hero. */
.hero__in { position: relative; z-index: 3; padding-block: clamp(3.5rem, 9vw, 8rem); max-width: 46ch; margin-inline: 0; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--red-bright); display: block; }
.kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: var(--xs); font-weight: 700;
  color: var(--red-bright); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .7rem;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--red); display: block; }
.hero .lede { font-size: var(--lg); color: #d6d7da; margin: 1.1rem 0 2rem; max-width: 42ch; }
.hero__foot {
  position: relative; z-index: 3; border-top: 1px solid rgb(255 255 255 / 12%);
  padding-block: 1rem 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem 2rem;
  font-size: var(--xs); letter-spacing: .1em; text-transform: uppercase; color: #9b9ca1;
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn {
  display: inline-block; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .9rem 1.7rem; border-radius: 3px; border: 2px solid transparent;
  font-size: var(--base); font-family: inherit;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--p { background: var(--red); color: #fff; border-color: var(--red); }
.btn--p:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--g { border-color: currentColor; color: inherit; background: none; }
.btn--g:hover { background: rgb(255 255 255 / 12%); color: inherit; }
.btn--d { border-color: var(--ink); color: var(--ink); }
.btn--d:hover { background: var(--ink); color: #fff; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(3rem, 7vw, 6rem); }
.sec--g { background: var(--bg); }
.sec--d { background: var(--ink); color: #e6e6e9; }
.sec--d h2, .sec--d h3 { color: #fff; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: var(--xs); font-weight: 700;
  color: var(--red); margin: 0 0 .8rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: block; }
.sec--d .eyebrow { color: var(--red-bright); }

/* ---------- Stat strip: figures in the serif ---------- */
.stats { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  background: var(--line); border: 1px solid var(--line); }
.stat { background: #fff; padding: 1.7rem 1.35rem; }
.stat b { display: block; font-family: var(--serif); font-weight: 800; font-size: var(--xl);
  color: var(--red); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: var(--xs); color: var(--soft); margin-top: .5rem;
  text-transform: uppercase; letter-spacing: .08em; }
.sec--d .stats { background: #2e2e34; border-color: #2e2e34; }
.sec--d .stat { background: var(--ink-2); }
.sec--d .stat b { color: var(--red-bright); }
.sec--d .stat span { color: #9b9ca1; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.7rem);
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); margin-top: 2.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 1.7rem;
  border-top: 4px solid var(--red); display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card p { margin: 0 0 .6rem; color: var(--soft); font-size: var(--sm); }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--ink); }
.card ul { margin: .9rem 0 0; padding: 0; list-style: none; font-size: var(--sm); color: var(--soft); }
.card ul li { padding-left: 1.05rem; position: relative; margin-bottom: .28rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--red); }
.tag { align-self: flex-start; margin-top: auto; padding-top: 1rem; font-size: var(--xs);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--red); }

/* ---------- Ledger ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
table.ledger { width: 100%; border-collapse: collapse; font-size: var(--sm); min-width: 760px; }
table.ledger caption { text-align: left; padding: 1rem 1.2rem; font-size: var(--xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--soft); border-bottom: 1px solid var(--line); }
table.ledger th, table.ledger td { text-align: left; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.ledger thead th { background: var(--bg); font-size: var(--xs); text-transform: uppercase;
  letter-spacing: .08em; font-weight: 700; color: var(--soft); }
table.ledger td.n { color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; width: 2.8rem; }
table.ledger td.val, table.ledger th.val { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.ledger tbody tr:hover { background: #fffdfd; }
.q { color: var(--soft); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0; }
.filters button { font: inherit; font-size: var(--sm); font-weight: 600; cursor: pointer;
  padding: .45rem 1.05rem; border: 1px solid var(--line-strong); background: #fff; color: var(--soft); border-radius: 100px; }
.filters button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Record breakdown ---------- */
.grid3 { display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.2rem; }
.grid3 h3 { font-size: var(--xs); text-transform: uppercase; letter-spacing: .12em;
  color: var(--soft); font-weight: 700; border-bottom: 2px solid var(--red);
  padding-bottom: .6rem; margin-bottom: .4rem; }
table.mini { width: 100%; border-collapse: collapse; font-size: var(--sm); }
table.mini td { padding: .48rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.mini td.n { text-align: right; width: 2.6rem; font-variant-numeric: tabular-nums;
  font-weight: 700; padding-right: .6rem; font-family: var(--serif); }
table.mini td.val { text-align: right; font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; }
table.mini td.barcell { width: 40%; padding-right: .9rem; }
.bar { display: block; height: 7px; background: var(--line); }
.bar > span { display: block; height: 100%; width: var(--w); background: var(--red); }

/* ---------- Definition list (team, capability detail) ---------- */
.deflist { margin: 2.2rem 0 0; }
.deflist > div { padding: 1.7rem 0; border-top: 1px solid var(--line); display: grid; gap: .5rem 2.5rem; }
@media (min-width: 780px) { .deflist > div { grid-template-columns: 16rem 1fr; } }
.deflist h3 { margin: 0; }
.deflist p { margin: 0 0 .5rem; color: var(--soft); }
.deflist ul { margin: .7rem 0 0; padding: 0; list-style: none; font-size: var(--sm); color: var(--soft); }
.deflist ul li { padding-left: 1.05rem; position: relative; margin-bottom: .25rem; }
.deflist ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--red); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; max-width: 34rem; margin-top: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: var(--xs); text-transform: uppercase; letter-spacing: .09em; color: var(--soft); }
.field input, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--line-strong);
  border-radius: 3px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus-visible, .field textarea:focus-visible { box-shadow: var(--focus); border-color: var(--red); }
.field textarea { min-height: 8rem; resize: vertical; }
.field .hint { font-size: var(--xs); color: var(--soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--red); background: var(--bg); margin-bottom: 1.5rem; }
.notice--ok { border-left-color: #2e6b35; background: #f1f8f2; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #a8a9ae; padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem; font-size: var(--sm); }
.foot a { color: #e6e7e8; }
.foot h2 { font-size: var(--xs); color: #fff; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .85rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .35rem; }
.cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot__logo { height: 44px; width: auto; margin-bottom: 1rem; }
.legal { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid #34343a;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: var(--xs); }

/* ---------- Print: Projects doubles as a capability statement ---------- */
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  .top, .filters, .btns, .skip, .navtoggle, .hero__bars, .hero__grid, .hero__scrim { display: none !important; }
  html, body { background: #fff !important; color: #000; font-size: 9.5pt; line-height: 1.45; }
  .hero, .sec--d { background: #fff !important; color: #000 !important; }
  .hero h1, .hero h1 em, .sec--d h2, .sec--d h3 { color: #000 !important; }
  .hero .lede, .hero__foot { color: #333 !important; }
  .sec, .hero__in { padding-block: 0 !important; }
  .wrap { width: 100%; }
  h1 { font-size: 20pt; } h2 { font-size: 13pt; margin-top: 10pt; } h3 { font-size: 10pt; }
  .stats, .card { border-color: #999; box-shadow: none; }
  .stat b { color: #000; }
  table.ledger { font-size: 8pt; min-width: 0; }
  table.ledger thead { display: table-header-group; }
  table.ledger tr { page-break-inside: avoid; }
  .table-scroll { overflow: visible; border: 0; }
  .bar > span { background: #000; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 7.5pt; color: #444; }
  .foot { background: #fff !important; color: #000; border-top: 1px solid #000; page-break-inside: avoid; }
  .foot a, .foot h2 { color: #000; }
}

