:root {
  color-scheme: dark;
  --ink: #dbe6f4;
  --ink-strong: #f7fbff;
  --muted: #9eb0c7;
  --muted-2: #738399;
  --paper: #070b13;
  --paper-2: #0c1320;
  --paper-warm: #17130c;
  --surface: rgba(17, 26, 42, 0.86);
  --surface-soft: rgba(19, 38, 55, 0.72);
  --surface-warm: rgba(47, 35, 18, 0.54);
  --navy: #050914;
  --navy-2: #111f32;
  --blue: #20c7b1;
  --blue-2: #12a892;
  --blue-soft: rgba(32, 199, 177, 0.14);
  --gold: #f4bd4f;
  --gold-soft: rgba(244, 189, 79, 0.14);
  --teal: #20c7b1;
  --teal-soft: rgba(32, 199, 177, 0.13);
  --berry: #f08bb2;
  --line: rgba(180, 199, 225, 0.14);
  --line-strong: rgba(214, 226, 244, 0.24);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.42);
  --radius-sm: 8px;
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --wide: 1320px;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(145deg, #050914 0%, #07101c 46%, #0c1320 100%);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink-strong);
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6.4vw, 82px);
  font-weight: 760;
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 740;
  line-height: 1.02;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  font-weight: 720;
  line-height: 1.18;
}

p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.28);
  outline-offset: 3px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 88px;
  padding: 14px clamp(20px, 4vw, 62px);
  background: rgba(5, 9, 20, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand,
.footer-brand {
  font-weight: 820;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink-strong);
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
}

.brand-text {
  max-width: 280px;
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.05;
  white-space: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  color: #c8d5e8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 14px;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--teal-soft);
  color: var(--teal);
}

.site-nav .nav-join {
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--ink-strong);
  padding-inline: 20px;
}

.site-nav .nav-join:hover,
.site-nav .nav-join.active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink-strong);
}

.site-nav .nav-button,
.site-nav .nav-portal {
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: var(--blue);
  color: white;
  padding-inline: 20px;
}

.site-nav .nav-button:hover,
.site-nav .nav-button.active,
.site-nav .nav-portal:hover,
.site-nav .nav-portal.active {
  background: var(--blue-2);
  color: white;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--ink-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.home-hero {
  min-height: clamp(540px, calc(100svh - 124px), 660px);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 24, 0.96) 0%, rgba(7, 24, 47, 0.86) 42%, rgba(17, 16, 13, 0.42) 100%),
    linear-gradient(0deg, rgba(5, 11, 24, 0.98) 0%, rgba(5, 11, 24, 0.12) 58%),
    url("assets/bfn-hero.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 5vw, 58px) 0 clamp(30px, 4vw, 38px);
}

.apple-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.apple-home-hero .apple-hero-inner {
  grid-template-columns: minmax(0, 820px);
}

.hero-copy {
  max-width: 780px;
}

.hero h1 {
  color: white;
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(46px, 5.8vw, 74px);
  line-height: 1;
  text-wrap: balance;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
}

.hero-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 14px !important;
  font-weight: 650;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 20px;
}

.hero-proof-strip span {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(214, 226, 244, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 13px 14px;
  backdrop-filter: blur(12px);
}

.hero-proof-strip strong {
  color: white;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 820;
  line-height: 1;
}

.hero-proof-strip em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.hero .eyebrow,
.cta-panel .eyebrow,
.dark-section .eyebrow {
  color: var(--gold);
}

.actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.centered-actions {
  justify-content: flex-start;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1.1;
  padding: 12px 19px;
  text-align: center;
  transition: transform 160ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  margin-left: 9px;
  transform: rotate(45deg);
  transition: transform 160ms var(--ease);
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 15px 30px rgba(15, 118, 110, 0.2);
}

.button.dark {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-strong);
  border-color: var(--line-strong);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.button.primary:hover {
  background: var(--blue-2);
}

.button.dark:hover {
  background: rgba(255, 255, 255, 0.98);
}

.button.secondary:hover {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 12px 26px rgba(5, 11, 24, 0.08);
}

.button:active {
  transform: scale(0.98);
}

.apple-portal-showcase,
.hero-dashboard,
.visual-panel,
.chapter-panel,
.operating-board,
.network-map {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-lg);
}

.apple-portal-showcase {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 18, 34, 0.76);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.portal-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 18px;
}

.portal-window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.portal-window-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.portal-window-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
}

.portal-window-body aside {
  display: grid;
  align-content: end;
  min-height: 176px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.portal-window-body aside span,
.portal-window-grid article span {
  color: #8eb1ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-window-body aside strong {
  max-width: 520px;
  color: white;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 720;
  line-height: 1.02;
}

.portal-window-body aside p,
.portal-window-grid article p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.portal-window-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-window-grid article {
  min-height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: 15px;
}

.portal-window-grid h3 {
  color: white;
  max-width: 100%;
  font-size: clamp(18px, 1.5vw, 22px);
  overflow-wrap: normal;
}

.section {
  padding: 72px clamp(18px, 4vw, 56px);
  background: var(--paper);
}

.compact-section {
  padding-block: 34px;
}

.section.soft,
.proof-section,
.apple-pathway-section,
.apple-tile-section,
.apple-showcase-section,
.apple-cadence-section {
  background: linear-gradient(180deg, rgba(12, 19, 32, 0.84), var(--paper));
}

.section-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.56fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.section-header p,
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split,
.apple-split {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.72fr);
  gap: 36px;
  align-items: center;
}

.text-stack > * + * {
  margin-top: 18px;
}

.apple-split > div:first-child,
.apple-section-title,
.network-section,
.cta-panel,
.page-hero-inner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.apple-split > div:first-child,
.apple-section-title {
  padding: 0;
}

.apple-section-title {
  margin-bottom: 16px;
}

.apple-split > div:first-child h2,
.apple-section-title h2 {
  max-width: 780px;
}

.apple-split > div:first-child .lead,
.apple-section-title p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
}

.card,
.compact-card,
.feature-card,
.track-card,
.pillar-card,
.quote-card,
.leader-card,
.callout-card,
.chapter-card,
.role-card,
.resource-preview,
.publication-card,
.process-step,
details {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(17, 26, 42, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: none;
  transition: transform 170ms var(--ease), border-color 170ms var(--ease), box-shadow 170ms var(--ease);
}

.card,
.compact-card,
.feature-card,
.track-card,
.pillar-card,
.quote-card,
.leader-card,
.callout-card,
.chapter-card,
.resource-preview,
.publication-card,
.process-step {
  padding: 22px;
}

.feature-card,
.track-card,
.pillar-card,
.chapter-card,
.resource-preview,
.publication-card,
.member-card {
  min-height: 100%;
}

.card:hover,
.compact-card:hover,
.feature-card:hover,
.track-card:hover,
.pillar-card:hover,
.quote-card:hover,
.leader-card:hover,
.chapter-card:hover,
.resource-preview:hover,
.publication-card:hover,
.process-step:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.24);
  box-shadow: var(--shadow-sm);
}

.compact-card p,
.feature-card p,
.track-card p,
.pillar-card p,
.quote-card p,
.leader-card p,
.callout-card p,
.chapter-card p,
.role-card p,
.resource-preview p,
.publication-card p,
.process-step p,
.card p,
.card li {
  color: var(--muted);
}

.card-label,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.card-label {
  min-height: 28px;
  border: 1px solid rgba(197, 138, 27, 0.26);
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 12px;
  padding: 7px 10px;
}

.badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 7px 10px;
}

.label-blue,
.team-badge {
  background: var(--blue-soft);
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.18);
}

.label-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.label-berry {
  background: rgba(231, 130, 168, 0.14);
  color: var(--berry);
}

.status-open {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.18);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.icon-mark,
.pillar-number,
.process-step span,
.cadence-list article span,
.board-lanes span,
.access-lock,
.check,
.chapter-marker,
.network-map span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.tag-row,
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-top: 18px;
}

.tag-row span,
.tag-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #c5d2e4;
  font-size: 12px;
  font-weight: 760;
  padding: 6px 10px;
}

.tag-grid span {
  min-height: 42px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  padding-inline: 14px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.check {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
}

.check::before {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}

.stats-band {
  position: relative;
  z-index: 2;
  padding: 12px clamp(18px, 4vw, 56px) 28px;
  background: var(--paper);
}

.overlap-stats {
  margin-top: -96px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  min-width: 0;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 24, 40, 0.88);
  box-shadow: var(--shadow-md);
  padding: 19px;
  backdrop-filter: blur(18px);
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 760;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 800;
}

.stat-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.library-console-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy) 0%, #111827 100%);
  background-size: 46px 46px, 46px 46px, auto;
}

.console-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.console-copy h2 {
  max-width: 720px;
}

.console-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.console-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce6f5;
  font-size: 13px;
  font-weight: 780;
  padding: 8px 12px;
}

.command-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(15, 118, 110, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--navy);
  box-shadow: var(--shadow-lg);
}

.command-console::before,
.modern-bento-card::before,
.stack-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 28%, rgba(15, 118, 110, 0.18) 72%, transparent);
  opacity: 0.62;
}

.command-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
}

.command-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.command-frame-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.command-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 18px 18px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.command-search span,
.command-search em,
.command-card span,
.command-card > strong,
.stack-code-bar span,
.stack-pipeline article span {
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
  text-transform: uppercase;
}

.command-search strong {
  min-width: 0;
  color: white;
  font-size: clamp(16px, 1.5vw, 20px);
  overflow-wrap: anywhere;
}

.command-search em {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.command-list {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 8px 18px 18px;
}

.command-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  min-height: 142px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
}

.command-card h3 {
  margin-bottom: 7px;
  color: white;
  font-size: clamp(20px, 2vw, 28px);
}

.command-card p {
  color: rgba(230, 237, 247, 0.72);
  font-size: 14px;
}

.command-card > strong {
  justify-self: end;
  border: 1px solid rgba(197, 138, 27, 0.28);
  border-radius: 999px;
  background: rgba(197, 138, 27, 0.14);
  color: #f8d98c;
  padding: 7px 10px;
}

.bento-system-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(32, 199, 177, 0.12), transparent 30%),
    linear-gradient(180deg, var(--paper-2) 0%, #080d18 52%, var(--paper) 100%);
}

.bento-heading {
  margin-bottom: 18px;
}

.bento-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.modern-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  grid-auto-flow: dense;
  gap: 18px;
}

.modern-bento-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(21, 32, 51, 0.92), rgba(12, 19, 32, 0.94)),
    var(--surface);
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 34px);
}

.modern-bento-card.wide {
  grid-column: span 2;
}

.modern-bento-card.tall {
  grid-row: span 2;
}

.modern-bento-card:nth-child(1),
.modern-bento-card:nth-child(5) {
  background:
    linear-gradient(135deg, rgba(32, 199, 177, 0.22), transparent 42%),
    linear-gradient(150deg, rgba(21, 32, 51, 0.94), rgba(12, 19, 32, 0.96)),
    var(--surface);
}

.modern-bento-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(244, 189, 79, 0.18), transparent 40%),
    linear-gradient(150deg, rgba(21, 32, 51, 0.94), rgba(12, 19, 32, 0.96)),
    var(--surface);
}

.modern-bento-card h3 {
  max-width: 700px;
  color: var(--ink-strong);
  font-size: clamp(25px, 3vw, 44px);
}

.modern-bento-card p {
  max-width: 680px;
  color: var(--muted);
}

.modern-bento-card > strong {
  align-self: end;
  width: fit-content;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
  padding: 8px 11px;
}

.stack-section {
  overflow: hidden;
  background: var(--navy);
}

.stack-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  background-size: 40px 40px, 40px 40px, auto;
  padding: clamp(26px, 4vw, 54px);
  box-shadow: var(--shadow-lg);
}

.stack-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.stack-code-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
}

.stack-code-bar strong {
  color: white;
  font-size: 13px;
}

.stack-code {
  position: relative;
  display: grid;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
}

.stack-code code {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e7ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  padding: 11px 12px;
}

.stack-pipeline {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.stack-pipeline article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  padding: 15px;
}

.stack-pipeline h3 {
  margin: 7px 0 6px;
  color: white;
  font-size: 20px;
}

.stack-pipeline p {
  color: rgba(230, 237, 247, 0.7);
  font-size: 14px;
  line-height: 1.46;
}

.hero-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 24, 47, 0.86);
  color: white;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.dashboard-header,
.dashboard-list div,
.panel-stack div,
.chapter-panel div,
.role-meta div,
.resource-meta,
.standard-grid div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-header {
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-header span,
.dashboard-list span,
.panel-stack span,
.chapter-panel span,
.role-meta span,
.resource-meta span,
.portal-preview-header span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-dashboard .dashboard-header span,
.hero-dashboard .portal-preview-header span {
  color: rgba(255, 255, 255, 0.62);
}

.hero-dashboard .dashboard-header strong,
.hero-dashboard .portal-preview-header strong,
.hero-dashboard .pathway-steps h3 {
  color: white;
}

.pathway-steps {
  display: grid;
  gap: 12px;
}

.pathway-steps article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.pathway-steps article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 900;
}

.pathway-steps h3 {
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.2;
}

.pathway-steps p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.45;
}

.portal-preview {
  margin-top: 14px;
  border: 1px solid rgba(197, 138, 27, 0.28);
  border-radius: 14px;
  background: rgba(197, 138, 27, 0.11);
  padding: 15px;
}

.portal-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.unlock-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.unlock-list li {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.42;
  padding-left: 18px;
}

.unlock-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.apple-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.apple-program-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 270px;
  overflow: hidden;
}

.apple-program-tile.dark-tile {
  border-color: rgba(32, 199, 177, 0.26);
  background:
    linear-gradient(145deg, rgba(32, 199, 177, 0.18), rgba(17, 26, 42, 0.96) 48%),
    var(--surface);
  color: var(--ink);
}

.apple-program-tile.dark-tile h3,
.apple-program-tile.dark-tile p {
  color: var(--ink-strong);
}

.apple-program-tile.dark-tile p {
  color: var(--muted);
}

.apple-program-tile.dark-tile .card-label {
  border-color: rgba(32, 199, 177, 0.28);
  background: var(--blue-soft);
  color: var(--teal);
}

.apple-program-tile h3 {
  font-size: 26px;
}

.apple-program-tile a {
  width: fit-content;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 760;
}

.apple-program-tile a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  margin-left: 8px;
  transform: rotate(45deg);
  transition: transform 160ms var(--ease);
}

.apple-program-tile a:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.apple-program-tile .tag-row {
  margin-top: auto;
  padding-top: 18px;
}

.apple-benefit-list {
  display: grid;
  gap: 14px;
}

.apple-benefit-list article,
.apple-step-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 26, 42, 0.76);
  padding: 20px;
  box-shadow: none;
}

.apple-benefit-list article span,
.apple-step-grid article span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.apple-benefit-list h3 {
  font-size: 26px;
}

.apple-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.apple-step-grid article {
  min-height: 250px;
}

.apple-step-grid h3 {
  font-size: 22px;
}

.apple-step-grid p {
  color: var(--muted);
}

.network-section {
  padding: clamp(28px, 4vw, 48px);
}

.network-section .feature-list {
  margin-top: 24px;
}

.network-map {
  display: grid;
  gap: 12px;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(5, 11, 24, 0.96), rgba(14, 39, 72, 0.92)),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  color: white;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.network-map div {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.network-map span,
.chapter-marker {
  background: var(--gold);
  color: var(--ink-strong);
}

.network-map strong {
  color: white;
  font-size: 18px;
}

.network-map em {
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
}

.quote-card {
  display: grid;
  gap: 18px;
}

.quote-card blockquote {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
}

.quote-card span {
  color: var(--muted);
  font-weight: 760;
}

.quote-avatar,
.avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: white;
  font-weight: 850;
}

.quote-avatar {
  width: 48px;
  height: 48px;
}

.avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.avatar.large {
  width: 104px;
  height: 104px;
  font-size: 27px;
}

.cta-section {
  background: var(--paper);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 14% 18%, rgba(32, 199, 177, 0.18), transparent 34%),
    linear-gradient(135deg, #0b1422 0%, #121723 52%, #251e0f 100%);
  color: white;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  color: white;
}

.cta-panel p,
.cta-panel small {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.58;
}

.cta-panel small {
  display: block;
  margin-top: 12px;
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 34px clamp(18px, 4vw, 56px) 24px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.48fr);
  gap: 34px;
  align-items: center;
  width: min(var(--wide), 100%);
  margin: 0 auto;
  min-height: 360px;
  padding: clamp(28px, 4.2vw, 50px) 0;
}

.page-hero h1 {
  max-width: 880px;
  color: var(--ink-strong);
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1;
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.visual-panel,
.chapter-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(5, 11, 24, 0.96), rgba(25, 23, 18, 0.94));
  color: white;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.panel-stack,
.chapter-panel {
  display: grid;
  gap: 10px;
}

.panel-stack div,
.chapter-panel div {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 13px;
}

.panel-stack strong,
.chapter-panel strong {
  color: white;
  text-align: right;
}

.chapter-panel em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
}

.access-panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(197, 138, 27, 0.08) 100%),
    var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.access-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3vw, 34px);
}

.access-panel p {
  color: var(--muted);
  font-size: 17px;
}

.access-lock {
  width: 58px;
  height: 58px;
}

.access-lock::before {
  content: "";
  width: 24px;
  height: 18px;
  margin-top: 8px;
  border: 3px solid white;
  border-radius: 4px;
  box-shadow: 0 -12px 0 -5px var(--blue), 0 -13px 0 -3px white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid.three-step {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.connected-process {
  position: relative;
}

.connected-process::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 38px;
  border-top: 1px dashed rgba(15, 118, 110, 0.28);
}

.process-step {
  z-index: 1;
}

.process-step span {
  margin-bottom: 14px;
}

.process-note {
  margin-top: 20px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.callout-card {
  display: grid;
  gap: 18px;
}

.callout-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--ink-strong) !important;
  font-weight: 800;
}

.leadership-layout,
.advisor-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.leader-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 26px;
}

.leader-card.spotlight {
  border-color: rgba(197, 138, 27, 0.26);
  box-shadow: var(--shadow-md);
}

.advisor-panel {
  align-items: start;
}

.advisor-metric {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  border: 1px solid rgba(197, 138, 27, 0.28);
  border-radius: var(--radius);
  background: var(--gold-soft);
  padding: 18px;
}

.advisor-metric strong {
  color: var(--ink-strong);
  font-size: 22px;
}

.advisor-metric span {
  color: var(--muted);
}

.team-directory-section {
  padding-top: 82px;
}

.team-directory-section .section-header {
  align-items: start;
  margin-bottom: 24px;
}

.team-directory-section .section-header h2 {
  max-width: 780px;
}

.directory-controls {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 26, 42, 0.86);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.72);
  color: var(--ink);
  padding: 12px 16px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #c5d2e4;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  padding: 9px 14px;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}

.filter-button:hover {
  border-color: rgba(15, 118, 110, 0.24);
  color: var(--teal);
  transform: translateY(-1px);
}

.filter-button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.member-grid {
  gap: 20px;
}

.member-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(21, 32, 51, 0.92), rgba(12, 19, 32, 0.94)),
    var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform 170ms var(--ease), border-color 170ms var(--ease), box-shadow 170ms var(--ease);
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(15, 118, 110, 0.58), rgba(197, 138, 27, 0.74));
  opacity: 0.82;
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.24);
  box-shadow: var(--shadow-md);
}

.member-card[hidden] {
  display: none;
}

.member-card p {
  color: var(--muted);
  line-height: 1.48;
}

.member-card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.member-card-header h3 {
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.member-card-header p {
  color: var(--muted);
  line-height: 1.32;
}

.member-card .tag-row {
  margin-top: auto;
  padding-top: 6px;
}

.role-title {
  color: var(--ink-strong) !important;
  font-weight: 760;
}

.empty-state {
  border: 1px dashed rgba(15, 118, 110, 0.34);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--teal);
  font-weight: 760;
  padding: 18px;
}

.chapter-card {
  display: grid;
  gap: 12px;
}

.mini-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat-row div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.mini-stat-row strong {
  display: block;
  color: var(--ink-strong);
  font-size: 34px;
  line-height: 1;
}

.mini-stat-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 760;
}

.credibility-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.credibility-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-strong);
  font-weight: 760;
  padding: 8px 13px;
  box-shadow: var(--shadow-sm);
}

.role-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 22px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.role-main {
  display: grid;
  gap: 18px;
}

.role-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.role-heading h3 {
  flex-basis: 100%;
  margin: 8px 0 0;
  font-size: 32px;
}

.role-heading p {
  flex-basis: 100%;
}

.role-card small {
  color: var(--muted);
  font-weight: 700;
}

.role-meta {
  display: grid;
  gap: 10px;
}

.role-meta div {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 13px;
}

.role-meta strong {
  color: var(--ink-strong);
  text-align: right;
}

.resource-preview,
.publication-card {
  display: grid;
  gap: 14px;
}

.resource-meta span {
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
}

.doc-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.doc-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(164, 177, 195, 0.26);
}

.doc-lines span:nth-child(1) {
  width: 74%;
}

.doc-lines span:nth-child(2) {
  width: 92%;
}

.doc-lines span:nth-child(3) {
  width: 56%;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.standard-grid div {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.standard-grid span {
  color: var(--gold);
  font-weight: 850;
}

.standard-grid strong {
  color: var(--ink-strong);
  font-size: 18px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink-strong);
  font-weight: 760;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px 13px;
}

.form input:focus,
.form select:focus,
.form textarea:focus,
.search-field input:focus {
  border-color: rgba(15, 118, 110, 0.46);
  outline: 3px solid rgba(15, 118, 110, 0.14);
}

.form textarea {
  min-height: 122px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 760;
}

details {
  padding: 0;
  overflow: hidden;
}

details + details {
  margin-top: 10px;
}

summary {
  position: relative;
  cursor: pointer;
  color: var(--ink-strong);
  font-weight: 800;
  list-style: none;
  padding: 18px 54px 18px 18px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 0 18px 18px;
}

.portal-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.portal-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px;
}

.portal-nav a {
  border-radius: 10px;
  color: #c5d2e4;
  font-weight: 760;
  padding: 10px 12px;
}

.portal-nav a.active,
.portal-nav a:hover {
  background: var(--blue-soft);
  color: var(--teal);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.55fr));
  gap: 34px;
  padding: 62px clamp(18px, 4vw, 56px) 46px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(145deg, var(--navy) 0%, #111827 54%, var(--navy-2) 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: white;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 12px;
  color: white;
  font-size: 19px;
}

.site-footer p,
.footer-contact,
.footer-contact a,
.site-footer small {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 9px;
  align-content: start;
  min-width: 0;
}

.site-footer a {
  max-width: 100%;
  width: fit-content;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #9db7ff;
}

.compact-list {
  gap: 10px;
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .site-header {
    gap: 16px;
    padding-inline: clamp(16px, 2.5vw, 34px);
  }

  .site-nav a {
    font-size: 14px;
    padding-inline: 10px;
  }

  .site-nav .nav-join,
  .site-nav .nav-button,
  .site-nav .nav-portal {
    padding-inline: 16px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    max-width: 150px;
    font-size: 13px;
  }

  .site-nav a {
    font-size: 13px;
    padding-inline: 8px;
  }

  .apple-hero-inner,
  .page-hero-inner,
  .portal-window-body,
  .apple-split,
  .console-shell,
  .stack-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero p,
  .page-hero p {
    max-width: 760px;
  }

  .apple-portal-showcase,
  .hero-dashboard,
  .visual-panel,
  .chapter-panel,
  .command-console,
  .stack-console {
    max-width: 760px;
  }

  .grid.cols-4,
  .stat-grid,
  .apple-tile-grid,
  .apple-step-grid,
  .standard-grid,
  .modern-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modern-bento-card.wide,
  .modern-bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 68px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 14px auto 14px;
    display: none;
    max-height: calc(100svh - 100px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(7, 11, 19, 0.96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: saturate(180%) blur(18px);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-button,
  .site-nav .nav-join,
  .site-nav .nav-portal {
    min-height: 46px;
    margin-left: 0;
    border-radius: 12px;
    justify-content: flex-start;
    padding: 13px 14px;
  }

  .section-header,
  .split,
  .leadership-layout,
  .advisor-panel,
  .role-card,
  .cta-panel,
  .portal-shell,
  .site-footer,
  .directory-controls {
    grid-template-columns: 1fr;
  }

  .grid.cols-3,
  .process-grid,
  .process-grid.three-step {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connected-process::before {
    display: none;
  }

  .portal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .section,
  .page-hero,
  .stats-band {
    padding-inline: 14px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .page-hero {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .page-hero-inner {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, var(--wide));
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .home-hero {
    min-height: auto;
  }

  .overlap-stats {
    margin-top: 0;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero p,
  .page-hero p,
  .section-header p,
  .lead,
  .apple-section-title p:not(.eyebrow),
  .apple-split > div:first-child .lead {
    font-size: 16px;
  }

  .hero-proof-strip {
    grid-template-columns: 1fr;
  }

  .page-hero-inner,
  .apple-split > div:first-child,
  .apple-section-title,
  .network-section,
  .cta-panel {
    padding: 0;
  }

  .cta-panel {
    border-radius: var(--radius-sm);
    padding: 24px;
  }

  .team-directory-section {
    padding-top: 62px;
  }

  .directory-controls {
    gap: 12px;
    padding: 14px;
  }

  .filters {
    gap: 7px;
  }

  .filter-button {
    min-height: 38px;
    font-size: 13px;
    padding: 8px 11px;
  }

  .member-card {
    padding: 19px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .stat-grid,
  .apple-tile-grid,
  .apple-step-grid,
  .modern-bento-grid,
  .process-grid,
  .process-grid.three-step,
  .standard-grid,
  .mini-stat-row,
  .portal-nav,
  .portal-window-grid {
    grid-template-columns: 1fr;
  }

  .command-card,
  .command-search,
  .stack-code-bar {
    grid-template-columns: 1fr;
  }

  .command-card > strong {
    justify-self: start;
  }

  .actions,
  .inline-actions {
    align-items: stretch;
  }

  .button,
  button.button {
    width: 100%;
  }

  .portal-window-body {
    padding: 12px;
  }

  .portal-window-body aside {
    min-height: 230px;
    padding: 20px;
  }

  .home-hero .apple-portal-showcase {
    display: none;
  }

  .leader-card,
  .access-panel {
    grid-template-columns: 1fr;
  }

  .network-map {
    min-height: auto;
  }

  .role-heading h3 {
    font-size: 26px;
  }

  .panel-stack div,
  .chapter-panel div,
  .role-meta div,
  .resource-meta,
  .standard-grid div,
  .dashboard-header,
  .portal-preview-header,
  .stack-code-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-stack strong,
  .chapter-panel strong,
  .role-meta strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:root {
  color-scheme: light;
  --ink: #26364d;
  --ink-strong: #071a33;
  --muted: #627086;
  --muted-2: #7f8a9d;
  --paper: #f7f9f2;
  --paper-2: #edf4f7;
  --paper-warm: #fff7df;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(248, 251, 252, 0.88);
  --surface-warm: rgba(255, 248, 226, 0.82);
  --navy: #081a33;
  --navy-2: #12334f;
  --blue: #315f9f;
  --blue-2: #244f86;
  --blue-soft: rgba(49, 95, 159, 0.12);
  --gold: #b7791f;
  --gold-soft: rgba(183, 121, 31, 0.14);
  --teal: #176b57;
  --teal-soft: rgba(23, 107, 87, 0.12);
  --berry: #9b4561;
  --line: rgba(21, 39, 62, 0.13);
  --line-strong: rgba(21, 39, 62, 0.22);
  --shadow-sm: 0 1px 2px rgba(8, 26, 51, 0.08);
  --shadow-md: 0 14px 34px rgba(8, 26, 51, 0.1);
  --shadow-lg: 0 30px 80px rgba(8, 26, 51, 0.16);
}

html {
  background: var(--paper);
}

body {
  background:
    linear-gradient(180deg, #f9fbf4 0%, #eef5f8 46%, #fff7df 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(250, 252, 246, 0.92);
  border-bottom-color: rgba(21, 39, 62, 0.12);
  box-shadow: 0 10px 28px rgba(8, 26, 51, 0.08);
}

.brand,
.brand-text {
  color: var(--ink-strong);
}

.site-nav a {
  color: #3e4f68;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--blue-soft);
  color: var(--blue-2);
}

.site-nav .nav-join {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-strong);
}

.site-nav .nav-join:hover,
.site-nav .nav-join.active {
  background: var(--gold-soft);
  color: #7a4f10;
}

.site-nav .nav-button,
.site-nav .nav-portal {
  border-color: rgba(23, 107, 87, 0.2);
  background: var(--teal);
  color: white;
}

.site-nav .nav-button:hover,
.site-nav .nav-button.active,
.site-nav .nav-portal:hover,
.site-nav .nav-portal.active {
  background: #0f5746;
  color: white;
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.92);
}

.menu-toggle span:not(.sr-only) {
  background: var(--ink-strong);
}

.hero {
  background: var(--paper-warm);
  color: var(--ink-strong);
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(249, 251, 244, 0.94) 0%, rgba(249, 251, 244, 0.82) 42%, rgba(249, 251, 244, 0.34) 100%),
    linear-gradient(0deg, rgba(247, 249, 242, 0.9) 0%, rgba(247, 249, 242, 0.08) 62%),
    url("assets/bfn-hero.jpg") center / cover no-repeat;
}

.home-hero::after {
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero h1 {
  color: var(--ink-strong);
}

.hero p {
  color: rgba(38, 54, 77, 0.9);
}

.hero-note {
  color: rgba(38, 54, 77, 0.68) !important;
}

.hero .eyebrow,
.cta-panel .eyebrow,
.dark-section .eyebrow {
  color: var(--gold);
}

.hero-proof-strip span {
  border-color: rgba(21, 39, 62, 0.14);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.hero-proof-strip strong {
  color: var(--ink-strong);
}

.hero-proof-strip em {
  color: rgba(38, 54, 77, 0.68);
}

.button.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 28px rgba(23, 107, 87, 0.18);
}

.button.primary:hover {
  background: #0f5746;
}

.button.dark {
  background: var(--ink-strong);
  color: white;
}

.button.secondary,
.button.ghost {
  border-color: rgba(21, 39, 62, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-strong);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: rgba(49, 95, 159, 0.24);
  background: white;
}

.section,
.stats-band,
.cta-section,
.page-hero {
  background: var(--paper);
}

.section.soft,
.proof-section,
.apple-pathway-section,
.apple-tile-section,
.apple-showcase-section,
.apple-cadence-section {
  background: linear-gradient(180deg, #edf4f7 0%, var(--paper) 100%);
}

.section-header p,
.lead,
.apple-split > div:first-child .lead,
.apple-section-title p:not(.eyebrow),
.card p,
.card li,
.compact-card p,
.feature-card p,
.track-card p,
.pillar-card p,
.quote-card p,
.leader-card p,
.callout-card p,
.chapter-card p,
.role-card p,
.resource-preview p,
.publication-card p,
.process-step p {
  color: var(--muted);
}

.card,
.compact-card,
.feature-card,
.track-card,
.pillar-card,
.quote-card,
.leader-card,
.callout-card,
.chapter-card,
.role-card,
.resource-preview,
.publication-card,
.process-step,
details,
.apple-benefit-list article,
.apple-step-grid article {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.card:hover,
.compact-card:hover,
.feature-card:hover,
.track-card:hover,
.pillar-card:hover,
.quote-card:hover,
.leader-card:hover,
.chapter-card:hover,
.resource-preview:hover,
.publication-card:hover,
.process-step:hover {
  border-color: rgba(49, 95, 159, 0.24);
  box-shadow: var(--shadow-md);
}

.tag-row span,
.tag-grid span,
.console-chip-row span {
  border-color: rgba(21, 39, 62, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(21, 39, 62, 0.12);
  box-shadow: var(--shadow-md);
}

.stat-card span {
  color: var(--ink-strong);
}

.stat-card p {
  color: var(--muted);
}

.library-console-section {
  background:
    linear-gradient(rgba(49, 95, 159, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 159, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, #eef5f8 0%, #fbfcf6 100%);
  background-size: 46px 46px, 46px 46px, auto;
}

.command-console {
  border-color: rgba(21, 39, 62, 0.14);
  background:
    linear-gradient(160deg, rgba(183, 121, 31, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 252, 0.9));
  box-shadow: var(--shadow-lg);
}

.command-console::before,
.modern-bento-card::before,
.stack-console::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.36), transparent 28%, rgba(49, 95, 159, 0.1) 72%, transparent);
}

.command-frame-bar,
.stack-code-bar {
  border-bottom-color: rgba(21, 39, 62, 0.1);
}

.command-frame-bar span {
  display: none;
}

.command-frame-bar strong,
.command-search span,
.command-search em,
.command-card span,
.command-card > strong,
.stack-code-bar span,
.stack-pipeline article span {
  color: var(--muted-2);
}

.command-frame-bar strong {
  margin-left: 0;
  color: var(--ink);
}

.command-search,
.command-card,
.stack-pipeline article {
  border-color: rgba(21, 39, 62, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.command-search strong,
.command-card h3 {
  color: var(--ink-strong);
}

.command-search em,
.command-card > strong {
  border-color: rgba(183, 121, 31, 0.26);
  background: var(--gold-soft);
  color: #7a4f10;
}

.command-card p {
  color: var(--muted);
}

.bento-system-section {
  background: linear-gradient(180deg, #edf4f7 0%, var(--paper) 100%);
}

.modern-bento-card,
.modern-bento-card:nth-child(1),
.modern-bento-card:nth-child(2),
.modern-bento-card:nth-child(5),
.apple-program-tile.dark-tile {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 251, 0.92)),
    var(--surface);
  color: var(--ink);
}

.modern-bento-card h3,
.modern-bento-card p,
.apple-program-tile.dark-tile h3,
.apple-program-tile.dark-tile p {
  color: var(--ink-strong);
}

.modern-bento-card p,
.apple-program-tile.dark-tile p {
  color: var(--muted);
}

.stack-section,
.network-map {
  background: var(--navy);
}

.network-map {
  color: white;
}

.network-map div {
  background: rgba(255, 255, 255, 0.1);
}

.quote-avatar,
.avatar {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: white;
}

.cta-panel,
.site-footer,
.page-hero.dark-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, var(--navy) 0%, #102d49 58%, #213915 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: white;
}

.cta-panel h2,
.site-footer h2,
.site-footer h3,
.footer-brand {
  color: white;
}

.cta-panel p,
.cta-panel small,
.site-footer p,
.footer-contact,
.footer-contact a,
.site-footer small {
  color: rgba(255, 255, 255, 0.72);
}

.portal-nav,
.member-card,
.role-meta,
.resource-meta,
.standard-grid div {
  background: rgba(255, 255, 255, 0.86);
}

.portal-nav a {
  color: var(--ink);
}

.portal-nav a.active,
.portal-nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-2);
}

@media (max-width: 980px) {
  .site-nav {
    background: rgba(250, 252, 246, 0.98);
  }
}

.home-hero {
  min-height: auto;
}

.hero-inner {
  padding-top: clamp(48px, 7vw, 86px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero-copy {
  max-width: 720px;
}

.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 22px;
  color: var(--ink);
}

.hero-meta-line span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.hero-meta-line strong {
  color: var(--ink-strong);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 820;
  line-height: 1;
}

.hero-meta-line em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.homepage-overview-section {
  padding-top: clamp(42px, 6vw, 74px);
  padding-bottom: clamp(42px, 6vw, 74px);
  background: var(--paper);
}

.homepage-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.overview-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.overview-list a {
  display: grid;
  grid-template-columns: 52px 120px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 18px 0;
}

.overview-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.04em;
}

.overview-list strong {
  color: var(--ink-strong);
  font-size: 18px;
}

.overview-list em {
  color: var(--muted);
  font-style: normal;
}

.overview-list a:hover strong {
  color: var(--blue-2);
}

.apple-pathway-section {
  padding-top: clamp(42px, 6vw, 74px);
}

.apple-pathway-section .apple-benefit-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  box-shadow: none;
}

.apple-pathway-section .apple-benefit-list article span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-2);
}

.apple-pathway-section .apple-benefit-list h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.apple-pathway-section .apple-benefit-list p {
  grid-column: 2;
}

.chapter-preview-section {
  padding-top: clamp(42px, 6vw, 74px);
}

@media (max-width: 980px) {
  .homepage-overview {
    grid-template-columns: 1fr;
  }

  .overview-list a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .overview-list em {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .hero-meta-line {
    gap: 10px 14px;
    margin-top: 18px;
  }

  .hero-meta-line strong {
    font-size: 18px;
  }

  .hero-note {
    display: none;
  }

  .homepage-overview-section,
  .apple-pathway-section,
  .chapter-preview-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .apple-pathway-section .apple-benefit-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 16px;
  }
}

/* Trust pass: make the homepage read as an intentional finance organization. */
body {
  background: #f5f4ef;
}

.site-header {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(8, 26, 51, 0.1);
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.brand-text {
  max-width: 260px;
  font-size: 16px;
}

.site-nav a {
  min-height: 40px;
  border-radius: 8px;
  color: #34465d;
  font-size: 14px;
}

.site-nav .nav-join {
  border-color: rgba(8, 26, 51, 0.16);
}

.site-nav .nav-button,
.site-nav .nav-portal {
  background: #0f654f;
}

.home-hero {
  min-height: min(690px, calc(100svh - 76px));
  background: #071a33;
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.96) 0%, rgba(7, 26, 51, 0.88) 43%, rgba(7, 26, 51, 0.36) 100%),
    linear-gradient(0deg, rgba(7, 26, 51, 0.7), rgba(7, 26, 51, 0.02) 48%),
    url("assets/bfn-hero.jpg") center / cover no-repeat;
  filter: saturate(0.95) contrast(1.04);
}

.home-hero::after {
  height: 24%;
  background: linear-gradient(180deg, transparent, #f5f4ef);
}

.hero-inner {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: #e1b458;
}

.hero h1 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(50px, 6.4vw, 86px);
  line-height: 0.98;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-meta-line {
  gap: 14px 28px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta-line strong {
  color: #ffffff;
}

.hero-meta-line em {
  color: rgba(255, 255, 255, 0.66);
}

.hero-note {
  color: rgba(255, 255, 255, 0.62) !important;
}

.button.primary {
  background: #0f7a5d;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.button.primary:hover {
  background: #0b664d;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.homepage-overview-section,
.apple-pathway-section,
.chapter-preview-section {
  background: #f5f4ef;
}

.homepage-overview {
  border-top: 1px solid rgba(8, 26, 51, 0.12);
  padding-top: clamp(28px, 4vw, 44px);
}

.homepage-overview h2,
.apple-pathway-section h2,
.chapter-preview-section h2 {
  max-width: 680px;
  color: #071a33;
}

.overview-list {
  border-top-color: rgba(8, 26, 51, 0.14);
}

.overview-list a {
  border-bottom-color: rgba(8, 26, 51, 0.14);
}

.overview-list strong {
  color: #071a33;
}

.overview-list span {
  color: #9a6517;
}

.overview-list em,
.homepage-overview .lead,
.apple-pathway-section .lead,
.chapter-preview-section .lead {
  color: #536276;
}

.apple-pathway-section {
  background: #ffffff;
  border-top: 1px solid rgba(8, 26, 51, 0.1);
  border-bottom: 1px solid rgba(8, 26, 51, 0.1);
}

.apple-pathway-section .apple-benefit-list article {
  border-radius: 8px;
  background: #f8faf7;
  border-color: rgba(8, 26, 51, 0.12);
}

.network-section {
  border-radius: 0;
  padding: 0;
}

.network-map {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.96), rgba(18, 51, 79, 0.96));
}

.cta-panel {
  border-radius: 8px;
  background: #071a33;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    top: 76px;
  }
}

@media (max-width: 720px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 26, 51, 0.93) 0%, rgba(7, 26, 51, 0.78) 100%),
      url("assets/bfn-hero.jpg") center / cover no-repeat;
  }

  .home-hero::after {
    height: 18%;
  }

  .hero-inner {
    padding-top: 54px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 56px);
  }

  .hero p {
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-meta-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-meta-line span {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .homepage-overview {
    border-top: 0;
    padding-top: 0;
  }
}

/* Full-site product polish: the final visual system for the public prototype. */
:root {
  color-scheme: light;
  --ink: #172235;
  --ink-strong: #071a33;
  --muted: #526277;
  --muted-2: #718096;
  --paper: #f5f4ef;
  --paper-2: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f8f5;
  --navy: #071a33;
  --navy-2: #10233e;
  --blue: #0f7a5d;
  --blue-2: #0b664d;
  --gold: #b98321;
  --line: rgba(8, 26, 51, 0.12);
  --line-strong: rgba(8, 26, 51, 0.2);
  --shadow-sm: 0 1px 2px rgba(8, 26, 51, 0.06);
  --shadow-md: 0 10px 24px rgba(8, 26, 51, 0.08);
  --shadow-lg: 0 18px 42px rgba(8, 26, 51, 0.12);
}

html,
body {
  background: #f5f4ef;
  color: var(--ink);
}

main {
  background: #f5f4ef;
}

.section,
.page-hero,
.cta-section {
  background: #f5f4ef;
}

.section {
  padding: clamp(54px, 7vw, 88px) clamp(18px, 4vw, 56px);
}

.section.soft {
  background: #ffffff;
  border-block: 1px solid rgba(8, 26, 51, 0.08);
}

.section.compact-section {
  padding-block: clamp(24px, 4vw, 40px);
}

.section-header {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.section-header h2,
.split h2,
.leadership-layout h2,
.cta-panel h2 {
  max-width: 780px;
  color: #071a33;
}

.section-header p,
.lead,
.split p,
.text-stack p,
.card p,
.card li,
.chapter-card p,
.member-card p,
.resource-preview p,
.publication-card p,
.process-step p,
.access-panel p,
details p {
  color: #526277;
}

.eyebrow,
.card-label {
  color: #9a6517;
  letter-spacing: 0;
}

.page-hero {
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(34px, 4vw, 54px);
  border-bottom: 1px solid rgba(8, 26, 51, 0.08);
}

.page-hero-inner {
  min-height: 0;
  align-items: stretch;
  gap: clamp(24px, 4vw, 46px);
  padding: 0;
}

.page-hero h1 {
  max-width: 860px;
  color: #071a33;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1;
}

.page-hero p {
  max-width: 760px;
  color: #526277;
  font-size: clamp(17px, 1.7vw, 20px);
}

.visual-panel,
.chapter-panel,
.access-panel,
.card,
.stat-card,
.leader-card,
.member-card,
.chapter-card,
.resource-preview,
.publication-card,
.role-card,
.callout-card,
.operating-board,
.portal-card,
details,
form.card,
.process-step {
  border: 1px solid rgba(8, 26, 51, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.visual-panel,
.chapter-panel {
  color: #172235;
  background: #ffffff;
}

.panel-stack div,
.chapter-panel div,
.role-meta div,
.advisor-metric,
.standard-grid div,
.mini-stat-row div {
  border-color: rgba(8, 26, 51, 0.12);
  border-radius: 8px;
  background: #f7f8f5;
}

.panel-stack strong,
.chapter-panel strong,
.visual-panel strong,
.role-meta strong,
.mini-stat-row strong {
  color: #071a33;
}

.panel-stack span,
.chapter-panel span,
.visual-panel span,
.role-meta span,
.mini-stat-row span {
  color: #526277;
}

.card:hover,
.member-card:hover,
.chapter-card:hover,
.resource-preview:hover,
.publication-card:hover,
.process-step:hover {
  transform: none;
  border-color: rgba(8, 26, 51, 0.18);
  box-shadow: 0 8px 20px rgba(8, 26, 51, 0.06);
}

.grid,
.member-grid {
  gap: clamp(16px, 2vw, 22px);
}

.button {
  border-radius: 8px;
  min-height: 44px;
}

.button.primary,
.button.dark,
.nav-button,
.nav-portal,
.site-nav .nav-button,
.site-nav .nav-portal {
  background: #0f654f;
  color: #ffffff;
}

.button.primary:hover,
.button.dark:hover,
.nav-button:hover,
.nav-portal:hover {
  background: #0b5844;
}

.button.secondary,
.button.ghost {
  border-color: rgba(8, 26, 51, 0.18);
  background: #ffffff;
  color: #071a33;
}

.cta-panel {
  border: 0;
  border-radius: 8px;
  background: #071a33;
  box-shadow: none;
}

.cta-panel h2,
.cta-panel .eyebrow {
  color: #ffffff;
}

.cta-panel p,
.cta-panel small {
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .button.ghost,
.cta-panel .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
}

.network-map {
  border: 0;
  background: #071a33;
  box-shadow: none;
}

.network-map div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.network-map strong,
.network-map span,
.network-map em {
  color: #ffffff;
}

.team-directory-section .section-header,
.team-directory-section .directory-controls,
.team-directory-section .member-grid {
  max-width: var(--wide);
}

.directory-controls {
  margin-bottom: 18px;
}

.search-field input,
input,
select,
textarea {
  border-color: rgba(8, 26, 51, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: #071a33;
}

.filter-button {
  border-radius: 8px;
}

.filter-button.active {
  background: #071a33;
  color: #ffffff;
}

.role-card {
  align-items: stretch;
  background: #ffffff;
}

.role-main {
  min-width: 0;
}

.portal-shell,
.portal-page,
.portal-layout {
  background: #f5f4ef;
  color: #172235;
}

.portal-main {
  background: #f5f4ef;
}

.portal-sidebar,
.portal-topbar,
.portal-card {
  border-color: rgba(8, 26, 51, 0.12);
  background: #ffffff;
  box-shadow: none;
}

@media (max-width: 980px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .visual-panel,
  .chapter-panel {
    width: 100%;
  }

  .section,
  .page-hero {
    padding-inline: clamp(16px, 5vw, 32px);
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 38px;
  }

  .section.soft {
    padding-block: 38px;
  }

  .page-hero {
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .page-hero p {
    font-size: 17px;
  }

  .hero-inner {
    padding-bottom: 28px;
  }

  .homepage-overview-section {
    padding-top: 28px;
  }

  .hero-meta-line {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .member-card,
  .chapter-card,
  .resource-preview,
  .publication-card,
  .card,
  .process-step {
    min-height: 0;
  }
}
