/*
 * Shared website shell.
 * One complete global header and footer are rendered on all four core pages.
 * The Board Profile keeps its local section links in a secondary page index.
 */
:root {
  --shared-ink: #0f172a;
  --shared-muted: #68717c;
  --shared-line: #d9dce0;
  --shared-paper: #ffffff;
  --shared-max: 1240px;
  --shared-gutter: clamp(20px, 5vw, 76px);
  --shared-display: 'Montserrat', Arial, sans-serif;
  --shared-body: 'Inter', Arial, sans-serif;
}

.shared-site-header,
.shared-site-header *,
.shared-site-footer,
.shared-site-footer *,
.page-section-nav,
.page-section-nav * {
  box-sizing: border-box;
}

.shared-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  min-height: 78px;
  background: rgba(255, 255, 255, .96);
  color: var(--shared-ink);
  border-bottom: 1px solid #e7e8ea;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--shared-body);
}

.shared-nav-inner {
  width: min(100% - 2 * var(--shared-gutter), var(--shared-max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.shared-brand,
.shared-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  color: var(--shared-ink);
  text-decoration: none;
}

.shared-monogram {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  background: var(--shared-ink);
  color: #fff;
  font: 700 12px var(--shared-display);
  letter-spacing: -.04em;
}

.shared-brand-name {
  font: 700 11px var(--shared-display);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.shared-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 2.1vw, 29px);
}

.shared-nav-links a {
  color: #68707b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .105em;
  font: 700 10px/1.35 var(--shared-body);
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.shared-nav-links a:hover,
.shared-nav-links a[aria-current="page"] {
  color: var(--shared-ink);
}

.shared-nav-links a[aria-current="page"]:not(.shared-nav-action) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.shared-nav-links .shared-nav-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--shared-ink);
  border: 1px solid var(--shared-ink);
  color: #fff;
  letter-spacing: .075em;
}

.shared-nav-links .shared-nav-action:hover {
  background: #3f4652;
  border-color: #3f4652;
  color: #fff;
}

.shared-mobile-menu {
  display: none;
  position: relative;
  font-family: var(--shared-body);
}

.shared-mobile-menu > summary {
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  list-style: none;
  cursor: pointer;
  border: 1px solid #cfd3d8;
  color: var(--shared-ink);
  font: 700 10px var(--shared-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.shared-mobile-menu > summary::-webkit-details-marker { display: none; }
.shared-mobile-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: calc(-1 * var(--shared-gutter));
  width: min(100vw, 420px);
  padding: 12px var(--shared-gutter) 22px;
  display: grid;
  gap: 0;
  background: #fff;
  border-top: 1px solid #e7e8ea;
  border-bottom: 1px solid #e7e8ea;
  box-shadow: 0 18px 28px rgba(15, 23, 42, .10);
}

.shared-mobile-panel a {
  padding: 15px 0;
  border-bottom: 1px solid #eceef0;
  color: var(--shared-ink);
  text-decoration: none;
  font: 700 11px var(--shared-body);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.shared-mobile-panel a:last-child { border-bottom: 0; }
.shared-mobile-panel .shared-mobile-action { color: #172033; }

/* Compact, secondary in-page index used only on the Independent Director page. */
.page-section-nav {
  position: sticky;
  top: 78px;
  z-index: 80;
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid var(--shared-line);
  font-family: var(--shared-body);
}

.page-section-nav-inner {
  width: min(100% - 2 * var(--shared-gutter), var(--shared-max));
  min-height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.page-section-label {
  color: #858c96;
  font: 500 9px var(--shared-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-section-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  min-width: 0;
}

.page-section-links a {
  color: #68717c;
  text-decoration: none;
  font: 600 10px var(--shared-body);
  letter-spacing: .07em;
  white-space: nowrap;
}

.page-section-links a:hover,
.page-section-links a.active { color: var(--shared-ink); }

/* The same footer structure is used on every core page. */
.shared-site-footer {
  width: 100%;
  padding: 31px 0 22px;
  background: #fff;
  color: var(--shared-ink);
  border-top: 1px solid var(--shared-line);
  font-family: var(--shared-body);
}

.shared-footer-inner {
  width: min(100% - 2 * var(--shared-gutter), var(--shared-max));
  margin: 0 auto;
}

.shared-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7ea;
}

.shared-footer-brand { gap: 13px; }
.shared-footer-brand-copy { display: grid; gap: 5px; }
.shared-footer-brand-copy strong {
  font: 700 11px var(--shared-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shared-footer-brand-copy small {
  color: #727985;
  font: 500 10px/1.5 var(--shared-body);
  letter-spacing: .015em;
}

.shared-footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  background: var(--shared-ink);
  border: 1px solid var(--shared-ink);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  font: 700 10px var(--shared-body);
  white-space: nowrap;
}
.shared-footer-action:hover { background: #3f4652; border-color: #3f4652; }

.shared-local-footer-nav {
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e5e7ea;
}
.shared-local-footer-nav .shared-local-label {
  color: #858c96;
  font: 500 9px var(--shared-body);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.shared-local-footer-nav a {
  color: #68717c;
  text-decoration: none;
  font: 600 10px var(--shared-body);
}
.shared-local-footer-nav a:hover { color: var(--shared-ink); }

.shared-footer-bottom {
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 25px;
}
.shared-footer-site-links,
.shared-footer-meta {
  display: flex;
  align-items: center;
  gap: 13px 21px;
  flex-wrap: wrap;
}
.shared-footer-site-links a,
.shared-footer-meta a,
.shared-footer-meta span {
  color: #727985;
  text-decoration: none;
  font: 500 9px/1.5 var(--shared-body);
}
.shared-footer-site-links a:hover,
.shared-footer-meta a:hover { color: var(--shared-ink); }

@media (max-width: 980px) {
  .shared-nav-inner { gap: 18px; }
  .shared-nav-links { gap: 13px; }
  .shared-nav-links a { font-size: 9px; }
  .shared-brand-name { font-size: 10px; }
}

@media (max-width: 850px) {
  .page-section-nav { top: 72px; }
  .shared-nav-inner { min-height: 72px; }
  .shared-site-header { min-height: 72px; }
  .shared-nav-links { display: none; }
  .shared-mobile-menu { display: block; }
  .shared-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .page-section-nav { top: 68px; }
  .shared-nav-inner,
  .shared-footer-inner,
  .page-section-nav-inner { width: calc(100% - 36px); }
  .shared-site-header,
  .shared-nav-inner { min-height: 68px; }
  .shared-monogram { width: 35px; height: 35px; flex-basis: 35px; }
  .shared-brand-name { font-size: 10px; letter-spacing: .12em; }
  .shared-mobile-panel { top: calc(100% + 15px); }
  .page-section-nav-inner { min-height: 48px; gap: 15px; overflow: hidden; }
  .page-section-label { display: none; }
  .page-section-links { overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .page-section-links::-webkit-scrollbar { display: none; }
  .page-section-links a { font-size: 9px; }
  .shared-site-footer { padding: 25px 0 20px; }
  .shared-footer-top { align-items: flex-start; flex-direction: column; gap: 19px; }
  .shared-footer-brand-copy small { max-width: 260px; }
  .shared-local-footer-nav { gap: 13px 18px; }
  .shared-footer-site-links,
  .shared-footer-meta { gap: 12px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .shared-site-header *, .shared-site-footer * { transition: none !important; }
}
