/* Self-hosted brand font: Lato (Brand Guidelines: Black 900 headings, Bold 700 UI, Regular 400 body).
   Inlined (not @import) so the browser discovers the font files in the first CSS pass. */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato-400.woff2) format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/lato-700.woff2) format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/lato-900.woff2) format("woff2");
}
/* Metric-compatible fallback: sizes Arial to Lato's widths so the pre-swap paint
   occupies the same space and the header does not reflow when Lato arrives. */
@font-face {
  font-family: "Lato Fallback";
  src: local("Arial");
  size-adjust: 97.4%;
  ascent-override: 101%;
  descent-override: 22%;
  line-gap-override: 0%;
}
/* ==========================================================================
   TRICAPITAL ANGELS — Design system
   Brand tokens ported from ai_presentation.html. Single stylesheet, no build.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand palette (TRICAPITAL Brand Guidelines): charcoal, teal, lime, grey, pale */
  --charcoal: #28363d;
  --teal: #0e9ba0;
  --teal-dark: #0b7e82;
  --lime: #a2bb0a;
  --lime-dark: #8aa007;
  /* Aliases so existing rules re-skin without churn: navy=charcoal, gold=teal, gold-soft=lime */
  --navy: #28363d;
  --navy-2: #34454e;
  --gold: #0e9ba0;
  --gold-soft: #5cc3c7;
  --ink: #28363d;
  --slate: #6f747a;
  --paper: #ffffff;
  --paper-2: #f6fafd;
  --rule: #dde3e7;

  /* Derived */
  --cream-text: #eef3f6;
  --danger: #b3261e;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --section-y: clamp(56px, 9vw, 112px);

  /* Effects */
  --shadow-sm: 0 1px 0 rgba(40, 54, 61, 0.04);
  --shadow-md: 0 10px 24px rgba(40, 54, 61, 0.13);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);

  --font: "Lato", "Lato Fallback", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Lato", "Lato Fallback", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: clamp(16px, 1.1vw + 0.6rem, 18px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

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

/* ------------------------------------------------------------- Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.lede {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--slate);
  max-width: 64ch;
}

.muted { color: var(--slate); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-left: auto; margin-right: auto; }

/* Justified body copy (leadership request): no ragged right edges in running text.
   Labels, breadcrumbs and centred blocks keep their natural alignment. */
main p { text-align: justify; -webkit-hyphens: none; hyphens: none; }
main p.eyebrow, main p.breadcrumb, main p.filter-note, main p.empty-state,
.center p, .cta-band p, .num-list p, .wiz-nav p, figcaption { text-align: inherit; }

a.link {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
a.link:hover { color: var(--gold); }

/* --------------------------------------------------------------- Layout */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--paper2 { background: var(--paper-2); }
.section--teal-wash { background: #eef7f8; }
.section--lime-wash { background: #f7f9ec; }
.section--tight { padding-block: clamp(36px, 6vw, 64px); }

.section--navy {
  position: relative;
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(14, 155, 160, 0.16), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--cream-text);
}
.section--navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04; mix-blend-mode: overlay;
}
.section--navy > * { position: relative; z-index: 1; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .eyebrow { color: var(--gold-soft); }
.section--navy .lede, .section--navy .muted { color: rgba(238, 243, 246, 0.78); }
.section--navy .logo-mark { filter: brightness(0) invert(1); }

.section-head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.values { display: grid; gap: 14px; }
.value { display: grid; grid-template-columns: 46px 140px 1fr; gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 20px 28px; }
.value__tag { font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13.5px; }
.value__body h3 { margin: 0 0 3px; }
.value__body p { margin: 0; color: var(--slate); }
@media (max-width: 640px) { .value { grid-template-columns: 46px 1fr; gap: 10px 16px; padding: 18px 20px; }
  .value__body { grid-column: 1 / -1; } }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.stack-sm > * + * { margin-top: 12px; }
.flow > * + * { margin-top: clamp(16px, 2.5vw, 28px); }

/* --------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease),
              background 0.15s var(--ease), color 0.15s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: var(--teal); }
.btn--primary:hover { --btn-bg: var(--teal-dark); --btn-bd: var(--teal-dark); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--rule); }
.btn--ghost:hover { --btn-bd: var(--gold); }

.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(224, 194, 122, 0.55); }
.btn--on-dark:hover { --btn-bg: rgba(224, 194, 122, 0.12); --btn-bd: var(--gold-soft); }

.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ----------------------------------------------------------------- Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 28px);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); }

.card--link { text-decoration: none; color: inherit; display: block;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }

.contact-grid .card { display: flex; flex-direction: column; gap: 10px; }
.contact-grid .card .btn { align-self: flex-start; margin-top: auto; }
.contact-grid .card p { margin: 0; }

.card--news { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--news > img { width: 100%; height: 168px; object-fit: cover; display: block; background: var(--paper-2); }
.card--news .card__body { padding: 20px 24px 24px; }
.card--news .news-item__date { display: block; margin-bottom: 6px; }
.card--news h3 { font-size: 19px; }

.section--navy .card { background: var(--navy-2); border-color: rgba(14, 155, 160, 0.25); }
.section--navy .card p { color: rgba(238, 243, 246, 0.78); }

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ----------------------------------------------------------------- Stats */
.stat-band { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: clamp(14px, 2.2vw, 30px); align-items: start; }
.stat { border-left: 2px solid var(--gold); padding-left: 16px; min-width: 0; }
.stat__num { font-family: var(--font-display); font-optical-sizing: auto; font-size: clamp(28px, 3.1vw, 44px); font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--slate); }
.section--navy .stat__num { color: #fff; }
.section--navy .stat__label { color: rgba(238, 243, 246, 0.75); }

/* ----------------------------------------------------------- Pills/chips */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.pill:hover { border-color: var(--gold); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ------------------------------------------------------------- Site nav */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px var(--gutter);
  min-height: 67px; /* reserve final nav height so the injected nav doesn't shift content */
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo-mark { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  color: rgba(40, 54, 61, 0.84);
  font-size: 16px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav-links a:hover { color: var(--teal); background: rgba(14, 155, 160, 0.07); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--gold);
}
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 18px; font-size: 15px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-panel { display: none; } /* mobile drop panel: hidden by default; shown via media query when open */

/* ------------------------------------------------------------- Hero */
.hero { position: relative; }
.hero--dark { padding-block: clamp(72px, 12vw, 150px); position: relative; overflow: hidden; }
.hero__mark { position: absolute; right: -8px; bottom: -14px; width: min(46%, 520px); aspect-ratio: 230 / 160;
  background: url(../img/mark.svg) no-repeat center / contain; opacity: 0.92; pointer-events: none; z-index: 0; }
.hero--dark .container { position: relative; z-index: 1; }
@media (max-width: 760px) { .hero__mark { width: 70%; opacity: 0.18; } }
.hero--photo {
  --hero-img: url(../img/photos/hero-forth-bridges.jpg), url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABcQERQRDhcUEhQaGBcbIjklIh8fIkYyNSk5UkhXVVFIUE5bZoNvW2F8Yk5QcptzfIeLkpSSWG2grJ+OqoOPko3/2wBDARgaGiIeIkMlJUONXlBejY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY3/wAARCAANABgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwCoqW3eM0jrbjohrPa6kXjNN+1SMeaq5Fi27x/3aKqGRj1op3FY/9k=);
  background-image:
    linear-gradient(100deg, rgba(40, 54, 61, 0.92) 0%, rgba(40, 54, 61, 0.7) 45%, rgba(40, 54, 61, 0.38) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy);
}
.hero--sub { padding-block: clamp(56px, 8vw, 104px); }
.hero--sub h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 24ch; }
.section--navy .breadcrumb, .section--navy .breadcrumb a { color: rgba(238, 243, 246, 0.72); }
.hero--photo .hero__mark { opacity: 0.3; }
.hero--dark .hero__inner { max-width: 900px; }
.hero--dark .hero__inner .lede { max-width: 56ch; }
.hero__tagline { letter-spacing: -0.025em; white-space: nowrap; font-size: clamp(30px, 5.3vw, 68px); }
@media (max-width: 640px) { .hero__tagline { white-space: normal; font-size: clamp(34px, 9.5vw, 44px); } }
.hero--light { padding-block: clamp(52px, 8vw, 96px); background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.hero--light .lede { margin-top: 14px; }
.hero--brand { background: linear-gradient(135deg, #eef7f8 0%, #f7f9ec 100%); position: relative; overflow: hidden; }
.hero--brand::after { content: ""; position: absolute; right: -10px; bottom: -16px; width: min(34%, 360px);
  aspect-ratio: 230 / 160; background: url(../img/mark.svg) no-repeat center / contain; opacity: 0.16; pointer-events: none; }
.hero--brand .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 14px; color: var(--slate); margin-bottom: 18px; letter-spacing: 0.04em; }
.breadcrumb a { text-decoration: none; color: var(--slate); }
.breadcrumb a:hover { color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .hero--dark .eyebrow,
  .hero--dark h1,
  .hero--dark .lede,
  .hero--dark .btn-row {
    opacity: 0; transform: translateY(16px);
    animation: heroRise 0.75s var(--ease) forwards;
  }
  .hero--dark h1 { animation-delay: 0.09s; }
  .hero--dark .lede { animation-delay: 0.18s; }
  .hero--dark .btn-row { animation-delay: 0.27s; }
}
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 0 auto 26px; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); text-align: left; }
.cta-split .card { display: flex; flex-direction: column; gap: 14px; }
.cta-split .card .btn { align-self: flex-start; margin-top: auto; }

/* ---------------------------------------------------------- Sector tiles */
.sector-grid { grid-template-columns: repeat(3, 1fr); }
.sector-tile {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 22px 22px 20px; background: #fff;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
.sector-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.sector-tile .icon-chip { margin-bottom: 8px; }
.sector-tile__name { font-weight: 700; color: var(--navy); font-size: 18px; }
.sector-tile__count { font-size: 14px; color: var(--slate); }
.sector-tile__arrow { margin-top: 10px; color: var(--gold); font-weight: 700; }

/* ------------------------------------------------------------ Icon chips */
.icon-chip { width: 52px; height: 52px; display: block; }
.card .icon-chip { margin-bottom: 14px; }
.value .icon-chip { width: 46px; height: 46px; }

/* --------------------------------------------------------- Numbered list */
.num-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
.num-list > li {
  counter-increment: step;
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  border: 1px solid var(--rule); border-radius: var(--radius); background: #fff;
  padding: 22px 24px;
}
.num-list > li::before {
  content: counter(step);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
}
.num-list h3 { margin-bottom: 4px; }
.num-list p { color: var(--slate); margin: 0; }

/* --------------------------------------------------------------- Timeline */
.timeline { border-left: 2px solid var(--rule); padding-left: 26px; display: grid; gap: 22px; }
.timeline li { position: relative; list-style: none; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper-2);
}
.timeline .year { font-weight: 700; color: var(--gold); font-size: 14px; letter-spacing: 0.04em; }

/* ------------------------------------------------------------ Leadership */
.people { grid-template-columns: repeat(3, 1fr); }
.person { text-align: center; display: flex; flex-direction: column; align-items: center; }
.person__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft);
  display: grid; place-items: center; font-weight: 700; font-size: 22px;
  letter-spacing: 0.02em; margin-bottom: 14px;
}
.person__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  object-position: top center; margin-bottom: 16px; display: block; background: var(--paper-2); }
.bio-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  object-position: top center; margin-bottom: 16px; display: block; }
.person__name { font-weight: 800; color: var(--navy); font-size: 19px; margin-top: 2px; }
.person__role { color: var(--slate); font-size: 15px; margin-top: 2px; }
.person.card--link:hover .person__avatar { background: var(--navy-2); }

/* ------------------------------------------------------- Portfolio grid */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 30px; }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pgrid:empty { min-height: 80vh; } /* reserve space before JS renders cards, avoids load shift */
.pcard { position: relative; perspective: 1200px; height: 218px; cursor: pointer; }
.pcard[hidden] { display: none; }
.pcard:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: var(--radius); }
.pcard__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
}
.pcard:hover .pcard__inner,
.pcard:focus-within .pcard__inner,
.pcard.is-flipped .pcard__inner { transform: rotateY(180deg); }

.pcard__face {
  position: absolute; inset: 0; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 20px;
}
.pcard__front { align-items: center; justify-content: center; background: #fff; box-shadow: var(--shadow-sm); }
.pcard__front img {
  max-width: 76%; max-height: 44px; object-fit: contain;
}
.pcard__cname { margin-top: 12px; font-weight: 700; color: var(--navy); font-size: 14px;
  text-align: center; line-height: 1.2; letter-spacing: -0.01em; }
.pcard__cat { margin-top: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); text-align: center; }
.pcard__front.is-fallback .pcard__cname { display: none; }
.pcard__wordmark { display: none; font-weight: 700; color: var(--navy);
  font-size: clamp(17px, 3.4vw, 24px); letter-spacing: -0.01em; text-align: center; padding: 0 6px; }
.pcard__front.is-fallback { background: var(--paper-2); }
.pcard__front.is-fallback img { display: none; }
.pcard__front.is-fallback .pcard__wordmark { display: block; }

.pcard__back {
  transform: rotateY(180deg);
  background: var(--paper-2); border-color: var(--gold-soft);
  gap: 4px; text-align: left; justify-content: flex-start;
}
.pcard__back .tag { margin-bottom: 1px; font-size: 12px; }
.pcard__name { font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.2; }
.pcard__desc { color: var(--slate); font-size: 13.5px; line-height: 1.4; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__hq { color: var(--ink); font-size: 12.5px; opacity: 0.7; margin-top: 2px; }
.pcard__contact { margin-top: 8px; font-size: 13px; line-height: 1.35; }
.pcard__cn { font-weight: 700; color: var(--navy); }
.pcard__cr { color: var(--slate); display: block; }
.pcard__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; padding-top: 8px; }
.pcard__actions .pcard__site { margin-top: 0; }
.pcard__email { font-size: 13.5px; font-weight: 600; color: var(--teal); text-decoration: none; cursor: pointer; }
.pcard__email:hover { text-decoration: underline; }
#ptiles .pcard { height: 276px; }
#ptiles .pcard__desc { -webkit-line-clamp: 2; }
.pcard__site { margin-top: auto; align-self: flex-start;
  font-size: 13.5px; font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.pcard__site:hover { color: var(--gold); }

/* Corner badge (partners: Partner / In discussion) on the front face */
.pcard__badge { position: absolute; top: 10px; right: 10px; z-index: 2;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  border-radius: var(--radius-pill); padding: 3px 9px; background: #fff;
  color: var(--navy); border: 1px solid var(--rule); }
.pcard__badge--soft { color: var(--gold); border-color: var(--gold-soft); }
.pcard--placeholder .pcard__front { border-style: dashed; }
.pcard--placeholder .pcard__front img { opacity: 0.6; }

.pcard[data-status="exited"] .pcard__front::after,
.pcard[data-status="acquired"] .pcard__front::after {
  content: "Exited"; position: absolute; top: 10px; right: 10px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-soft); border-radius: var(--radius-pill);
  padding: 2px 8px; background: #fff;
}

.empty-state { color: var(--slate); padding: 30px 0; }
.filter-note { font-size: 14px; color: var(--slate); margin-top: 18px; }

.exit-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.exit-tile { border: 1px solid var(--rule); border-radius: var(--radius); background: #fff;
  padding: 22px; text-align: left; display: flex; flex-direction: column; gap: 7px; min-height: 150px; }
.exit-tile__mono { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--lime) 115%);
  color: #fff; font-weight: 900; font-size: 19px; letter-spacing: 0; }
.exit-tile__name { font-weight: 700; color: var(--navy); font-size: 17px; }
.exit-tile__desc { color: var(--slate); font-size: 13.5px; line-height: 1.4; }
.exit-tile__note { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; margin-top: auto; }
@media (max-width: 640px) { .exit-tiles { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Partner tiles */
.ptiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(5, 1fr); }
.ptile {
  position: relative; border: 1px solid var(--rule); border-radius: var(--radius);
  background: #fff; min-height: 120px; padding: 18px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; overflow: hidden;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
.ptile:hover, .ptile:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.ptile img { max-width: 78%; max-height: 38px; object-fit: contain; }
.ptile__name { font-weight: 700; color: var(--navy); text-align: center; font-size: 14px; line-height: 1.2; }
.ptile__wordmark { font-weight: 700; color: var(--navy); text-align: center; font-size: 17px; }
.ptile__badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-pill); padding: 3px 9px; background: #fff;
}
.ptile[data-status="confirmed"] .ptile__badge { color: var(--navy); border: 1px solid var(--rule); }
.ptile[data-status="placeholder"] { border-style: dashed; }
.ptile[data-status="placeholder"] img, .ptile[data-status="placeholder"] .ptile__wordmark { opacity: 0.5; }
.ptile[data-status="placeholder"] .ptile__badge { color: var(--gold); border: 1px solid var(--gold-soft); }
.ptile__info {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(40, 54, 61, 0.94));
  color: #fff; font-size: 13.5px; line-height: 1.45; text-align: left;
  opacity: 0; transform: translateY(10px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.ptile:hover .ptile__info, .ptile:focus-within .ptile__info { opacity: 1; transform: none; }

/* --------------------------------------------------------------- News */
.news-list { display: grid; gap: 18px; }
.news-item { display: grid; grid-template-columns: 260px 1fr; align-items: stretch;
  border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease); }
.news-item--nomedia { grid-template-columns: 1fr; }
.news-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.news-item__media { background: var(--paper-2); min-height: 158px; overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item__body { padding: 22px 26px; align-self: center; }
.news-item__date { font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: 0.03em; }
.news-item__title { font-weight: 700; color: var(--navy); font-size: 19px; line-height: 1.3; margin-top: 6px; }
.news-item__summary { color: var(--slate); font-size: 15px; margin-top: 8px; }

/* ----------------------------------------------------------- Photo bands */
.photo-band { margin: clamp(28px, 4vw, 48px) 0 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
.photo-band img { width: 100%; height: clamp(220px, 34vw, 400px); object-fit: cover; display: block; background: transparent; }
.photo-band--tall img { height: clamp(300px, 44vw, 560px); }
.photo-band, .photo-mosaic figure { background-color: var(--paper-2); }
.photo-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(28px, 4vw, 48px); }
.photo-mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.photo-mosaic img { width: 100%; height: clamp(160px, 22vw, 240px); object-fit: cover; display: block; }
@media (max-width: 640px) { .photo-mosaic { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Article */
.article-media { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.article-media { background: var(--paper-2); }
.article-media img { width: 100%; max-height: 440px; object-fit: cover; display: block; }
.article-body p { font-size: 17.5px; line-height: 1.65; color: var(--ink); max-width: 66ch; }
.article-about { margin-top: 38px; padding: 22px 26px; background: var(--paper-2);
  border-left: 4px solid var(--teal); border-radius: var(--radius); }
.article-about h3 { font-size: 16px; margin-bottom: 6px; }
.article-about p { color: var(--slate); font-size: 14.5px; margin: 0; max-width: 66ch; }

/* ----------------------------------------------------------- Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); align-items: center; justify-content: center; }
.logo-strip img { max-height: 52px; width: auto; }
.logo-strip figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.logo-strip figcaption { font-size: 13px; color: var(--slate); font-weight: 600; text-align: center; }

/* ------------------------------------------------------------- Wizard */
.wizard { max-width: 760px; }

/* Dealum embedded application form */
.dealum-frame-wrap { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); }
#dealum-frame { width: 100%; height: 1500px; border: 0; display: block; }
@media (max-width: 640px) { #dealum-frame { height: 1900px; } }
.wiz-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0 0 16px;
  font-size: 13px; color: var(--slate); }
.wiz-steps li { display: flex; align-items: center; gap: 8px; }
.wiz-steps li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--slate); background: #fff; }
.wiz-steps li.is-current { color: var(--navy); font-weight: 600; }
.wiz-steps li.is-current span, .wiz-steps li.is-done span {
  background: var(--gold); color: var(--navy); border-color: var(--gold); }
.wiz-bar { height: 5px; background: var(--rule); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 24px; }
.wiz-bar span { display: block; height: 100%; background: var(--gold); transition: width 0.3s var(--ease); }

.wiz-panel { border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px);
  display: grid; gap: 18px; }
.wiz-panel[hidden] { display: none; }
.wiz-panel legend, .wiz-panel .legend { font-weight: 700; color: var(--navy); font-size: 20px; padding: 0; }
.wiz-panel legend:focus-visible { outline: none; }

.field { display: grid; gap: 6px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field > .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 13px;
  border: 1px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(14, 155, 160, 0.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12.5px; min-height: 0; }
.field .hint { font-size: 12.5px; color: var(--slate); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 8px; }
.radio-row .check { align-items: center; }

.filebox { border: 1px dashed var(--rule); border-radius: 10px; padding: 16px; display: grid; gap: 6px; }
.filebox input { font-size: 14px; }

.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wiz-nav .spacer { flex: 1; }

.review-grid { display: grid; gap: 4px 18px; grid-template-columns: minmax(140px, max-content) 1fr; font-size: 14.5px; }
.review-grid dt { color: var(--slate); }
.review-grid dd { margin: 0; color: var(--ink); }
.review-section + .review-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.review-section h4 { margin-bottom: 10px; color: var(--navy); }

.payload-panel { margin-top: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); }
.payload-panel summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--navy); }
.payload-panel pre { margin: 0; padding: 16px; overflow: auto; font-size: 12.5px; line-height: 1.5;
  font-family: var(--mono); color: var(--ink); border-top: 1px solid var(--rule); }

.success-card { border: 1px solid var(--gold-soft); background: var(--paper-2); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px); }
.success-card .ref { font-family: var(--mono); font-weight: 700; color: var(--navy); }

/* --------------------------------------------------------------- Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 18, 33, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--radius-lg); border-top: 6px solid var(--gold);
  max-width: 560px; width: 100%; max-height: 86vh; overflow: auto;
  box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px);
  transform: translateY(12px); transition: transform 0.2s var(--ease);
}
.modal-backdrop.is-open .modal { transform: none; }
.modal__close { position: absolute; top: 18px; right: 20px; background: none; border: none;
  font-size: 26px; line-height: 1; color: var(--slate); cursor: pointer; }
.modal__role { color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 4px; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--navy); color: var(--cream-text); padding-block: clamp(48px, 7vw, 80px) 28px; }
.site-footer a { color: var(--cream-text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.footer-brand .logo-mark { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: rgba(238, 243, 246, 0.7); font-size: 15px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.7; color: rgba(238, 243, 246, 0.85); }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: 13px; color: rgba(238, 243, 246, 0.6); }

/* ------------------------------------------------------------ Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--navy);
  padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; transition: top 0.15s var(--ease); }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .grid-3, .grid-4, .sector-grid, .people { grid-template-columns: repeat(2, 1fr); }
  .split, .cta-split { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .site-nav__inner { position: relative; }
  .nav-panel {
    position: fixed; inset: 64px 0 0 0; z-index: 49;
    background: #fff; border-top: 1px solid var(--rule);
    padding: 18px var(--gutter) 40px;
    display: none; flex-direction: column; gap: 4px; overflow: auto;
  }
  body.nav-open .nav-panel { display: flex; }
  .nav-panel a:not(.btn) { text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 700;
    padding: 14px 6px; border-bottom: 1px solid var(--rule); }
  .nav-panel a.is-active { color: var(--teal); }
  .nav-panel .btn { margin-top: 20px; justify-content: center; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .sector-grid, .people, .grid--auto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item__media { height: 190px; min-height: 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .ptiles { grid-template-columns: repeat(2, 1fr); }
  .ptile { flex-direction: column; gap: 10px; min-height: 0; }
  .ptile__info { position: static; opacity: 1; transform: none; background: none;
    color: var(--slate); padding: 8px 0 0; }
  .wiz-steps { gap: 8px; }
  .wiz-steps li { font-size: 0; gap: 0; }
  .wiz-nav { position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--rule); }
}

@media (max-width: 380px) {
  .pgrid, .ptiles { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .card--link:hover, .sector-tile:hover, .ptile:hover, .news-item:hover { transform: none; }

  .pcard__inner { transition: none; transform: none !important; }
  .pcard__face { backface-visibility: visible; transition: opacity 0.01ms; }
  .pcard__back { transform: none; opacity: 0; pointer-events: none; }
  .pcard:hover .pcard__back, .pcard.is-flipped .pcard__back,
  .pcard:focus-within .pcard__back { opacity: 1; pointer-events: auto; }
  .pcard:hover .pcard__front, .pcard.is-flipped .pcard__front,
  .pcard:focus-within .pcard__front { opacity: 0; }

  .ptile__info { position: static; opacity: 1; transform: none; background: none;
    color: var(--slate); padding: 12px 0 0; }
  .ptile { flex-direction: column; gap: 10px; }
}
