/* =========================================================
   Center for Pedagogical Excellence ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Habib University
   Static HTML build
   ========================================================= */

:root {
  --purple-950: #2f1535;
  --purple-900: #3c1c44;
  --purple-800: #4d2457;
  --purple-700: #602a6b;
  --purple-600: #74407e;
  --purple-100: #f0e8f1;
  --purple-50: #f8f3f8;
  --gold-600: #b59658;
  --gold-500: #c9aa6b;
  --gold-300: #d8c398;
  --gold-100: #f2e8d1;
  --cream: #f7f3ed;
  --cream-dark: #eee6db;
  --ink: #241f25;
  --muted: #6c646d;
  --white: #ffffff;
  --line: #e6dfe6;
  --shadow-sm: 0 10px 30px rgba(47, 21, 53, 0.08);
  --shadow-md: 0 18px 54px rgba(47, 21, 53, 0.15);
  --shadow-lg: 0 28px 80px rgba(31, 15, 36, 0.22);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 92px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "GilroyLight", "Gilroy", "Segoe UI", Arial, sans-serif;
  --ease: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

p,
ul,
ol {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

:is(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 0.62em;
  color: var(--purple-950);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.3rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.25rem, 4.1vw, 2.55rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  letter-spacing: -0.022em;
}

h4 {
  font-size: 1.35rem;
}

::selection {
  color: var(--white);
  background: var(--purple-700);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--purple-950);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(1380px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, 100%);
}

.text-center {
  text-align: center;
}

.text-light,
.text-light h1,
.text-light h2,
.text-light h3,
.text-light h4 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
}

.text-light .eyebrow {
  color: var(--gold-300);
}

/* .lead {
  color: #4c454d;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.78;
} */

.section {
  position: relative;
  padding: clamp(78px, 9vw, 132px) 0;
}

.section-sm {
  padding: clamp(58px, 7vw, 94px) 0;
}

.section-cream {
  background: var(--cream);
}

.section-soft {
  background: var(--purple-50);
}

.section-purple {
  color: rgba(255,255,255,0.83);
  background: var(--purple-800);
}

.section-purple h1,
.section-purple h2,
.section-purple h3,
.section-purple h4 {
  color: var(--white);
}

.section-purple .eyebrow {
  color: var(--gold-300);
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered .eyebrow::after {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  background: rgba(255,255,255,0.97);
  border-top: 5px solid var(--purple-700);
  border-bottom: 1px solid rgba(96,42,107,0.12);
  box-shadow: 0 5px 24px rgba(39,22,42,0.04);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: calc(var(--header-height) - 5px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  flex: 0 1 390px;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-brand img {
  width: 58px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  line-height: 1.06;
}

.brand-copy strong {
  display: block;
  color: var(--purple-950);
  font-family: none;
  font-size: clamp(1.04rem, 1.35vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.brand-copy span {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--purple-700);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.19em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.1vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 33px 0 29px;
  color: #514a52;
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--ease);
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--gold-500);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--purple-700);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px 10px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-toggle span {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 2px;
  background: var(--purple-700);
  border-radius: 99px;
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.nav-scrim {
  display: none;
}

/* Hero */
.page-hero {
  position: relative;
  min-height: clamp(520px, 67vw, 770px);
  display: grid;
  overflow: hidden;
  place-items: center;
  background: var(--purple-950);
}

.page-hero.compact {
  min-height: clamp(390px, 46vw, 560px);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(37,16,42,0.96) 0%, rgba(55,23,62,0.84) 43%, rgba(48,21,53,0.40) 76%, rgba(35,16,39,0.22) 100%),
    linear-gradient(0deg, rgba(35,16,39,0.52), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(80px, 10vw, 130px) 0;
}

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

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(3.45rem, 7.6vw, 7rem);
  text-shadow: 0 8px 34px rgba(18,7,20,0.24);
}

.page-hero.compact .hero-copy h1 {
  font-size: clamp(3.1rem, 6.7vw, 6rem);
}

.hero-copy p {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold-300);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.68);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll::after {
  width: 48px;
  height: 1px;
  content: "";
  background: var(--gold-300);
}

.hero-ornament {
  position: absolute;
  z-index: 1;
  right: -180px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(216,195,152,0.32);
  border-radius: 50%;
}

.hero-ornament::before,
.hero-ornament::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(216,195,152,0.18);
  border-radius: 50%;
}

.hero-ornament::before { inset: 56px; }
.hero-ornament::after { inset: 118px; }

/* Buttons */
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--purple-700);
  border: 1px solid var(--purple-700);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color var(--ease), background var(--ease), border var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
  color: var(--white);
  background: var(--purple-900);
  border-color: var(--purple-900);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn::after {
  /* content: "ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢"; */
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--ease);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-gold {
  color: var(--purple-950);
  background: var(--gold-300);
  border-color: var(--gold-300);
}

.btn-gold:hover {
  color: var(--purple-950);
  background: var(--white);
  border-color: var(--white);
}

.btn-outline {
  color: var(--purple-700);
  background: transparent;
  border-color: rgba(96,42,107,0.45);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--purple-700);
  border-color: var(--purple-700);
}

.btn-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,0.45);
}

.btn-light:hover {
  color: var(--purple-950);
  background: var(--white);
  border-color: var(--white);
}

/* Split sections */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.split-grid.reverse .split-media {
  order: 2;
}

.split-copy > p {
  color: #554d56;
}

.split-media {
  position: relative;
}

.image-frame {
  position: relative;
  isolation: isolate;
}

.image-frame::before {
  position: absolute;
  z-index: -1;
  top: 26px;
  right: -26px;
  bottom: -26px;
  left: 26px;
  content: "";
  background: var(--gold-100);
  border: 1px solid rgba(181,150,88,0.28);
  border-radius: var(--radius-lg);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.image-frame.tall img {
  aspect-ratio: 4 / 4.6;
}

.image-frame.wide img {
  aspect-ratio: 16 / 10;
}

.media-caption {
  position: absolute;
  right: -18px;
  bottom: -18px;
  max-width: 260px;
  padding: 15px 19px;
  color: var(--white);
  background: var(--purple-700);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Purpose tabs */
.purpose-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tab-list {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--purple-800);
}

.tab-button {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 20px 18px;
  cursor: pointer;
  color: rgba(255,255,255,0.68);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color var(--ease), background var(--ease);
}

.tab-button:last-child {
  border-bottom: 0;
}

.tab-button .tab-number {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.tab-button .tab-label {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.55;
  text-transform: uppercase;
}

.tab-button:hover,
.tab-button[aria-selected="true"] {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.tab-panels {
  min-height: 350px;
  display: grid;
  padding: clamp(38px, 5vw, 70px);
  place-items: center start;
  background:
    radial-gradient(circle at 92% 8%, rgba(216,195,152,0.18), transparent 31%),
    var(--white);
}

.tab-panel {
  display: none;
  max-width: 650px;
  animation: tabIn 300ms ease both;
}

.tab-panel.active {
  display: block;
}

.tab-panel .panel-index {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-600);
  font-family: var(--serif);
  font-size: 4.8rem;
  line-height: 0.7;
  opacity: 0.72;
}

.tab-panel p {
  color: #5a515b;
  font-size: 1.08rem;
}

@keyframes tabIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease), border var(--ease);
}

.feature-card:hover {
  border-color: rgba(96,42,107,0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  margin-bottom: 28px;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 50%;
  place-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.52rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-card .card-index {
  position: absolute;
  right: 20px;
  bottom: 2px;
  color: rgba(96,42,107,0.055);
  font-family: var(--serif);
  font-size: 6.8rem;
  line-height: 1;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  position: relative;
  overflow: hidden;
  height: 390px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease), border var(--ease);
}

.team-card:hover {
  border-color: rgba(96, 42, 107, 0.34);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.team-portrait {
  position: relative;
  height: 220px;
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(216, 195, 152, 0.58), transparent 26%),
    linear-gradient(145deg, var(--purple-100), #d9c8dc);
  place-items: center;
}

.team-portrait::before,
.team-portrait::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(96,42,107,0.15);
  border-radius: 50%;
}

.team-portrait::before {
  width: 230px;
  height: 230px;
  top: -100px;
  right: -70px;
}

.team-portrait::after {
  width: 170px;
  height: 170px;
  bottom: -90px;
  left: -45px;
}

.team-initials {
  position: relative;
  z-index: 1;
  color: var(--purple-700);
  font-family: var(--serif);
  font-size: 5rem;
  letter-spacing: -0.08em;
  line-height: 1;
}

.team-body {
  padding: 26px 25px 28px;
}

.team-member-name {
  margin-bottom: 9px;
  color: var(--purple-950);
  font-family: var(--serif);
  font-size: 1.52rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.team-role {
  display: block;
  color: var(--purple-700);
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.team-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gold-600);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-more::after {
  content: "+";
  font-size: 1.1rem;
}

/* Dialog */
.modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: 22px;
  background: rgba(31,14,35,0.76);
  opacity: 0;
  place-items: center;
  transition: opacity var(--ease), visibility var(--ease);
  backdrop-filter: blur(10px);
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(34px, 6vw, 68px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--ease);
}

.modal.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  cursor: pointer;
  color: var(--purple-700);
  background: var(--purple-50);
  border: 0;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  place-items: center;
  transition: color var(--ease), background var(--ease), transform var(--ease);
}

.modal-close:hover {
  color: var(--white);
  background: var(--purple-700);
  transform: rotate(5deg);
}

.modal-role {
  margin-bottom: 24px;
  color: var(--gold-600);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.modal-bio {
  color: #544c55;
  white-space: pre-line;
}

/* Program blocks */
.program-stack {
  display: grid;
  gap: clamp(74px, 9vw, 126px);
}

.program-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.program-block:nth-child(even) .program-media {
  order: 2;
}

.program-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.program-copy p {
  color: #5a525b;
}

.program-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--gold-600);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.program-label::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
}

/* Accordion */
.accordion {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-button {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 19px 0;
  cursor: pointer;
  color: var(--purple-950);
  text-align: left;
  background: transparent;
  border: 0;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.accordion-icon {
  width: 30px;
  height: 30px;
  display: grid;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  place-items: center;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.accordion-item.open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-content {
  padding: 0 0 24px;
  color: #5b535c;
}

.accordion-content ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.accordion-content li + li {
  margin-top: 8px;
}

/* Callout */
.callout {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 76px);
  color: rgba(255,255,255,0.84);
  background: var(--purple-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.callout::before {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -190px;
  bottom: -210px;
  content: "";
  border: 1px solid rgba(216,195,152,0.32);
  border-radius: 50%;
}

.callout h2,
.callout h3 {
  color: var(--white);
}

.callout > * {
  position: relative;
  z-index: 1;
}

.callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: center;
  gap: 38px;
}

/* Initiative cards */
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.initiative-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.initiative-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.initiative-image {
  position: relative;
  overflow: hidden;
}

.initiative-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms ease;
}

.initiative-card:hover .initiative-image img {
  transform: scale(1.035);
}

.initiative-number {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  color: var(--purple-950);
  background: var(--gold-300);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
  place-items: center;
}

.initiative-body {
  padding: clamp(28px, 4vw, 44px);
}

.initiative-body p {
  color: #5b535c;
}

/* Calendar */
.calendar-shell {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  color: var(--white);
  background: var(--purple-800);
}

.calendar-toolbar h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-toolbar a {
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.calendar-frame {
  position: relative;
  min-height: 760px;
  background: #f3eff4;
}

.calendar-frame iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.calendar-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  padding: 30px;
  color: var(--muted);
  text-align: center;
  place-content: center;
}

.calendar-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple-950);
  font-family: var(--serif);
  font-size: 1.4rem;
}

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  display: grid;
  min-height: 138px;
  grid-template-columns: 54px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border var(--ease), transform var(--ease), box-shadow var(--ease);
}

.resource-card:hover {
  border-color: rgba(96,42,107,0.34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.resource-icon {
  width: 54px;
  height: 54px;
  display: grid;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 50%;
  place-items: center;
}

.resource-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.resource-copy strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple-950);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
}

.resource-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.resource-arrow {
  color: var(--gold-600);
  font-size: 1.25rem;
  transition: transform var(--ease);
}

.resource-card:hover .resource-arrow {
  transform: translateX(4px);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-list svg {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  fill: none;
  stroke: var(--gold-300);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-list a {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(216,195,152,0.42);
  text-underline-offset: 4px;
}

.contact-list a:hover {
  color: var(--gold-300);
}

/* Reach section */
.reach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(48px, 8vw, 110px);
}

.help-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: help;
}

.help-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.13);
  counter-increment: help;
}

.help-list li::before {
  content: "0" counter(help);
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  color: rgba(255,255,255,0.72);
  background: var(--purple-950);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.6fr) minmax(240px, 0.8fr);
  gap: clamp(35px, 7vw, 90px);
  padding: 68px 0 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 64px;
  height: 68px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
  color: var(--gold-300);
  font-size: 0.64rem;
  font-weight: 740;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-intro {
  max-width: 450px;
  margin-top: 24px;
  font-size: 0.9rem;
}
.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.footer-bottom a {
  color: var(--gold-300);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

/* Utility decorations */
.quote-block {
  position: relative;
  margin: 30px 0 0;
  padding: 26px 30px;
  color: #524a53;
  background: var(--purple-50);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-block p {
  margin: 0;
}

.meta-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Responsive */
@media (max-width: 1080px) {
  :root { --header-height: 86px; }

  .site-brand { flex-basis: 330px; }
  .site-brand img { width: 53px; height: 57px; }
  .brand-copy strong { font-size: 1.02rem; }
  .brand-copy span { font-size: 0.56rem; }
  .main-nav ul { gap: 17px; }
  .main-nav a { font-size: 0.66rem; letter-spacing: 0.085em; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .container-wide { width: calc(100% - 24px); }

  .menu-toggle { display: block; flex: 0 0 auto; }

  .main-nav {
    position: fixed;
    z-index: 1200;
    top: var(--header-height);
    right: 0;
    width: min(410px, 89vw);
    height: calc(100dvh - var(--header-height));
    padding: 28px;
    visibility: hidden;
    background: var(--white);
    box-shadow: -20px 30px 60px rgba(34,17,38,0.18);
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition: clip-path 300ms ease, opacity 300ms ease, visibility 300ms ease;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0);
    pointer-events: auto;
  }

  .main-nav ul {
    display: block;
  }

  .main-nav li {
    border-bottom: 1px solid var(--line);
  }

  .main-nav a {
    padding: 20px 4px;
    font-size: 0.8rem;
  }

  .main-nav a::after {
    right: auto;
    bottom: 11px;
    width: 36px;
  }

  .nav-scrim {
    position: fixed;
    z-index: 900;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    visibility: hidden;
    background: rgba(34,16,38,0.5);
    opacity: 0;
    transition: opacity 300ms ease, visibility 300ms ease;
    backdrop-filter: blur(4px);
  }

  .nav-scrim.open {
    visibility: visible;
    opacity: 1;
  }

  .split-grid,
  .program-block,
  .reach-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .split-grid.reverse .split-media,
  .program-block:nth-child(even) .program-media {
    order: 0;
  }

  .purpose-layout {
    grid-template-columns: 1fr;
  }

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

  .tab-button {
    grid-template-columns: 1fr;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 0;
  }

  .tab-button:last-child { border-right: 0; }
  .tab-panels { min-height: 320px; }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root { --header-height: 78px; }

  body { font-size: 15.5px; }
  .container { width: calc(100% - 30px); }
  .site-header { border-top-width: 4px; }
  .header-inner { min-height: calc(var(--header-height) - 4px); }
  .site-brand { gap: 10px; flex-basis: auto; }
  .site-brand img { width: 43px; height: 48px; }
  .brand-copy strong { max-width: 210px; font-size: 0.92rem; }
  .brand-copy span { margin-top: 5px; font-size: 0.51rem; }
  .menu-toggle { width: 44px; height: 44px; }

  .page-hero { min-height: 570px; }
  .page-hero.compact { min-height: 430px; }
  .hero-copy h1,
  .page-hero.compact .hero-copy h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-scroll { display: none; }
  .hero-media::after {
    background: linear-gradient(90deg, rgba(37,16,42,0.94), rgba(45,19,51,0.63)), linear-gradient(0deg, rgba(35,16,39,0.54), transparent 55%);
  }

  .section { padding: 74px 0; }
  .section-sm { padding: 58px 0; }
  .section-heading { margin-bottom: 38px; }
  .lead { font-size: 1.03rem; }
  .image-frame::before { top: 15px; right: -10px; bottom: -15px; left: 10px; }
  .media-caption { right: 10px; bottom: -14px; }

  .tab-list { grid-template-columns: 1fr; }
  .tab-button {
    grid-template-columns: 36px 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .tab-button:last-child { border-bottom: 0; }
  .tab-panels { min-height: 0; padding: 38px 26px; }
  .tab-panel .panel-index { font-size: 3.9rem; }

  .feature-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card { min-height: 0; }
  .team-portrait { height: 205px; }
  .callout { padding: 36px 25px; }
  .program-stack { gap: 72px; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .calendar-frame { min-height: 680px; }

  .resource-card {
    grid-template-columns: 46px 1fr auto;
    gap: 13px;
    padding: 20px 17px;
  }
  .resource-icon { width: 46px; height: 46px; }
  .resource-copy strong { font-size: 1.08rem; }

  .footer-main { grid-template-columns: 1fr; padding-top: 54px; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .hero-scroll,
  .button-row,
  .menu-toggle,
  .nav-scrim { display: none !important; }
  .page-hero { min-height: auto; background: none; }
  .hero-media { display: none; }
  .hero-copy h1,
  .hero-copy p { color: #000; text-shadow: none; }
  .section { padding: 28px 0; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Scoped CPE typography
   Arno Pro is intentionally applied only to headings carrying
   the .cpe-main-heading class. Component headings retain their
   existing component-specific typography and sizing.
   ========================================================= */
@font-face {
  font-family: "ArnoPro-SmbdSubhead";
  src:
    local("ArnoPro-SmbdSubhead"),
    local("Arno Pro Semibold Subhead"),
    local("Arno Pro Smbd Subhead"),
    local("Arno Pro Semibold"),
    local("Arno Pro");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.cpe-main-heading {
  color: rgb(94, 37, 104);
  font-family: "ArnoPro-SmbdSubhead", "Arno Pro", "Times New Roman", serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: normal;
}

/* Match the page-hero selector specificity without using !important. */
.page-hero .hero-copy h1.cpe-main-heading {
  font-size: 48px;
  line-height: 52px;
  letter-spacing: normal;
}

/* Keep existing light-on-dark heading treatment. */
.text-light .cpe-main-heading,
.section-purple .cpe-main-heading,
.callout .cpe-main-heading {
  color: var(--white);
}

/* Three visible Core Team members. */
.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cpe-main-heading,
  .page-hero .hero-copy h1.cpe-main-heading {
    font-size: 40px;
    line-height: 44px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
