/* ============================================================
   HOWORTH FRANCIS ASSOCIATES — shared site styles
   Tokens, nav, buttons, footer and the docked chatbot shell.
   Extracted from Homepage v2 so every page matches exactly.
   Page-specific styles live inline in each page's <style>.
   ============================================================ */

:root {
  --navy: #1B2A4A;
  --navy-deep: #111E38;
  --navy-soft: #2C3D60;
  --blue: #1E8BC3;
  --blue-soft: #46A6D8;
  --blue-deep: #15618C;
  --paper: #FBFAF7;
  --paper-warm: #F4F1E9;
  --ink: #1B2A4A;
  --ink-soft: #5C6478;
  --ink-faint: #8A8F9C;
  --line: #E6E2D8;
  --line-soft: #EFEDE5;
  --white: #ffffff;
  --r: 14px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

h1, h2, h3, .display {
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

/* ============ NAV ============ */
header.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  padding-top: 14px;
}
.nav-inner {
  max-width: var(--maxw);
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 0 22px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  border-radius: 14px;
  background: rgba(251,250,247,0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -18px rgba(13,26,50,0.28);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { height: 40px; width: auto; display: block; }
.brand-tt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name, .brand .b1 {
  font-family: 'Libre Caslon Text', serif;
  font-size: 18.5px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand .tag, .brand .b2 {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: none; background: none; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; padding: 0; flex: none; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
nav.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav.menu > a, .dropdown > button {
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
nav.menu > a:hover, .dropdown > button:hover { color: var(--blue-deep); background: rgba(30,139,195,0.08); }
nav.menu > a.active { color: var(--blue-deep); }

.dropdown { position: relative; }
.dropdown > button { display: inline-flex; align-items: center; gap: 5px; }
.dropdown > button .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .2s; }
.dropdown:hover > button .caret { transform: rotate(225deg) translateY(-1px); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 18px 40px -16px rgba(27,42,74,0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
}
.dropdown-menu a span { display: block; font-size: 12px; color: var(--ink-faint); font-weight: 400; margin-top: 1px; }
.dropdown-menu a:hover { background: var(--paper-warm); color: var(--blue-deep); }

.nav-cta {
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--blue);
  padding: 11px 20px !important;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  transition: background .18s, transform .18s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-soft) !important; transform: translateY(-1px); }

/* ============ BUTTONS ============ */
.btn {
  font-family: 'Work Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(30,139,195,0.7); }
.btn-blue:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-arrow::after { content: "→"; font-weight: 400; }

/* ============ SECTION SCAFFOLD ============ */
section { padding: 116px 0; }
.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--blue); display: inline-block; }
.eyebrow.center { justify-content: center; }
.lede { font-size: 19px; color: var(--ink-soft); line-height: 1.7; max-width: 640px; }

/* placeholder flag */
.flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(30,139,195,0.12);
  border: 1px dashed var(--blue);
  padding: 5px 11px;
  border-radius: 20px;
}
.flag::before { content: "✱"; }

/* ============ FOOTER ============ */
footer.site { background: var(--navy-deep); color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.1); padding: 44px 0; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.foot-links a:hover { color: var(--blue-soft); }
.foot-copy { font-size: 12.5px; color: rgba(255,255,255,0.42); }

/* ============ CHATBOT SHELL ============ */
.bot-thread { display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 86%; padding: 12px 15px; border-radius: 15px; font-size: 14.5px; line-height: 1.5; font-family: 'Work Sans', sans-serif; animation: bubIn .4s cubic-bezier(.2,.7,.3,1) both; }
.bub.bot { background: var(--paper-warm); color: var(--ink); border-bottom-left-radius: 5px; align-self: flex-start; }
.bub.user { background: var(--navy); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; animation: bubIn .4s .1s both; }
.chip {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.chip:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.chip.outlier { margin-left: auto; border-style: dashed; border-color: var(--blue-soft); color: var(--blue-deep); }
.bot-input { display: flex; gap: 8px; align-items: center; padding-top: 4px; }
.bot-input input {
  flex: 1;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  padding: 12px 15px;
  border: 1.5px solid #9CB0C0;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.bot-input input::placeholder { color: #8893a3; }
.bot-input input:focus { border-color: var(--blue); }
.bot-send { width: 42px; height: 42px; flex: none; border-radius: 11px; border: none; background: var(--blue); color: #fff; cursor: pointer; transition: background .15s, transform .15s; display: flex; align-items: center; justify-content: center; }
.bot-send svg { width: 18px; height: 18px; }
.bot-send:hover { background: var(--blue-soft); transform: translateY(-1px); }
.bot-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy) url('hfa-mark.png') center/cover; color: transparent; text-indent: -9999px; display: flex; align-items: center; justify-content: center; font-family: 'Libre Caslon Text', serif; font-weight: 700; font-size: 15px; flex: none; }
.bot-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,0.65); }
.bot-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5BCB8B; box-shadow: 0 0 0 3px rgba(91,203,139,0.25); }

/* floating docked widget */
.dock { position: fixed; right: 26px; bottom: 26px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.dock-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px 12px 12px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(17,30,56,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  transform: translateY(20px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
  max-width: 320px;
}
.dock.show .dock-pill { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.dock-pill .pill-txt { font-size: 13.5px; line-height: 1.25; }
.dock-pill .pill-txt b { font-weight: 600; }
.dock.open .dock-pill { display: none; }

.dock-panel {
  width: 384px;
  max-width: calc(100vw - 40px);
  height: 540px;
  max-height: calc(100vh - 110px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(17,30,56,0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.dock.open .dock-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.dp-head { background: var(--navy); color: #fff; padding: 15px 16px; display: flex; align-items: center; gap: 12px; }
.dp-head .nm { font-family: 'Libre Caslon Text', serif; font-size: 17px; font-weight: 600; line-height: 1.1; flex: 1; }
.dp-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 20px; cursor: pointer; line-height: 1; padding: 4px; }
.dp-close:hover { color: #fff; }
.dp-body { flex: 1; padding: 18px; overflow-y: auto; }
.dp-foot { padding: 12px 14px 14px; border-top: 1px solid var(--line-soft); }

.bot-disclaimer { font-size: 11px; color: var(--ink-faint); text-align: center; margin-top: 9px; letter-spacing: 0.02em; }

/* typing indicator */
.typing-bub { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.typing-bub span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); opacity: .35; animation: typingDot 1.1s infinite ease-in-out; }
.typing-bub span:nth-child(2) { animation-delay: .15s; }
.typing-bub span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: .85; transform: translateY(-3px); } }

/* editable handoff summary card */
.summary-card { align-self: stretch; background: var(--white); border: 1px solid var(--blue-soft); border-radius: 14px; padding: 16px; box-shadow: 0 14px 36px -22px rgba(27,42,74,0.4); animation: bubIn .4s cubic-bezier(.2,.7,.3,1) both; }
.summary-card .sc-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px; }
.summary-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; font-family: 'Work Sans', sans-serif; font-size: 13.5px; line-height: 1.55; color: var(--ink); background: var(--paper); resize: vertical; min-height: 110px; outline: none; }
.summary-card textarea:focus { border-color: var(--blue); }
.summary-card .sc-actions { display: flex; gap: 8px; margin-top: 10px; }
.summary-card .sc-send { flex: 1; background: var(--blue); color: var(--navy); border: none; border-radius: 9px; padding: 11px; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background .15s, transform .15s; }
.summary-card .sc-send:hover { background: var(--blue-soft); transform: translateY(-1px); }
.summary-card.locked textarea { opacity: .6; pointer-events: none; }
.summary-card.locked .sc-actions { display: none; }

/* ============================================================
   SUB-PAGE COMPONENTS (Approach + the three program pages)
   ============================================================ */

/* breadcrumb */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-faint); }
.crumb a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.crumb a:hover { color: var(--blue-deep); }
.crumb span { color: var(--blue-deep); }

/* page hero */
.phero { padding: 78px 0 8px; }
.phero .eyebrow { margin-bottom: 22px; }
.phero h1 { font-size: 60px; letter-spacing: -0.02em; max-width: 18ch; text-wrap: balance; }
.phero h1 em { font-style: italic; color: var(--blue-deep); }
.phero .descriptor { font-size: 16px; color: var(--blue-deep); font-weight: 600; margin-top: 26px; max-width: 660px; line-height: 1.5; }
.phero .intro { font-size: 19.5px; color: var(--ink-soft); line-height: 1.7; margin-top: 18px; max-width: 720px; }
.phero .cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* generic prose section */
.psec { padding: 60px 0; }
.psec.first { padding-top: 84px; }
.psec h2 { font-size: 40px; line-height: 1.08; max-width: 26ch; text-wrap: balance; }
.psec .sub { font-size: 16px; color: var(--ink-soft); margin-top: 14px; max-width: 680px; }
.psec .body { max-width: 760px; }
.psec .body p { font-size: 17px; color: var(--ink-soft); line-height: 1.78; margin-top: 18px; }
.psec .body p:first-child { margin-top: 24px; }
.psec .body p strong, .psec .body p b { color: var(--navy); font-weight: 600; }
.psec .approach-link { margin-top: 28px; }

.psec.alt { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.psec.warm { background: var(--paper-warm); }

/* feature cards row (who it's for, themes, shape of work) */
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.fcards.two { grid-template-columns: repeat(2, 1fr); }
.fcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(27,42,74,0.04);
}
/* Info-only cards render as open columns: no box, blue top rule. Boxed = clickable. */
.fcard:not(.has-cta) { background: none !important; border: 0; border-top: 2px solid var(--blue); border-radius: 0; box-shadow: none; padding: 26px 4px 0 0; overflow: visible; }
.fcards:has(.fcard:not(.has-cta)) { gap: 40px; }
/* Only cards that actually do something get a hover state */
.fcard.has-cta { display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; }
.fcard.has-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-soft)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.fcard.has-cta:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(27,42,74,0.3); border-color: var(--blue); }
.fcard.has-cta:hover::before { transform: scaleX(1); }
.fcard.has-cta p { flex-grow: 1; }
.fcard-cta { margin-top: 22px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: 'Work Sans', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; transition: gap .2s, color .2s; }
.fcard-cta::after { content: "→"; }
.fcard-cta::before { content: ""; position: absolute; inset: 0; }
.fcard.has-cta:hover .fcard-cta { color: var(--blue-deep); gap: 12px; }
.fcards-cta { margin-top: 32px; }
.fcards-cta button { display: inline-flex; align-items: center; gap: 9px; font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--blue-deep); background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 3px; cursor: pointer; transition: color .18s, border-color .18s; }
.fcards-cta button:hover { color: var(--blue); border-color: var(--blue-soft); }
.fcards-cta .ar { transition: transform .18s; }
.fcards-cta button:hover .ar { transform: translateX(3px); }
.psec.alt .fcard { background: var(--white); }
.fcard .fnum { font-family: 'Work Sans', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-deep); line-height: 1; display: flex; align-items: center; gap: 9px; }
.fcard .fnum::before { content: ""; width: 20px; height: 1.5px; background: var(--blue); }
.fcard h3 { font-size: 22px; margin: 14px 0 10px; line-height: 1.16; }
.fcard .ficon { width: 46px; height: 46px; color: var(--blue); }
.fcard .ficon + h3 { margin-top: 18px; }
.list-head { font-family: 'Work Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep); margin-top: 40px; display: flex; align-items: center; gap: 12px; }
.list-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.list-head + .tlist { margin-top: 12px; }
.fcard .flist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fcard .flist li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.fcard .flist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-soft); }
.fcard p { font-size: 15px; color: var(--ink-soft); line-height: 1.62; }

/* simple bulleted theme list */
.tlist { margin-top: 34px; display: flex; flex-direction: column; gap: 2px; max-width: 820px; }
.tlist .titem { display: flex; gap: 18px; align-items: flex-start; padding: 20px 4px; border-top: 1px solid var(--line); }
.tlist .titem:last-child { border-bottom: 1px solid var(--line); }
.tlist .titem .tk { font-family: 'Libre Caslon Text', serif; font-size: 19px; font-weight: 600; color: var(--navy); flex: none; width: 220px; line-height: 1.3; }
.tlist .titem .tv { font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }

/* "a taste of it" callout */
.callout {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  border-radius: var(--r);
  padding: 40px 44px;
  margin-top: 40px;
  max-width: 820px;
  position: relative;
  overflow: hidden;
}
.callout::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(30,139,195,0.16), transparent 70%); }
.callout .ct { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 16px; position: relative; }
.callout p { font-family: 'Libre Caslon Text', serif; font-size: 26px; line-height: 1.34; color: #fff; position: relative; max-width: 30ch; }
.callout .cs { font-family: 'Work Sans', sans-serif; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.78); margin-top: 18px; max-width: 56ch; position: relative; }

/* bios (Who you'd be working with) — matches homepage About */
.bios { margin-top: 46px; }
.bio { display: grid; grid-template-columns: 260px 1fr; gap: 42px; align-items: start; }
.bio + .bio { margin-top: 52px; padding-top: 52px; border-top: 1px solid var(--line); }
.bio-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r);
  background: linear-gradient(160deg, #E9E4D6, #DAD3C0);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  color: var(--ink-faint);
}
.bio-photo .ph-ic { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--blue-deep); display: flex; align-items: center; justify-content: center; color: var(--blue-deep); font-family: 'Libre Caslon Text', serif; font-size: 22px; }
.bio-body h3 { font-size: 30px; margin-bottom: 4px; }
.bio-body .role { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); font-weight: 600; margin-bottom: 18px; }
.bio-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.76; margin-bottom: 14px; }
.bios .closer { margin-top: 40px; font-family: 'Libre Caslon Text', serif; font-style: italic; font-size: 22px; color: var(--navy); line-height: 1.4; max-width: 760px; }

/* testimonial slot */
.tslot {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px 38px;
  max-width: 760px;
  margin-top: 40px;
}
.tslot.empty { border-style: dashed; border-color: var(--blue); background: rgba(30,139,195,0.05); }
.tslot .mark { font-family: 'Libre Caslon Text', serif; font-size: 60px; line-height: 0.5; color: var(--blue); height: 30px; }
.tslot blockquote { font-family: 'Libre Caslon Text', serif; font-size: 24px; line-height: 1.4; color: var(--navy); font-weight: 500; margin: 14px 0 22px; }
.tslot .by { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.tslot .who-line { display: flex; align-items: center; gap: 14px; }
.tslot .who-line img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.tslot .by span { display: block; font-weight: 400; color: var(--ink-faint); font-size: 13px; margin-top: 2px; }
.tslot.empty p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; max-width: 460px; margin-top: 16px; }

/* session photo gallery (keynote) */
.reel-gallery {
  margin-top: 40px;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  aspect-ratio: 16/9;
}
.reel-gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: #111E38; border: 1px solid var(--line); position: relative; }
.reel-gallery figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-gallery .g-main { grid-row: 1 / span 2; }
.reel-gallery .g-side img { object-position: center 28%; }
.reel-cap { margin-top: 16px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; letter-spacing: 0.01em; }

/* node lattice motif — the mark's own visual language as section texture */
.has-motif { position: relative; overflow: hidden; }
.has-motif > .wrap { position: relative; z-index: 1; }
.has-motif::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='150'%20height='150'%3E%3Cg%20stroke='%231B2A4A'%20stroke-opacity='.5'%20stroke-width='1'%20fill='none'%3E%3Cpath%20d='M0%200%20L75%2049%20M150%200%20L75%2049%20M0%20150%20L34%20103%20M150%20150%20L116%20109%20M75%2049%20L34%20103%20M75%2049%20L116%20109%20M34%20103%20L116%20109'/%3E%3C/g%3E%3Cg%20fill='%231E8BC3'%20fill-opacity='.85'%3E%3Ccircle%20cx='75'%20cy='49'%20r='2.7'/%3E%3Ccircle%20cx='34'%20cy='103'%20r='2.2'/%3E%3Ccircle%20cx='116'%20cy='109'%20r='2.4'/%3E%3Ccircle%20cx='0'%20cy='0'%20r='2.2'/%3E%3Ccircle%20cx='150'%20cy='0'%20r='2.2'/%3E%3Ccircle%20cx='0'%20cy='150'%20r='2.2'/%3E%3Ccircle%20cx='150'%20cy='150'%20r='2.2'/%3E%3C/g%3E%3C/svg%3E"); background-size: 150px 150px; background-position: 0 0; opacity: .5; pointer-events: none; -webkit-mask-image: radial-gradient(820px 560px at 100% 100%, #000 0%, rgba(0,0,0,.55) 44%, transparent 80%); mask-image: radial-gradient(820px 560px at 100% 100%, #000 0%, rgba(0,0,0,.55) 44%, transparent 80%); }
.statband.has-motif.motif-left::before, .endcta.has-motif.motif-left::before { -webkit-mask-image: radial-gradient(1700px 1100px at 0% 100%, #000 0%, rgba(0,0,0,.82) 58%, rgba(0,0,0,.4) 88%, transparent 100%); mask-image: radial-gradient(1700px 1100px at 0% 100%, #000 0%, rgba(0,0,0,.82) 58%, rgba(0,0,0,.4) 88%, transparent 100%); }
.has-motif.motif-left::before { -webkit-mask-image: radial-gradient(820px 560px at 0% 100%, #000 0%, rgba(0,0,0,.55) 44%, transparent 80%); mask-image: radial-gradient(820px 560px at 0% 100%, #000 0%, rgba(0,0,0,.55) 44%, transparent 80%); }
.statband.has-motif::before, .endcta.has-motif::before, .stats.has-motif::before, .contact.has-motif::before { -webkit-mask-image: radial-gradient(1700px 1100px at 100% 100%, #000 0%, rgba(0,0,0,.82) 58%, rgba(0,0,0,.4) 88%, transparent 100%); mask-image: radial-gradient(1700px 1100px at 100% 100%, #000 0%, rgba(0,0,0,.82) 58%, rgba(0,0,0,.4) 88%, transparent 100%); opacity: .62; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='150'%20height='150'%3E%3Cg%20stroke='%23ffffff'%20stroke-opacity='.42'%20stroke-width='1'%20fill='none'%3E%3Cpath%20d='M0%200%20L75%2049%20M150%200%20L75%2049%20M0%20150%20L34%20103%20M150%20150%20L116%20109%20M75%2049%20L34%20103%20M75%2049%20L116%20109%20M34%20103%20L116%20109'/%3E%3C/g%3E%3Cg%20fill='%235FB3DE'%20fill-opacity='.9'%3E%3Ccircle%20cx='75'%20cy='49'%20r='2.7'/%3E%3Ccircle%20cx='34'%20cy='103'%20r='2.2'/%3E%3Ccircle%20cx='116'%20cy='109'%20r='2.4'/%3E%3Ccircle%20cx='0'%20cy='0'%20r='2.2'/%3E%3Ccircle%20cx='150'%20cy='0'%20r='2.2'/%3E%3Ccircle%20cx='0'%20cy='150'%20r='2.2'/%3E%3Ccircle%20cx='150'%20cy='150'%20r='2.2'/%3E%3C/g%3E%3C/svg%3E"); opacity: .55; }
@media (max-width: 760px) { .has-motif::before { background-size: 110px 110px; opacity: .38; } }

/* in-page section nav (approach) */
.secnav { position: sticky; top: var(--secnav-top, 68px); z-index: 30; background: rgba(247,248,250,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); }
.secnav .wrap { display: flex; gap: 28px; overflow-x: auto; padding: 15px 0; scrollbar-width: none; }
.secnav .wrap::-webkit-scrollbar { display: none; }
.secnav a { font-size: 13px; font-weight: 600; letter-spacing: .015em; color: var(--ink-faint); text-decoration: none; white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.secnav a:hover { color: var(--blue-deep); }
.secnav a.active { color: var(--navy); border-bottom-color: var(--blue); }
.secnav + section, section[id] { scroll-margin-top: 150px; }

/* full-bleed panorama band */
.bleedphoto { margin: 62px 0 0; position: relative; line-height: 0; background: #0A1730; }
.bleedphoto img { width: 100%; height: clamp(230px, 25vw, 400px); object-fit: cover; object-position: center 44%; display: block; }
.bleedphoto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 40px 16px; font-size: 13px; font-weight: 500; color: #fff; line-height: 1.4; background: linear-gradient(to top, rgba(10,23,48,.7), transparent); }

/* section photo (program pages) */
.secphoto { margin: 44px 0 0; max-width: 880px; }
.secphoto img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 34%; border-radius: var(--r); border: 1px solid var(--line); display: block; }
.secphoto figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }

/* case study (org training) */
.casestudy .cs-kicker { display:flex; align-items:center; gap:12px; }
.casestudy .cs-title { font-size: 42px; max-width: 640px; line-height: 1.08; letter-spacing: -0.015em; margin-top: 14px; }
.cs-meta { display: flex; gap: 56px; flex-wrap: wrap; margin: 34px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-meta .m-k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 7px; }
.cs-meta .m-v { font-size: 16px; color: var(--ink); max-width: 520px; line-height: 1.5; }
.cs-body { max-width: 760px; margin-top: 44px; }
.cs-block + .cs-block { margin-top: 36px; }
.cs-block .k { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cs-block .k::before { content: ""; width: 24px; height: 2px; background: var(--blue); }
.cs-block p { font-size: 17px; color: var(--ink-soft); line-height: 1.68; margin-bottom: 14px; text-wrap: pretty; }
.cs-block p:last-child { margin-bottom: 0; }
.cs-block p .em { color: var(--navy); font-style: italic; }
.cs-metrics { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; max-width: 900px; align-items: stretch; }
.csm { flex: 1 1 170px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.csm-n { font-family: 'Libre Caslon Text', serif; font-size: 34px; color: var(--blue-deep); line-height: 1; }
.csm-l { font-size: 13.5px; color: var(--ink-soft); margin-top: 9px; line-height: 1.4; }
.cs-metrics .flag { align-self: center; }
.cs-quote { margin-top: 48px; max-width: 840px; border-left: 3px solid var(--blue-soft); padding-left: 28px; }
.cs-quote blockquote { font-family: 'Libre Caslon Text', serif; font-style: italic; font-size: 25px; line-height: 1.42; color: var(--navy); margin: 0; }
.cs-quote .by { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink-soft); font-style: normal; }
.cs-quote .by span { display: block; font-weight: 400; color: var(--ink-faint); font-size: 13px; margin-top: 2px; }
.cs-quote .who-line { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.cs-quote .who-line img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); }
.cs-quote .who-line .by { margin-top: 0; }
@media (max-width: 760px) { .casestudy .cs-title { font-size: 30px; } .cs-meta { gap: 28px; } }
@media (max-width: 700px) {
  .reel-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; }
  .reel-gallery .g-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/10; }
  .reel-gallery .g-side { aspect-ratio: 4/3; }
}

/* program switcher — top of each Programs page */
.prog-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 38px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.prog-tabs a { font-family: 'Work Sans', sans-serif; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: 12px 18px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.prog-tabs a:hover { color: var(--blue-deep); border-bottom-color: var(--blue-soft); }
.prog-tabs a.active { color: var(--navy); border-bottom-color: var(--blue); }
/* other-programs cards — bottom of each Programs page */
.prog-next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.prog-next a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.prog-next a:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(27,42,74,0.3); border-color: var(--blue); }
.prog-next .ficon { width: 40px; height: 40px; color: var(--blue); display: block; margin-bottom: 16px; }
.prog-next .pn-k { font-family: 'Work Sans', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-deep); }
.prog-next h3 { font-size: 22px; margin: 12px 0 8px; line-height: 1.16; color: var(--navy); }
.prog-next p { font-size: 15px; color: var(--ink-soft); line-height: 1.62; }
.prog-next .pn-go { display: inline-block; margin-top: 14px; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--blue-deep); }
@media (max-width: 760px) { .prog-next { grid-template-columns: 1fr; } }

/* closing CTA */
.endcta { background: var(--navy-deep); color: var(--white); text-align: center; }
.endcta h2 { color: var(--white); font-size: 52px; }
.endcta p { color: rgba(255,255,255,0.74); font-size: 18px; margin: 22px auto 34px; max-width: 560px; line-height: 1.65; }
.endcta .note { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  nav.menu { position: absolute; top: calc(100% + 10px); right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(251,250,247,0.98); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: 0 24px 54px -22px rgba(13,26,50,0.34); display: none; }
  header.nav.menu-open nav.menu { display: flex; }
  nav.menu > a { display: block; color: var(--navy); padding: 12px 14px; }
  .dropdown { position: static; display: block; }
  .dropdown > button { width: 100%; justify-content: flex-start; padding: 12px 14px; }
  .dropdown > button .caret { display: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 2px 0 6px 12px; min-width: 0; }
  .phero h1 { font-size: 46px; }
  .fcards, .fcards.two { grid-template-columns: 1fr; }
  .psec h2, .endcta h2 { font-size: 34px; }
  .tlist .titem { flex-direction: column; gap: 6px; }
  .tlist .titem .tk { width: auto; }
}
@media (max-width: 760px) {
  .wrap, .nav-inner, .foot-inner { padding-left: 24px; padding-right: 24px; }
  section { padding: 76px 0; }
  .nav-cta { display: none; }
  .nav-inner { gap: 10px; }
  .nav-right { flex: none; }
  .brand { min-width: 0; gap: 9px; }
  .brand-tt { min-width: 0; }
  .brand-mark { height: 32px; }
  .b1 { font-size: 13.5px; }
  .b2 { display: none; }
  .dock-panel { height: calc(100vh - 100px); }
  .phero h1 { font-size: 38px; }
  .bio { grid-template-columns: 1fr; gap: 22px; }
  .bio-photo { max-width: 240px; }
  .callout { padding: 30px 26px; }
  .callout p { font-size: 21px; }
  .endcta h2 { font-size: 38px; }
}

/* case study — restructured */
.cs-lede { font-size: 20px; color: var(--navy); line-height: 1.55; max-width: 680px; margin-top: 26px; }
.cs-metrics.top { margin-top: 36px; }
.cs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; margin-top: 52px; max-width: 1000px; }
.cs-split figure { margin: 0; }
.cs-split figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 30%; border-radius: var(--r); border: 1px solid var(--line); display: block; }
.cs-split figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-faint); font-weight: 500; line-height: 1.45; }
.cs-pull { margin: 54px 0; max-width: 920px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.cs-pull p { font-family: 'Libre Caslon Text', serif; font-style: italic; font-size: 29px; line-height: 1.34; color: var(--blue-deep); margin: 0; text-wrap: pretty; }
.cs-callout { margin-top: 46px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--r); padding: 30px 34px; max-width: 840px; }
.cs-callout .k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cs-callout .k::before { content: ""; width: 24px; height: 2px; background: var(--blue); }
.cs-callout p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 12px; }
.cs-callout p:last-child { margin-bottom: 0; }
.cs-callout .em { color: var(--navy); font-style: italic; }
.cs-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 50px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-width: 920px; }
.cs-ba > div { background: var(--white); padding: 28px 30px; }
.cs-ba .bak { display: flex; align-items: center; gap: 9px; }
.cs-ba .bak svg { width: 17px; height: 17px; flex: none; }
.cs-ba .bak { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.cs-ba .before .bak { color: var(--ink-faint); }
.cs-ba .after .bak { color: var(--blue-deep); }
.cs-ba ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.cs-ba li { font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; padding-left: 19px; position: relative; }
.cs-ba li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--ink-faint); }
.cs-ba .after li::before { background: var(--blue); height: 2px; }
@media (max-width: 880px) { .cs-split, .cs-ba { grid-template-columns: 1fr; } .cs-pull p { font-size: 23px; } .casestudy .cs-title { font-size: 30px; } }

/* case study — fact panel + tool list */
.cs-facts { border: 1px solid rgba(27,42,74,.16); border-radius: var(--r); overflow: hidden; max-width: 1000px; margin-top: 38px; background: rgba(27,42,74,.16); }
.cs-facts .fr1 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.cs-facts .fr2 { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1px; margin-top: 1px; }
.cs-facts .cell { background: var(--white); padding: 22px 24px; }
.cs-facts .fn { font-family: 'Libre Caslon Text', serif; font-size: 32px; color: var(--blue-deep); line-height: 1; }
.cs-facts .fl { font-size: 13px; color: var(--ink-soft); margin-top: 9px; line-height: 1.4; }
.cs-facts .fk { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px; }
.cs-facts .fv { font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.cs-facts .fnote { background: var(--white); padding: 13px 24px; font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--ink-faint); }
.cs-list + p { margin-top: 18px; }
.cs-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.cs-list li { font-size: 16.5px; color: var(--ink-soft); line-height: 1.55; padding-left: 22px; position: relative; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 2px; background: var(--blue); }
.cs-list li strong { color: var(--navy); font-weight: 600; }
@media (max-width: 880px) { .cs-facts .fr1 { grid-template-columns: 1fr 1fr; } .cs-facts .fr2 { grid-template-columns: 1fr; } }

nav.menu > a.is-current{color:var(--blue-deep)}

/* FAQ blocks */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: 'Libre Caslon Text', serif; font-weight: 400; font-size: 21px; line-height: 1.3; color: var(--navy); margin: 0 0 10px; }
.faq-item p { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; max-width: 720px; text-wrap: pretty; }
.band.faq .faq-item p { max-width: none; }
.tslot + .tslot { margin-top: 20px; }
