:root {
  --ink: #182433;
  --ink-soft: #4b5d72;
  --navy: #173b63;
  --navy-deep: #0f2947;
  --blue: #316aa5;
  --blue-bright: #4a86bf;
  --sky: #eaf2f8;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --line: #d9e2ea;
  --success: #146c43;
  --danger: #9d2c2c;
  --shadow: 0 18px 48px rgba(15, 41, 71, .12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,226,234,.85);
}
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 660px; }
.brand img { width: min(100%, 620px); max-height: 108px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 650; padding: 10px 13px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); background: var(--sky); }
.site-nav .nav-cta { color: white; background: var(--navy); padding-inline: 18px; }
.site-nav .nav-cta:hover { color: white; background: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(74,134,191,.28), transparent 30%),
    radial-gradient(circle at 10% 85%, rgba(49,106,165,.15), transparent 35%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 64%, #245782);
  color: white;
}
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 54px; padding-block: 80px; }
.eyebrow { margin: 0 0 16px; color: #b9d7ee; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; font-size: .83rem; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(2.75rem, 6vw, 5.65rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; color: #b9d7ee; }
.hero-lead { max-width: 720px; margin: 28px 0 0; color: #e5eef6; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 750; border: 1px solid transparent; }
.button-primary { background: white; color: var(--navy); }
.button-primary:hover { background: var(--sky); color: var(--navy); }
.button-secondary { border-color: rgba(255,255,255,.55); color: white; }
.button-secondary:hover { background: rgba(255,255,255,.12); color: white; }
.hero-panel { position: relative; padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: rgba(255,255,255,.08); box-shadow: 0 28px 70px rgba(0,0,0,.16); }
.hero-panel::before { content: ""; position: absolute; inset: -16px 26px auto -16px; height: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; pointer-events: none; }
.hero-panel h2 { margin: 0 0 18px; font-size: 1.2rem; color: #ddecf7; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { min-height: 128px; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.1); }
.stat strong { display: block; font-size: 1.9rem; line-height: 1.1; }
.stat span { display: block; margin-top: 8px; color: #d7e7f3; font-size: .94rem; }

.section { padding-block: 90px; }
.section-soft { background: var(--surface); }
.section-dark { background: var(--navy-deep); color: white; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .page-hero h1 { margin: 0; color: var(--navy-deep); font-size: clamp(2.15rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; }
.section-dark .section-heading h2 { color: white; }
.section-heading p { margin: 17px 0 0; color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-heading p { color: #c8d9e7; }
.kicker { display: inline-block; margin-bottom: 10px; color: var(--blue); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.section-dark .kicker { color: #91c4e7; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 4px 18px rgba(15,41,71,.04); }
.card:hover { transform: translateY(-3px); transition: transform .2s ease; box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--sky); color: var(--navy); font-weight: 850; }
.card h3 { margin: 22px 0 10px; color: var(--navy-deep); font-size: 1.28rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card a { display: inline-flex; margin-top: 20px; font-weight: 750; text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.feature-panel { padding: 36px; border-radius: 24px; background: linear-gradient(145deg, var(--sky), #fff); border: 1px solid var(--line); }
.feature-list { display: grid; gap: 20px; padding: 0; margin: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: white; font-weight: 900; }
.feature-list strong { display: block; color: var(--navy-deep); }
.feature-list span { color: var(--ink-soft); }
.quote { margin: 0; font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.3; color: var(--navy-deep); font-weight: 650; letter-spacing: -.02em; }
.quote-attribution { margin-top: 20px; color: var(--ink-soft); }

.page-hero { padding: 86px 0 72px; background: linear-gradient(150deg, var(--sky), white 68%); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 780px; margin: 20px 0 0; color: var(--ink-soft); font-size: 1.16rem; }
.breadcrumb { margin-bottom: 22px; font-size: .92rem; }
.breadcrumb a { text-decoration: none; }
.content { max-width: 820px; }
.content h2 { margin: 48px 0 14px; color: var(--navy-deep); font-size: 2rem; line-height: 1.15; }
.content h3 { color: var(--navy-deep); }
.content p { color: #35475b; }
.content ul { padding-left: 22px; }
.service-section { scroll-margin-top: 104px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.service-section:last-child { border-bottom: 0; }
.service-section-grid { display: grid; grid-template-columns: .38fr 1fr; gap: 44px; }
.service-number { color: var(--blue); font-size: 3rem; font-weight: 850; line-height: 1; }
.service-section h2 { margin: 0 0 16px; color: var(--navy-deep); font-size: clamp(1.8rem, 3vw, 2.55rem); }
.service-section p { color: var(--ink-soft); }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.pill-list li { padding: 8px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 650; font-size: .91rem; }

.timeline { position: relative; display: grid; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-left: 56px; }
.timeline-item::before { content: ""; position: absolute; left: 8px; top: 7px; width: 18px; height: 18px; border-radius: 50%; border: 5px solid white; background: var(--blue); box-shadow: 0 0 0 1px var(--line); }
.timeline-item h3 { margin: 0 0 6px; color: var(--navy-deep); }
.timeline-item p { margin: 0; color: var(--ink-soft); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-panel { padding: 34px; border-radius: 22px; background: var(--navy-deep); color: white; }
.contact-panel h2 { margin-top: 0; }
.contact-panel p { color: #ceddea; }
.contact-panel a { color: white; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 720; color: var(--navy-deep); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #b9c7d4; border-radius: 10px; color: var(--ink); background: white; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(49,106,165,.18); border-color: var(--blue); }
.field textarea { min-height: 165px; resize: vertical; }
.field-help { color: var(--ink-soft); font-size: .86rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.form-actions .button { border: 0; background: var(--navy); color: white; }
.form-actions .button:hover { background: var(--blue); }
.form-status { min-height: 28px; margin-top: 16px; font-weight: 700; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.cta { padding-block: 70px; background: var(--sky); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { margin: 0; color: var(--navy-deep); font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta p { margin: 8px 0 0; color: var(--ink-soft); }
.cta .button { flex: 0 0 auto; background: var(--navy); color: white; }

.site-footer { background: #0d2138; color: #c8d6e3; }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr .7fr; align-items: start; gap: 24px; padding-block: 18px; }
.footer-brand img { width: min(100%, 430px); height: auto !important; max-height: none; margin: 0; object-fit: contain; object-position: left center; filter: none; opacity: 1; }
.footer-brand p { max-width: 540px; margin: 6px 0 0; line-height: 1.45; }
.footer-col h2 { font-size: 1rem; color: white; margin: 0 0 5px; }
.footer-col a { display: block; color: #c8d6e3; text-decoration: none; margin: 2px 0; line-height: 1.4; }
.footer-col a:hover { color: white; }
.footer-bottom { padding: 7px 0 9px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; line-height: 1.35; }


/* Historical client and leadership experience dialogs */
.stat-button {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  text-align: left;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.stat-button:hover,
.stat-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.38);
  outline: none;
}
.stat-action { color: #fff !important; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.card-action {
  display: inline-flex;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 750;
  text-align: left;
  text-decoration: none;
}
.card-action:hover,
.card-action:focus-visible { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.section-dark .card-action:hover,
.section-dark .card-action:focus-visible { color: var(--navy-deep); }
.experience-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outline:hover { color: white; background: var(--navy); }
body.dialog-open { overflow: hidden; }
.pds-dialog {
  width: min(calc(100% - 32px), 820px);
  max-height: min(86vh, 780px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: white;
  box-shadow: 0 28px 90px rgba(4,20,38,.34);
}
.pds-dialog::backdrop { background: rgba(4,20,38,.72); backdrop-filter: blur(5px); }
.dialog-panel { position: relative; padding: 38px; overflow-y: auto; max-height: min(86vh, 780px); }
.dialog-panel h2 { margin: 0 48px 14px 0; color: var(--navy-deep); font-size: clamp(1.75rem, 4vw, 2.65rem); line-height: 1.12; letter-spacing: -.025em; }
.dialog-panel > p { color: var(--ink-soft); }
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-deep);
  background: white;
  font-size: 1.7rem;
  line-height: 1;
}
.dialog-close:hover,
.dialog-close:focus-visible { background: var(--sky); border-color: var(--blue); }
.organization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}
.organization-grid li {
  position: relative;
  min-height: 58px;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy-deep);
  background: var(--surface);
  font-weight: 700;
}
.organization-grid li > a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(20, 58, 92, .35);
}
.organization-grid li > a:hover,
.organization-grid li > a:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}
.organization-grid li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.dialog-note { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.55; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 86px; }
  .brand { flex-basis: 360px; }
  .brand img { width: min(100%, 360px); max-height: 74px; }
  .hero-grid { padding-block: 58px; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .stat-grid, .card-grid, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .section { padding-block: 64px; }
  .service-section-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-number { font-size: 1.4rem; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 14px; padding-block: 18px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding: 7px 0 9px; }
  .contact-form, .contact-panel { padding: 24px; }
  .organization-grid { grid-template-columns: 1fr; }
  .dialog-panel { padding: 30px 22px 24px; }
  .dialog-panel h2 { margin-right: 36px; }
  .experience-actions { flex-direction: column; }
  .experience-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Client portal and expanded service presentation */
.capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capability-grid .card:last-child { grid-column: 2; }
.site-footer .footer-col span { display: block; color: #c8d6e3; line-height: 1.45; }
.page-hero.compact { padding-block: 54px; }
.portal-body { background: #f5f8fb; }
.portal-section { min-height: 46vh; }
.portal-narrow { max-width: 760px; }
.portal-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.portal-card h2 { margin-top: 6px; color: var(--navy-deep); }
.login-card { max-width: 620px; margin-inline: auto; }
.portal-submit { width: 100%; margin-top: 20px; border: 0; }
.portal-help { margin: 22px 0 0; color: var(--ink-soft); font-size: .94rem; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; color: var(--ink-soft); font-weight: 650; }
.checkbox-line input { width: auto; margin-top: 4px; }
.alert { padding: 14px 16px; margin: 0 0 22px; border-radius: 12px; font-weight: 650; line-height: 1.5; }
.alert-error { color: #8d1e1e; background: #fff0f0; border: 1px solid #efbcbc; }
.alert-success { color: #175f39; background: #edf9f2; border: 1px solid #b9e2c9; }
.alert-credentials { color: #5e4700; background: #fff8d9; border: 1px solid #ead682; overflow-wrap: anywhere; }
.portal-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.portal-account { display: grid; gap: 4px; min-width: 240px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; color: white; }
.portal-account span { color: #d7e5f2; font-size: .92rem; overflow-wrap: anywhere; }
.portal-toolbar { margin-bottom: 28px; }
.portal-search { display: grid; grid-template-columns: 1.5fr .8fr auto auto; gap: 14px; align-items: end; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.portal-search .button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.resource-card { display: flex; flex-direction: column; min-height: 310px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(13,33,56,.07); }
.resource-card h2 { margin: 18px 0 10px; color: var(--navy-deep); font-size: 1.28rem; }
.resource-card p { flex: 1; color: var(--ink-soft); }
.resource-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.file-badge { display: inline-flex; padding: 5px 9px; border-radius: 7px; color: white; background: var(--navy); font-weight: 800; font-size: .78rem; letter-spacing: .04em; }
.resource-category { color: var(--blue); font-weight: 750; font-size: .85rem; text-align: right; }
.resource-meta { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .83rem; }
.resource-card .button { align-self: flex-start; }
.portal-empty { padding: 60px 24px; border: 1px dashed #aabccc; border-radius: 18px; background: white; text-align: center; }
.password-card { max-width: 820px; margin-inline: auto; }
.password-details { margin-top: 30px; }
.password-details summary { cursor: pointer; color: var(--navy-deep); font-weight: 800; }
.details-form { margin-top: 24px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.admin-section { margin-bottom: 24px; }
.admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-section-heading h2 { margin-bottom: 0; }
.admin-count { padding: 7px 11px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 750; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.admin-table th, .admin-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--navy-deep); background: #f6f9fc; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table td span, .admin-table td small { color: var(--ink-soft); }
.status-pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.status-pill.active { color: #175f39; background: #e7f7ed; }
.status-pill.inactive { color: #852424; background: #fdeaea; }
.action-stack { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.action-stack form { margin: 0; }
.link-button { padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 750; text-decoration: underline; cursor: pointer; }
a.link-button { display: inline; }
.link-button.danger { color: #9b2323; }
.reset-form { display: flex; flex-wrap: wrap; gap: 6px; }
.reset-form input { width: 150px; padding: 6px 8px; border: 1px solid #b9c7d4; border-radius: 7px; }
.activity-list { display: grid; gap: 12px; max-height: 440px; overflow: auto; }
.activity-item { display: grid; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.activity-item span, .activity-item small { color: var(--ink-soft); font-size: .86rem; }
.legal-content { max-width: 900px; }
.legal-content h2 { margin-top: 34px; color: var(--navy-deep); }
code { padding: 2px 5px; border-radius: 5px; background: #edf2f7; }

@media (max-width: 1050px) {
  .capability-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid .card:last-child { grid-column: auto; }
  .portal-search { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .portal-heading-row { align-items: stretch; flex-direction: column; }
  .portal-account { min-width: 0; }
  .capability-grid, .resource-grid, .portal-search { grid-template-columns: 1fr; }
  .portal-card { padding: 22px; }
  .resource-meta { flex-direction: column; }
  .admin-section-heading { align-items: flex-start; flex-direction: column; }
}

/* Dedicated historical-list pages */
.organization-grid-page { margin: 0 0 26px; }
.list-page-actions { margin-top: 28px; }

/* Prominent C-suite and Selected Clients hero controls */
.stat-button { text-decoration: none; }
.stat-button .stat-action { display: block; margin-top: 12px; font-size: .88rem; line-height: 1.3; }

/* Clickable experience cards without visible action links */
.card-link-panel { display: block; color: var(--ink); text-decoration: none; cursor: pointer; }
.card-link-panel h3 { color: var(--navy-deep); }
.card-link-panel:hover,
.card-link-panel:focus-visible { transform: translateY(-2px); border-color: rgba(49,106,165,.45); box-shadow: 0 18px 38px rgba(13,33,56,.14); }

.dialog-subnote { margin: 8px 0 22px; color: var(--ink-soft); font-size: .84rem; line-height: 1.5; }
.page-subnote { max-width: 760px; font-size: .94rem; line-height: 1.55; }
.contact-success-panel { max-width: 560px; }
.contact-success-panel > p { font-size: 1.05rem; }
.dialog-actions { display: flex; justify-content: flex-end; margin-top: 24px; }

/* Technical quality update v14: accessibility, reflow and responsive hardening */
html { scroll-padding-top: 126px; }
.header-inner { position: relative; }
.brand { min-width: 0; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #1d5f9b;
}
main[tabindex="-1"]:focus { outline: none; box-shadow: none; }
.skip-link:focus-visible { top: 12px; color: var(--navy-deep); }
.nav-toggle { min-width: 44px; min-height: 44px; border-radius: 10px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.dialog-close { min-width: 44px; min-height: 44px; }
.pds-dialog { overscroll-behavior: contain; }
.dialog-panel { scrollbar-gutter: stable; }
.content, .legal-content, .card, .contact-panel, .contact-form, .portal-card,
.footer-main, .resource-card, .organization-grid li { overflow-wrap: anywhere; }
:target { scroll-margin-top: 126px; }

@media (max-width: 940px) {
  .site-nav { top: calc(100% - 6px); z-index: 30; }
}

@media (max-width: 650px) {
  .header-inner { gap: 8px; }
  .brand { flex: 1 1 auto; max-width: calc(100% - 56px); }
  .brand img { width: 100%; height: auto; }
  .site-nav { left: 14px; right: 14px; }
}

@media (max-width: 400px) {
  .container { width: min(calc(100% - 20px), var(--max)); }
  .header-inner { min-height: 78px; }
  .brand img { max-height: 66px; }
  .hero h1 { font-size: clamp(2.2rem, 13vw, 3.25rem); }
  .page-hero { padding: 62px 0 54px; }
  .dialog-panel { padding: 28px 18px 22px; }
}

@media (forced-colors: active) {
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
}


/* v18: footer brand alignment and interactive service-detail topics */
.site-footer { color-scheme: dark; }
.footer-brand { justify-self: start; width: 100%; }
.footer-brand img { margin-left: 0; }
.service-overview-card { display: flex; flex-direction: column; }
.service-overview-card > p { margin-bottom: 4px; }
.service-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.pill-list.service-topic-list li,
.service-topic-list li {
  padding: 0;
  margin: 0;
  background: transparent;
}
.service-topic-button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(49,106,165,.34);
  border-radius: 999px;
  color: var(--navy);
  background: var(--sky);
  font-weight: 720;
  font-size: .9rem;
  line-height: 1.25;
  text-align: left;
}
.service-topic-button:hover,
.service-topic-button:focus-visible {
  color: var(--navy-deep);
  background: #dcecf7;
  border-color: var(--blue);
}
.service-overview-link { margin: 30px 0 0; text-align: center; }
.service-topic-dialog { width: min(calc(100% - 32px), 720px); }
.service-topic-detail { margin: 8px 0 0; font-size: 1.06rem; line-height: 1.7; }
@media (max-width: 650px) {
  .footer-brand img { width: min(100%, 390px); }
  .service-topic-list { gap: 8px; }
  .service-topic-button { width: 100%; border-radius: 12px; }
  .service-topic-list li { flex: 1 1 100%; }
}

/* v19: client access requests and public guest white-paper library */
.portal-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 24px;
  align-items: stretch;
}
.portal-access-grid .login-card { max-width: none; margin: 0; }
.portal-card-intro { margin: 0 0 22px; color: var(--ink-soft); }
.guest-access-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #f8fbfe, #eef6fb);
}
.guest-access-card > p { color: var(--ink-soft); }
.guest-access-card .button { align-self: flex-start; margin-top: auto; }
.portal-feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}
.portal-feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--navy-deep);
  font-weight: 680;
}
.portal-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}
.request-access-card { grid-column: 1 / -1; }
.request-access-heading {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}
.request-access-heading h2 { margin-bottom: 0; }
.request-access-heading > p { margin: 0; color: var(--ink-soft); }
.request-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.request-form-actions .field-help { max-width: 610px; }
.optional-label { color: var(--ink-soft); font-weight: 500; }
.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.guest-library-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.guest-library-intro h2 { margin: 0 0 6px; color: var(--navy-deep); }
.guest-library-intro p { margin: 0; color: var(--ink-soft); }
.guest-access-checkbox { padding: 12px 14px; border-radius: 12px; background: var(--sky); }
.inline-toggle-form { margin-top: 8px; }
.request-message { display: inline-block; max-width: 360px; white-space: pre-line; }
.access-request-table { min-width: 1080px; }

@media (max-width: 850px) {
  .portal-access-grid { grid-template-columns: 1fr; }
  .request-access-card { grid-column: auto; }
  .request-access-heading { grid-template-columns: 1fr; gap: 10px; }
  .guest-library-intro { align-items: flex-start; flex-direction: column; }
}


/* v21: public news and administrative news publishing */
.news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.news-card { display:flex; flex-direction:column; min-height:270px; }
.news-card h2 { margin:8px 0 8px; font-size:1.35rem; }
.news-card h2 a { color:var(--navy-deep); text-decoration:none; }
.news-card h2 a:hover { text-decoration:underline; }
.news-card .text-link { margin-top:auto; font-weight:750; }
.news-date { color:var(--ink-soft); font-size:.9rem; margin:6px 0 14px; }
.news-article-body { max-width:850px; font-size:1.05rem; line-height:1.78; }
.news-article-body p { margin:0 0 1.25em; }
.news-source { margin-top:34px !important; padding-top:20px; border-top:1px solid var(--line); }
.news-empty { max-width:760px; margin:0 auto; }
.news-admin-grid { display:grid; grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr); gap:28px; align-items:start; }
.news-editor-form { padding:20px; border:1px solid var(--line); border-radius:16px; background:#fbfdff; }
.news-format-toolbar { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 8px; }
.news-format-toolbar .button { min-width:96px; padding:8px 12px; }
.news-editor-form .news-format-button {
  min-height:42px;
  background:#fff;
  border-color:var(--navy);
  color:var(--navy-deep);
  box-shadow:0 1px 2px rgba(15,41,71,.08);
}
.news-editor-form .news-format-button:hover,
.news-editor-form .news-format-button:focus-visible {
  background:var(--sky);
  border-color:var(--blue);
  color:var(--navy-deep);
}
.news-editor-form .news-format-button:active {
  background:#dbeaf5;
  border-color:var(--navy);
}
.news-editor-form .news-format-button strong,
.news-editor-form .news-format-button u,
.news-editor-form .news-format-button i { color:inherit; }
.news-editor-form .request-form-actions .button-secondary {
  background:#fff;
  border-color:var(--navy);
  color:var(--navy-deep);
}
.news-editor-form .request-form-actions .button-secondary:hover,
.news-editor-form .request-form-actions .button-secondary:focus-visible {
  background:var(--sky);
  border-color:var(--blue);
  color:var(--navy-deep);
}
.news-admin-list { max-height:720px; overflow:auto; }
.news-publish-row label { display:flex; gap:10px; align-items:flex-start; font-weight:700; }
.news-publish-row input { width:auto; margin-top:4px; }
@media (max-width:1050px){ .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.news-admin-grid{grid-template-columns:1fr;} }
@media (max-width:700px){ .news-grid{grid-template-columns:1fr;} }



/* v22 final: client/guest separation, recovery confirmations and selected-client popups */
.client-portal-grid {
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:24px;
  align-items:start;
}
.client-portal-grid .request-access-card { grid-column:auto; }
.client-portal-grid .request-access-card .form-grid { grid-template-columns:1fr 1fr; }
.acknowledgement-dialog .dialog-panel { max-width:620px; }
.site-nav a[href="/guest-library.aspx"],
.guest-library-intro a,
.portal-empty a { text-decoration-thickness:2px; text-underline-offset:3px; }
.portal-body a:not(.button):not(.brand),
.portal-body .portal-help a { color:var(--navy-deep); }
.portal-body a:not(.button):not(.brand):hover,
.portal-body a:not(.button):not(.brand):focus-visible { color:var(--blue); }
.portal-body .button-primary,
.portal-section .button-primary { background:var(--navy); color:#fff; }
.portal-body .button-primary:hover,
.portal-body .button-primary:focus-visible,
.portal-section .button-primary:hover,
.portal-section .button-primary:focus-visible { background:var(--blue); color:#fff; }
.organization-grid li { display:flex; align-items:center; }
.organization-grid .client-popup-link {
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:inherit;
  line-height:1.35;
  text-align:left;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  text-decoration-color:rgba(20,58,92,.35);
  cursor:pointer;
}
.organization-grid .client-popup-link:hover,
.organization-grid .client-popup-link:focus-visible {
  color:var(--blue);
  text-decoration-color:currentColor;
  outline-offset:4px;
}
.client-link-dialog { width:min(calc(100% - 32px),660px); }
.client-link-destination {
  margin:14px 0 0;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  color:var(--navy-deep) !important;
  font-weight:700;
  overflow-wrap:anywhere;
}
.client-link-actions { flex-wrap:wrap; gap:12px; }
.client-link-actions .button { text-decoration:none; }
.footer-bottom a { color:#dfeaf4; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color:#fff; }
@media (max-width:980px){ .client-portal-grid{grid-template-columns:1fr;} }
@media (max-width:620px){ .client-portal-grid .request-access-card .form-grid{grid-template-columns:1fr;} .client-link-actions{align-items:stretch;flex-direction:column;} .client-link-actions .button{justify-content:center;} }

/* v23 contrast correction: keep authenticated Sign Out and portal footer links readable */
.portal-body .site-nav .nav-cta,
.portal-body .site-nav .nav-cta:visited { background:var(--navy); color:#fff; }
.portal-body .site-nav .nav-cta:hover,
.portal-body .site-nav .nav-cta:focus-visible { background:var(--blue); color:#fff; }
.portal-body .site-footer .footer-col a,
.portal-body .site-footer .footer-col a:visited { color:#c8d6e3; }
.portal-body .site-footer .footer-col a:hover,
.portal-body .site-footer .footer-col a:focus-visible { color:#fff; }

/* Retained light/dark theme and logo preservation from the verified viewer baseline. */
html { color-scheme: light; color-scheme: only light; }
.brand,
.brand img,
.footer-brand,
.footer-brand img { forced-color-adjust:none; }
.brand img,
.footer-brand img { filter:none !important; opacity:1 !important; mix-blend-mode:normal !important; }
@media (prefers-color-scheme: dark) {
  .site-header { background:rgba(255,255,255,.98) !important; border-bottom-color:#d9e2ea !important; }
  .brand { background:#fff !important; isolation:isolate; }
  .brand img { background:transparent !important; }
  .site-footer { background:#0d2138 !important; }
  .footer-brand { background:#0d2138 !important; isolation:isolate; }
}
.resource-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.resource-preview-unavailable { display:inline-flex; align-items:center; min-height:44px; color:var(--ink-soft); font-size:.88rem; font-weight:700; }

/* v31: unified in-page resource modal.
   The protected resource viewer remains inside its iframe; only the outer shell
   now matches the News article modal interaction and presentation. */
.resource-view-dialog:not([open]) { display:none !important; }
.resource-view-dialog {
  width:min(calc(100% - 32px), 1180px);
  max-height:min(92vh, 960px);
}
.resource-view-dialog::backdrop { background:rgba(4,20,38,.72); backdrop-filter:blur(5px); }
.resource-view-dialog .resource-view-panel {
  box-sizing:border-box;
  display:grid;
  grid-template-rows:auto minmax(0, 1fr) auto auto;
  gap:14px;
  width:100%;
  max-height:min(92vh, 960px);
  padding:30px;
  overflow:hidden;
  background:#fff;
}
.resource-view-dialog .resource-view-panel h2 {
  margin:0 54px 0 0;
  color:var(--navy-deep);
  font-size:clamp(1.5rem, 3vw, 2.15rem);
  line-height:1.15;
  letter-spacing:-.02em;
}
.resource-view-frame-shell {
  position:relative;
  box-sizing:border-box;
  width:100%;
  height:min(68vh, 720px);
  min-height:420px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#eef3f8;
}
.resource-view-frame {
  display:block;
  box-sizing:border-box;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  background:#fff;
}
.resource-view-dialog[data-resource-active-kind="audio"] .resource-view-frame-shell {
  height:min(44vh, 420px);
  min-height:300px;
}
.resource-view-dialog .dialog-note {
  display:block;
  margin:0;
  padding:0;
  border:0;
  color:var(--ink-soft);
  font-size:.82rem;
  line-height:1.5;
}
.resource-modal-actions {
  display:flex;
  justify-content:flex-end;
  margin:0;
  padding-top:14px;
  border-top:1px solid var(--line);
}
@media (max-width:700px) {
  .resource-view-dialog {
    width:min(calc(100% - 16px), 1180px);
    max-height:94vh;
    max-height:94dvh;
  }
  .resource-view-dialog .resource-view-panel {
    max-height:94vh;
    max-height:94dvh;
    padding:22px 14px 14px;
    gap:10px;
  }
  .resource-view-dialog .resource-view-panel h2 {
    margin-right:44px;
    font-size:clamp(1.3rem, 6vw, 1.8rem);
  }
  .resource-view-frame-shell {
    height:68vh;
    height:68dvh;
    min-height:320px;
    border-radius:12px;
  }
  .resource-view-dialog[data-resource-active-kind="audio"] .resource-view-frame-shell {
    height:min(46vh, 360px);
    height:min(46dvh, 360px);
    min-height:260px;
  }
  .resource-actions .button { flex:1 1 130px; justify-content:center; }
}

/* v26 complete-replacement consolidation: behavior preserved from v23-v24.6; all pages use v26 cache keys. */

/* v31: News article in-page modal retained; resource viewers now use the same outer modal model. */
.news-article-dialog {
  width: min(calc(100% - 32px), 940px);
  max-height: min(90vh, 900px);
}
.news-article-dialog-panel {
  max-height: min(90vh, 900px);
  padding: 42px;
}
.news-modal-article h2 {
  margin: 8px 54px 10px 0;
  color: var(--navy-deep);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
}
.news-modal-summary {
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}
.news-modal-body {
  max-width: none;
  margin: 0;
}
.news-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
@media (max-width:700px) {
  .news-article-dialog-panel { padding: 30px 22px 24px; }
  .news-modal-article h2 { margin-right: 42px; }
}


/* v32: full existing-resource access editor and authenticated modal download. */
.resource-modal-actions { gap:10px; align-items:center; }
.resource-modal-actions [hidden] { display:none !important; }
.resource-access-dialog { width:min(calc(100% - 32px),760px); }
.resource-access-panel { max-height:min(90vh,860px); overflow:auto; }
.resource-access-panel h2 { margin:6px 48px 8px 0; color:var(--navy-deep); }
.resource-access-current { margin:0 0 20px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:var(--sky); color:var(--ink-soft); }
.resource-access-current strong { color:var(--navy-deep); }
.resource-access-form select[multiple] { min-height:190px; }
.resource-access-actions { justify-content:flex-end; gap:10px; }
@media (max-width:700px) {
  .resource-access-dialog { width:min(calc(100% - 16px),760px); }
  .resource-access-panel { padding:26px 18px 20px; }
  .resource-access-actions { align-items:stretch; flex-direction:column; }
  .resource-access-actions .button { justify-content:center; }
}


/* v33: Administration dashboard and separate modal workspaces. */
.admin-launch-section { margin-bottom:28px; }
.admin-launch-intro { margin:8px 0 0; max-width:760px; color:var(--ink-soft); }
.admin-launch-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.admin-launch-card { appearance:none; width:100%; min-height:190px; padding:24px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:var(--shadow); text-align:left; color:var(--ink); font:inherit; cursor:pointer; display:flex; flex-direction:column; align-items:flex-start; gap:10px; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.admin-launch-card:hover,.admin-launch-card:focus-visible { transform:translateY(-2px); border-color:var(--blue); box-shadow:0 18px 40px rgba(14,52,84,.14); outline:none; }
.admin-launch-card strong { color:var(--navy-deep); font-size:1.28rem; line-height:1.2; }
.admin-launch-card > span:not(.kicker) { color:var(--ink-soft); line-height:1.5; }
.admin-launch-card small { margin-top:auto; color:var(--blue); font-weight:800; }
.admin-workspace-dialog { width:min(calc(100% - 32px),1180px); max-width:none; }
.admin-workspace-panel { max-height:min(92vh,920px); overflow:auto; }
.admin-workspace-panel > h2 { margin-bottom:8px; }
.admin-modal-feedback { margin:16px 0 20px; }
.admin-workspace-section { margin-top:20px; }
.admin-workspace-section > .admin-section-heading:first-child { margin-top:0; }
.admin-workspace-section .portal-card { box-shadow:none; }
.admin-workspace-split { display:grid; grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr); gap:24px; align-items:start; }
.admin-workspace-split > .admin-workspace-section { margin-top:20px; padding:22px; border:1px solid var(--line); border-radius:16px; background:#fbfdff; }
.admin-form-workspace { max-width:900px; }
.admin-workspace-actions { padding-top:18px; border-top:1px solid var(--line); }
.admin-table-workspace-dialog .admin-workspace-panel { width:100%; }
.admin-table-workspace-dialog .table-wrap { max-height:60vh; overflow:auto; }
.admin-news-workspace-dialog .news-admin-grid { grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr); }
@media (max-width:980px) {
  .admin-launch-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-workspace-split { grid-template-columns:1fr; }
  .admin-news-workspace-dialog .news-admin-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .admin-launch-grid { grid-template-columns:1fr; }
  .admin-launch-card { min-height:160px; padding:20px; }
  .admin-workspace-dialog { width:min(calc(100% - 16px),1180px); }
  .admin-workspace-panel { padding:26px 16px 20px; }
}
