/* Yang Brothers — 2026 site styles.
   Brand: red / white / blue from the Yang Brothers logo; champagne gold is
   reserved for Capital & Investment (shared with the ConexOS value colour). */

:root {
  --navy: #0f2a5a;
  --navy-deep: #081a39;
  --blue: #0b5cad;
  --blue-soft: #a9c9ee;
  --red: #bd2839;
  --red-deep: #9a1c2c;
  --gold: #b8942f;
  --gold-ink: #85691a;
  --gold-tint: #f7f1e2;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e5ea;
  --wash: #f5f5f7;
  --paper: #ffffff;
  --warm: #fffdf9;
  --warm-line: #e7e0d2;
  --teal: #00a6a6;
  --max: 1200px;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@font-face { font-family: Roboto; src: url("assets/fonts/358e5afcaed2d57b.woff2") format("woff2"); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 14px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--wash { background: var(--wash); }
.section--navy { background: var(--navy); color: #fff; }
.section--deep { background: var(--navy-deep); color: #fff; }
[id] { scroll-margin-top: 84px; }

/* Type */
.eyebrow { display: block; font: 600 0.8rem/1.3 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section--navy .eyebrow, .section--deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-soft); }
.display { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
.title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 720px; }
.section--navy .lede, .section--deep .lede { color: rgba(255, 255, 255, 0.72); }
.muted { color: var(--muted); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head .lede { margin: 0; }
.head--stack { display: block; max-width: 820px; }
.head--stack .lede { margin-top: 20px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 980px; font: 500 0.98rem/1 var(--font); border: 1px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #e8f0fb; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.more { color: var(--blue); font-weight: 500; }
.more::after { content: " \203A"; }
.section--navy .more, .section--deep .more { color: var(--blue-soft); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 1px 12px rgba(15, 42, 90, 0.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand img { width: 164px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.9rem; }
.nav a { color: #3a3a3c; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .nav__cta { color: #fff; background: var(--navy); padding: 8px 16px; border-radius: 980px; }
.nav .nav__cta:hover, .nav .nav__cta[aria-current="page"] { color: #fff; background: var(--red); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px 4px; font: 500 0.95rem var(--font); color: var(--navy); cursor: pointer; }

/* Home hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 8s ease; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 26, 57, 0.45) 0%, rgba(8, 26, 57, 0) 16%); }
.hero__content { max-width: 760px; margin: 120px 0 104px; padding: 44px 48px 40px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.18); background: linear-gradient(115deg, rgba(8, 26, 57, 0.62), rgba(8, 26, 57, 0.34)); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 24px 60px rgba(4, 15, 34, 0.25); text-shadow: 0 1px 12px rgba(4, 15, 34, 0.35); }
.hero__content .btn { text-shadow: none; }
.hero .btn--ghost { background: rgba(8, 26, 57, 0.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .btn--ghost:hover { background: rgba(8, 26, 57, 0.45); }

.hero__title { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 26px; }
.hero__title span { display: block; }
.hero__title .c1 { color: #fff; }
.hero__title .c2 { color: var(--blue-soft); }
.hero__title .c3 { color: #ff9aa6; }
/* Per-slide messages: stacked in one grid cell so the panel keeps a steady height */
.hero__messages { display: grid; }
.hero__msg { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s; }
.hero__msg.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s, visibility 0s linear 0s; }
.hero__msg--capital .eyebrow { color: #e3c77a; }
.hero__msg--capital .hero__title .c2 { color: #ecd89c; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.hero__meta span + span::before { content: "·"; margin-right: 22px; color: #ff9aa6; }
.hero__lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; color: rgba(255, 255, 255, 0.86); max-width: 660px; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 28px; }
.hero__foot .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hero__place { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.hero__controls { display: flex; align-items: center; gap: 10px; }
.hero__dots { display: flex; gap: 8px; }
.hero__btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(8, 26, 57, 0.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.hero__btn:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.hero__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__btn .i-play { fill: currentColor; stroke: none; display: none; }
.hero__btn[aria-pressed="true"] .i-pause { display: none; }
.hero__btn[aria-pressed="true"] .i-play { display: block; }
.hero__dot { position: relative; }
.hero__dot::after { content: ""; position: absolute; inset: -10px -2px; }
.hero__dot { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.35); cursor: pointer; border-radius: 3px; }
.hero__dot.is-active { background: #fff; }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: 128px 0 104px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -12%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(169, 201, 238, 0.18), transparent 62%); }
.page-hero--red::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--blue) 66.6%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; max-width: 960px; margin-bottom: 26px; }
.page-hero p { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: rgba(255, 255, 255, 0.78); max-width: 720px; margin: 0; }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }

/* Firm intro */
.statement { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 600; }
.statement em { font-style: normal; color: var(--muted); }
.proof-list { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.proof-list li { padding: 14px 0; border-top: 1px solid var(--line); font: 600 0.98rem/1.35 var(--font-display); color: var(--navy); }
.prose p { font-size: 1.1rem; color: #424245; }
.prose .prose__lead { font: 600 clamp(1.25rem, 1.9vw, 1.5rem)/1.35 var(--font-display); letter-spacing: -0.015em; color: var(--navy); }
.statement--tagline span { display: block; }
.statement--tagline { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
.statement--tagline i { font-style: normal; }
.statement--tagline span:nth-child(1) i { color: var(--blue); }
.statement--tagline span:nth-child(2) i { color: var(--navy); }
.statement--tagline span:nth-child(3) i { color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 36px; }
.stat strong { display: block; font: 600 clamp(2rem, 3.4vw, 2.9rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--navy); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.clients { margin-top: 56px; padding: 28px 32px; border-radius: var(--radius); background: var(--wash); }
.clients p { margin: 0; }
.clients__label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px !important; }
.clients__list { font: 500 0.95rem/1.9 var(--font-display); color: #3a3a3c; text-wrap: pretty; }
.clients__groups { margin: 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 20px 32px; }
.clients__groups div { border-top: 1px solid #d9dce3; padding-top: 12px; }
.clients__groups dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.clients__groups dd { margin: 0; font: 500 0.95rem/1.7 var(--font-display); color: #3a3a3c; }
.clients__list span { white-space: nowrap; }
.clients__list span:not(:last-child)::after { content: " ·"; color: #a1a1a6; }

/* Pillars */
.pillar { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-height: 280px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.pillar:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(15, 42, 90, 0.08); }
.section--wash .pillar { border-color: transparent; }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eaf1fb; color: var(--blue); margin-bottom: 28px; }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 12px; color: var(--ink); }
.pillar p { color: var(--muted); margin: 0; }
.pillar .more { margin-top: auto; padding-top: 24px; }
.pillar--capital { background: linear-gradient(180deg, var(--gold-tint), #fff 70%); border-color: #eadfbf; }
.section--wash .pillar--capital { border-color: #eadfbf; }
.pillar--capital .pillar__icon { background: #efe3c2; color: var(--gold-ink); }
.pillar--capital .more { color: var(--gold-ink); }
.pillar--link { background: var(--navy); color: #fff; border-color: var(--navy); }
.pillar--link h3 { color: #fff; }
.pillar--link p { color: rgba(255, 255, 255, 0.72); }
.pillar--link .pillar__icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pillar--link .more { color: var(--blue-soft); }

/* Capability detail (What we do) */
.capability { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; padding: 88px 0; border-top: 1px solid var(--line); }
.capability:first-child { border-top: 0; padding-top: 0; }
.capability h2 { margin-bottom: 18px; }
.people.people--5 { display: flex; flex-wrap: wrap; justify-content: center; }
.people.people--5 > * { flex: 0 0 calc((100% - 80px) / 5); }
.capability__num { font: 500 0.9rem var(--mono); color: var(--red); margin-bottom: 14px; display: block; }
.capability--capital .capability__num { color: var(--gold-ink); }
.capability--capital h2 { color: var(--ink); }
.capability--capital .ticks li::before { background: var(--gold); }
.capability--capital .note { border-color: var(--gold); background: var(--gold-tint); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ticks li { position: relative; padding: 14px 0 14px 20px; border-top: 1px solid var(--line); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.ticks--single { grid-template-columns: 1fr; }
.note { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--blue); background: #f2f6fc; border-radius: 0 12px 12px 0; font-size: 0.98rem; color: #3a3a3c; }

/* Waves & trust machine */
.waves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.wave { position: relative; padding: 30px 20px 0 0; }
.wave::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--blue-soft); }
.wave--now::before { background: #ff9aa6; box-shadow: 0 0 0 6px rgba(255, 154, 166, 0.2); }
.wave__era { font: 500 0.8rem var(--mono); color: rgba(255, 255, 255, 0.55); display: block; margin-bottom: 8px; }
.wave h3 { font-size: 1.08rem; line-height: 1.3; color: #fff; }
.wave p { margin: 8px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.64); }
.section--wash .waves, .section:not(.section--navy):not(.section--deep) .waves { border-top-color: var(--line); }
.section:not(.section--navy):not(.section--deep) .wave h3 { color: var(--ink); }
.section:not(.section--navy):not(.section--deep) .wave p { color: var(--muted); }
.section:not(.section--navy):not(.section--deep) .wave__era { color: var(--muted); }
.section:not(.section--navy):not(.section--deep) .wave::before { background: var(--blue); }
.section:not(.section--navy):not(.section--deep) .wave--now::before { background: var(--red); box-shadow: 0 0 0 6px rgba(189, 40, 57, 0.14); }

.machine { margin-top: 88px; }
.machine__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); overflow: hidden; }
.machine__cell { background: var(--navy); padding: 28px 24px; }
.machine__tech { font: 500 0.82rem var(--mono); color: var(--blue-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.machine__arrow { display: block; margin: 16px 0 6px; color: rgba(255, 255, 255, 0.4); }
.machine__value { font: 600 1.5rem/1.15 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.machine__cell p { margin: 10px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }
.machine__cell--now { background: #15356f; }
.machine__cell--now .machine__tech { color: #ffb3bc; }
.section:not(.section--navy):not(.section--deep) .machine__grid { background: var(--line); border-color: var(--line); }
.section:not(.section--navy):not(.section--deep) .machine__cell { background: #fff; }
.section:not(.section--navy):not(.section--deep) .machine__cell--now { background: #fbf2f3; }
.section:not(.section--navy):not(.section--deep) .machine__tech { color: var(--blue); }
.section:not(.section--navy):not(.section--deep) .machine__cell--now .machine__tech { color: var(--red); }
.section:not(.section--navy):not(.section--deep) .machine__value { color: var(--ink); }
.section:not(.section--navy):not(.section--deep) .machine__cell p { color: var(--muted); }
.section:not(.section--navy):not(.section--deep) .machine__arrow { color: #b0b3ba; }

/* Ventures */
.venture { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-height: 250px; }
.venture__icon { width: 40px; height: 40px; color: var(--navy); margin-bottom: 22px; }
.venture__icon svg { width: 100%; height: 100%; }
.venture__tag { font: 500 0.78rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.venture h3 { font-size: 1.35rem; margin-bottom: 6px; }
.venture__line { font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.venture p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.venture--photo { padding: 0; overflow: hidden; }
.venture--photo img { width: 100%; height: 180px; object-fit: cover; }
.venture--diagram img { object-fit: contain; background: #fff; padding: 14px 0 0; border-bottom: 1px solid var(--line); }
.venture--photo .venture__body { padding: 24px 28px 28px; }
.venture-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.venture-chips span { padding: 9px 16px; border-radius: 980px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.92rem; color: rgba(255, 255, 255, 0.86); }
.section:not(.section--navy):not(.section--deep) .venture-chips span { background: #fff; border-color: var(--line); color: #3a3a3c; }

/* ConexOS — borrows the ConexOS visual language: warm paper, mono metrics, Connect | Exchange | Operate */
.conexos { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; background: var(--warm); border: 1px solid var(--warm-line); border-radius: 28px; padding: 48px; color: #221e17; }
.conexos__media { grid-column: 1 / -1; margin: 0 0 4px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 6; background: #0b1a3f; }
.conexos__media img { width: 100%; height: 100%; object-fit: cover; }
.xos { margin-top: 72px; }
.xos .title { margin-bottom: 18px; }
.xos__figure { padding: 16px; max-width: 460px; justify-self: center; }
.conexos__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.conexos__brand img { width: 52px; height: 52px; }
.conexos__word { font: 600 2rem/1 var(--font-display); letter-spacing: -0.02em; }
.conexos__word .co { color: #0055a4; }
.conexos__word .nex { color: var(--teal); }
.conexos__word .os { color: #d71920; }
.conexos__tagline { font: 500 0.78rem var(--mono); letter-spacing: 0.12em; margin-bottom: 20px; }
.conexos__tagline .c { color: #0055a4; }
.conexos__tagline .e { color: var(--teal); }
.conexos__tagline .o { color: #d71920; }
.conexos__tagline .sep { color: #b0a894; margin: 0 6px; }
.conexos h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin-bottom: 14px; color: #221e17; }
.conexos p { color: #5d574a; }
.conexos__chapter { display: inline-block; font: 500 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: #77705f; border: 1px solid var(--warm-line); border-radius: 980px; padding: 5px 12px; margin-bottom: 18px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--warm-line); border: 1px solid var(--warm-line); border-radius: 18px; overflow: hidden; }
.metric { background: #fff; padding: 24px; }
.metric strong { display: block; font: 600 1.9rem/1 var(--mono); letter-spacing: -0.03em; color: #221e17; }
.metric span { display: block; margin-top: 8px; font-size: 0.88rem; color: #77705f; }
.metric--value strong { color: var(--gold-ink); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.person:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(15, 42, 90, 0.08); }
.section--wash .person { border-color: transparent; }
.person__photo { width: 160px; max-width: calc(100% - 44px); aspect-ratio: 4 / 5; margin: 22px auto 0; border-radius: 14px; background: #e8ecf2; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person h3 { font-size: 1.15rem; padding: 20px 22px 0; }
.person__role { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin: 6px 22px 12px; }
.person__proof { font-size: 0.92rem; line-height: 1.5; color: var(--muted); margin: 0 22px 22px; text-wrap: pretty; }
.person--memorial .person__photo img { filter: grayscale(1); }
.person--memorial .person__role { color: var(--muted); }
.group-label { text-align: center; font: 600 0.8rem var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.group-label:not(:first-child) { margin-top: 48px; }

.profile { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.profile:first-of-type { border-top: 0; }
.profile__photo { width: 200px; height: 240px; border-radius: 18px; overflow: hidden; background: #e8ecf2; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.profile h2 { font-size: 1.9rem; letter-spacing: -0.03em; }
.profile__role { color: var(--red); font-weight: 500; margin: 6px 0 18px; }
.profile__proof { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.profile__proof li { font-size: 0.86rem; padding: 6px 12px; border-radius: 980px; background: var(--wash); color: #3a3a3c; }
.profile p { color: #424245; max-width: 760px; }
.profile--memorial .profile__photo img { filter: grayscale(1); }
.profile--memorial .profile__role { color: var(--muted); }

/* Industries */
.industry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.industry__num { font: 500 0.82rem var(--mono); color: var(--red); margin-bottom: 20px; }
.industry h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.industry p { color: var(--muted); font-size: 0.98rem; }
.industry__proof { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.86rem; color: #3a3a3c; }
.industry__proof b { display: block; font: 500 0.72rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* Africa */
.band { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.band__image { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-deep); }
.band__image img { width: 100%; height: 100%; object-fit: cover; }
.tm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tm__item { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.tm__item b { display: block; font: 500 0.75rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 6px; }
.tm__item span { font: 600 1.05rem/1.3 var(--font-display); color: #fff; }
.section:not(.section--navy):not(.section--deep) .tm__item { background: #fff; border-color: var(--line); }
.section:not(.section--navy):not(.section--deep) .tm__item b { color: var(--red); }
.section:not(.section--navy):not(.section--deep) .tm__item span { color: var(--ink); }
.ccc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccc__item { padding: 36px 32px; border-radius: var(--radius); background: var(--wash); }
.ccc__item h3 { font-size: 2rem; letter-spacing: -0.035em; margin-bottom: 12px; }
.ccc__item:nth-child(1) h3 { color: var(--blue); }
.ccc__item:nth-child(2) h3 { color: var(--navy); }
.ccc__item:nth-child(3) h3 { color: var(--red); }
.ccc__item p { color: #424245; margin: 0; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner { border-top: 2px solid var(--navy); padding-top: 18px; }
.partner h3 { font-size: 1.1rem; margin-bottom: 8px; }
.partner p { color: var(--muted); font-size: 0.95rem; }

/* Firm story */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline time { font: 500 0.95rem var(--mono); color: var(--red); }
.timeline h3 { font-size: 1.2rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); }
.figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.figure img { width: 100%; height: auto; }
.figure figcaption { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.quote { font: 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.25 var(--font-display); letter-spacing: -0.025em; color: var(--navy); border-left: 3px solid var(--red); padding-left: 24px; margin: 0; }

/* Contact */
.cta { background: var(--red); color: #fff; }
.cta .eyebrow { color: #ffd9de; }
.cta .lede { color: rgba(255, 255, 255, 0.86); }
.cta .btn--primary { background: #fff; color: var(--red-deep); }
.cta .btn--primary:hover { background: #fff1f3; }
.cta__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end; }
.cta--red { background: var(--red); }
.cta--red .eyebrow { color: #ffd9de; }
.cta--red .lede { color: rgba(255, 255, 255, 0.86); }
.cta--red .btn--light { color: var(--red-deep); }
.cta--red .btn--light:hover { background: #fff1f3; }
.cta--red .offices { border-top-color: rgba(255, 255, 255, 0.28); }
.cta--red .office p { color: rgba(255, 255, 255, 0.82); }
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.office h3 { font-size: 1.05rem; margin-bottom: 8px; }
.office p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.66); }
.section:not(.cta) .offices { border-top-color: var(--line); }
.section:not(.cta) .office p { color: var(--muted); }
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
.contact__direct { margin-top: 32px; }
.contact__direct a { display: block; font: 600 1.3rem/1.6 var(--font-display); color: var(--navy); }
.contact__direct a:hover { color: var(--red); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--wash); border-radius: 24px; padding: 36px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 500; color: #3a3a3c; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 92, 173, 0.14); }
.field textarea { min-height: 150px; resize: vertical; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 0.86rem; color: var(--muted); }

/* Footer */
.footer { background: var(--paper); border-top: 1px solid var(--line); color: #3a3a3c; padding: 64px 0 28px; font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand img { width: 150px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); margin: 0 0 6px; }
.footer h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #515154; }
.footer a:hover { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #d2d2d7; color: var(--muted); font-size: 0.82rem; }
.footer__tag b { font-weight: 600; }
.footer__credit { display: block; margin-top: 4px; font-size: 0.75rem; }
.footer__credit a { text-decoration: underline; }
.footer__tag .t1 { color: var(--blue); }
.footer__tag .t2 { color: var(--navy); }
.footer__tag .t3 { color: var(--red); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 0.85rem; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .people.people--5 > * { flex-basis: calc((100% - 40px) / 3); }
  .waves { grid-template-columns: repeat(3, 1fr); row-gap: 36px; border-top: 0; }
  .wave { border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .section:not(.section--navy):not(.section--deep) .wave { border-top-color: var(--line); }
  .machine__grid { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px rgba(15, 42, 90, 0.14); font-size: 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .nav__cta { text-align: center; margin-top: 6px; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0 0 10px; }
  .no-js .menu-toggle { display: none; }
  .no-js .header__inner { flex-wrap: wrap; }
  .head, .split, .band, .cta__grid, .contact, .capability, .conexos { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .section { padding: 88px 0; }
  .capability { padding: 64px 0; }
  .conexos { padding: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .ccc { grid-template-columns: 1fr; }
  .offices { grid-template-columns: repeat(2, 1fr); }
  .clients__groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .grid--2, .grid--3, .grid--4, .people, .offices, .tm, .partners, .ticks, .form, .proof-list { grid-template-columns: 1fr; }
  .hero__meta span + span::before { margin-right: 12px; }
  .hero__meta { gap: 6px 12px; font-size: 0.7rem; }
  .people, .people.people--5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .people.people--5 > * { flex-basis: calc((100% - 12px) / 2); }
  .person__photo { margin: 14px auto 0; max-width: calc(100% - 28px); }
  .person h3 { font-size: 1rem; padding: 14px 14px 0; }
  .person__role { margin: 4px 14px 8px; font-size: 0.66rem; }
  .person__proof { font-size: 0.84rem; margin: 0 14px 16px; }
  .waves { grid-template-columns: 1fr 1fr; }
  .machine__grid { grid-template-columns: 1fr 1fr; }
  .machine__cell--now { grid-column: 1 / -1; }
  .machine__cell { padding: 22px 18px; }
  .machine__value { font-size: 1.25rem; }
  .hero__content { margin: 96px 0 84px; padding: 28px 24px; border-radius: 22px; }
  .hero__place { display: none; }
  .page-hero { padding: 88px 0 72px; }
  .profile { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .profile__photo { width: 140px; height: 170px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .form { padding: 24px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 18px; }
  .metric strong { font-size: 1.4rem; }
  .conexos { padding: 24px; border-radius: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .clients { padding: 22px; }
  .clients__groups { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .people { grid-template-columns: 1fr; }
  .people.people--5 > * { flex-basis: 100%; }
}

/* Expandable detail panels (content stays in the HTML for search engines) */
.detail { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 500 1.02rem/1.4 var(--font); color: var(--navy); }
.detail summary::-webkit-details-marker { display: none; }
.detail summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); transition: transform 0.2s; }
.detail[open] summary::after { transform: rotate(45deg); }
.detail summary:hover { color: var(--red); }
.detail__body { padding: 4px 0 32px; }
.detail__body p { color: #424245; font-size: 0.98rem; }
.detail__body h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.detail__body h3:first-child { margin-top: 0; }
.detail__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.detail__cols--3 { grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 24px; }
.detail .ticks li { font-size: 0.95rem; padding: 10px 0 10px 20px; }
.detail .ticks li::before { top: 19px; }
.detail--dark { border-color: rgba(255, 255, 255, 0.18); margin-bottom: 32px; }
.detail--dark summary { color: #fff; }
.detail--dark summary:hover { color: var(--blue-soft); }
.detail--dark summary::after { color: #ff9aa6; }
.detail--dark .detail__body p { color: rgba(255, 255, 255, 0.74); }
@media (max-width: 960px) { .detail__cols, .detail__cols--3 { grid-template-columns: 1fr; gap: 24px; } }

/* Eight menu items: switch to the Menu button a little earlier than the layout breakpoint */
@media (max-width: 1040px) and (min-width: 961px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px rgba(15, 42, 90, 0.14); font-size: 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .nav__cta { text-align: center; margin-top: 6px; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0 0 10px; }
  .no-js .menu-toggle { display: none; }
}
