:root {
  color-scheme: light;
  --aim: #9b5ee8;
  --aim-deep: #764686;
  --aim-blue: #38b6ff;
  --aim-pink: #bc3080;
  --ink: #251b2b;
  --muted: #685d70;
  --lavender: #eadcf7;
  --soft: #f8f2ff;
  --white: #ffffff;
  --dark-line: rgba(118, 70, 134, 0.18);
  --hero-pad-x: clamp(18px, 5vw, 72px);
  --hero-pad-top: clamp(86px, 11svh, 116px);
  --hero-pad-bottom: clamp(24px, 5svh, 58px);
  font-family:
    Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px);
  color: var(--white);
}

.page-site-header {
  position: sticky;
  background:
    linear-gradient(135deg, rgba(118, 70, 134, 0.98), rgba(188, 48, 128, 0.94)),
    var(--aim-deep);
  box-shadow: 0 16px 42px rgba(37, 27, 43, 0.16);
}

.brand,
nav,
.hero-actions,
.join-actions {
  display: flex;
  align-items: center;
}

.brand {
  display: block;
  width: clamp(154px, 14vw, 220px);
  min-width: 0;
}

.logo-mark {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(23, 8, 38, 0.45));
}

nav {
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  padding: 10px 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.menu-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  overflow: hidden;
  padding: var(--hero-pad-top) var(--hero-pad-x) var(--hero-pad-bottom);
  background: #2a1640;
  color: var(--white);
}

@supports (height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-kicker {
  color: var(--aim-pink);
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-actions,
.intro-actions,
.join-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: clamp(42px, 5.8svh, 48px);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

@media (max-height: 760px) and (min-width: 881px) {
  :root {
    --hero-pad-top: 78px;
    --hero-pad-bottom: 24px;
  }

  .brand {
    width: clamp(138px, 11vw, 172px);
  }

  nav {
    font-size: 0.88rem;
  }

  .hero-panel-wrap {
    width: min(900px, 84vw);
    transform: translate(clamp(-44px, -4vw, -18px), clamp(18px, 4svh, 34px));
  }

  .hero-glass-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.62fr);
    gap: clamp(16px, 2.6vw, 34px);
    padding: clamp(16px, 3svh, 28px);
  }

  .hero-copy-block h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, min(4.6vw, 6.9svh), 4.65rem);
  }

  .hero-copy-block p {
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .career-compass {
    width: min(318px, 30vw, 39svh);
    transform: translateX(clamp(26px, 6vw, 70px));
  }

  .compass-chip {
    width: clamp(120px, 12vw, 162px);
    min-height: 42px;
    padding: 7px 11px;
    font-size: 0.72rem;
  }

  .hero-panel-footer {
    gap: 18px;
  }
}

@media (max-height: 640px) and (min-width: 881px) {
  .hero-copy-block p {
    max-width: 540px;
  }

  .career-compass {
    width: min(276px, 27vw, 36svh);
    transform: translateX(clamp(18px, 5vw, 48px));
  }

  .compass-chip {
    width: 128px;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 0.66rem;
  }

  .compass-chip small {
    display: none;
  }

  .compass-core {
    width: 104px;
    height: 104px;
  }

  .hero-next-event {
    padding: 12px 14px;
  }
}

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

.primary {
  background: var(--aim-pink);
  color: var(--white);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.on-light {
  border-color: rgba(118, 70, 134, 0.28);
  color: var(--aim-deep);
}

.white {
  background: var(--white);
  color: var(--aim-deep);
}

.hero-photo,
.hero-photo-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  background: center / cover no-repeat url("data:image/webp;base64,UklGRoIBAABXRUJQVlA4IHYBAABwBwCdASowACAAPxF+tVUsJ6SjJWsxgCIJQBj9XmO1SMdVo9+a3BrVFQ76clXdLrIrTvrJVwtjcKHbsChnj8l6+GOFQAD+3V3Wd/iaxshfp5A/ssybrydqjuOCisqtgUMPuGRJC/TL41Su3N7i4Qtm160L71QxHM7yQOgolDN/IMenaDNf+mTKW2umKN+TH1hJiQHaq0+MDMCQg4eVrpjM4vFl8DhV8/hNZcxu2qzMvvSYdwzdQAXL7SKyvmegzM8xrkaxgM1qPFEObA40nImArYkIYkOlYfKChcyrfHxt/k4te20vvBN318f5sgrhENK/cmSXJ2u3ezlHBzCKMNPsYTlevPE0zAsDecW5K1Hj1X4J7L3HCpC3tB91Vgo8w/6PP71BxQXP7HDIa5CX7kaLxjY2A4t3WzDHdPSBOhW74k/mVoxZK4T9i/wCJbUjh6QQZ4vm5akX29o0Jy4cYvWNUoahJNEoipbUaoNIlvx5GHUiYUo8AA==");
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.08);
}

.hero-photo-tint {
  background:
    radial-gradient(circle at 52% 48%, rgba(155, 94, 232, 0.18), transparent 22rem),
    linear-gradient(0deg, rgba(52, 24, 79, 0.78), rgba(91, 44, 139, 0.55)),
    linear-gradient(90deg, rgba(118, 70, 134, 0.52), rgba(155, 94, 232, 0.22));
}

.hero-panel-wrap {
  position: relative;
  z-index: 2;
  width: min(720px, 82vw);
  justify-self: center;
  transform: translate(clamp(-250px, -16vw, -28px), clamp(42px, 8svh, 86px));
}

.hero-glass-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.48fr);
  gap: clamp(12px, min(2vw, 2.8svh), 28px);
  align-items: center;
  min-height: clamp(400px, 52svh, 520px);
  padding: clamp(16px, min(2.1vw, 3svh), 30px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(155, 94, 232, 0.7), rgba(118, 70, 134, 0.5)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 110px rgba(23, 8, 38, 0.46);
  backdrop-filter: blur(12px);
}

.hero-copy-block {
  position: relative;
  grid-column: 1;
  z-index: 1;
}

.hero-eyebrow {
  margin-bottom: clamp(8px, 1.5svh, 14px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy-block h1 {
  max-width: 11ch;
  margin-bottom: clamp(10px, 1.8svh, 18px);
  color: var(--white);
  font-size: clamp(2.15rem, min(4.8vw, 6.8svh), 5rem);
  line-height: 0.88;
}

.hero-copy-block p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, min(1.7vw, 2.1svh), 1.2rem);
  line-height: 1.48;
}

.career-compass {
  position: absolute;
  z-index: 2;
  top: clamp(-100px, -7vw, -75px);
  right: clamp(-256px, -20vw, -86px);
  width: min(480px, 50vw, 60svh);
  aspect-ratio: 1;
  justify-self: auto;
  transform: none;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.compass-chip {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 1px;
  width: clamp(136px, 13vw, 190px);
  min-height: clamp(42px, 5.4svh, 56px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: clamp(0.76rem, min(1vw, 1.45svh), 0.9rem);
  font-weight: 950;
  line-height: 1.04;
  box-shadow: 0 14px 38px rgba(23, 8, 38, 0.22);
  backdrop-filter: blur(10px);
}

.compass-chip i {
  grid-row: 1 / span 2;
  width: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  text-align: center;
}

.compass-chip.no-note {
  grid-template-rows: 1fr;
}

.compass-chip.no-note i {
  grid-row: 1;
}

.compass-chip.no-note .path-label {
  align-self: center;
}

.compass-chip small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.05;
}

.compass-chip::before,
.compass-chip::after {
  position: absolute;
  z-index: 3;
  content: "";
  pointer-events: none;
}

.compass-chip::before {
  width: 56px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg width='56' height='36' viewBox='0 0 56 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cmarker id='arrow' markerWidth='7' markerHeight='7' refX='6.2' refY='3.5' orient='auto' markerUnits='strokeWidth'%3E%3Cpath d='M0 0L7 3.5L0 7Z' fill='white'/%3E%3C/marker%3E%3C/defs%3E%3Cpath d='M49 24C37 7 20 20 8 20' stroke='white' stroke-width='3.2' stroke-linecap='round' marker-end='url(%23arrow)'/%3E%3C/svg%3E")
    center / contain no-repeat;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.36));
  transform-origin: center;
}

.compass-chip::after {
  display: none;
}

.chip-1 {
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chip-1::before {
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

.chip-2 {
  top: 30%;
  left: 89%;
  transform: translate(-50%, -50%);
}

.chip-2::before {
  bottom: -20px;
  left: -32px;
  transform: rotate(146deg);
}

.chip-3 {
  top: 61%;
  left: 90%;
  transform: translate(-50%, -50%);
}

.chip-3::before {
  top: 12%;
  left: -46px;
  transform: translateY(-50%) rotate(192deg);
}

.chip-4 {
  top: 95%;
  left: 75%;
  transform: translate(-50%, -50%);
}

.chip-4::before {
  top: -45px;
  left: -18px;
  transform: rotate(238deg);
}

.chip-5 {
  top: 95%;
  left: 25%;
  transform: translate(-50%, -50%);
}

.chip-5::before {
  top: -45px;
  right: -18px;
  transform: rotate(302deg);
}

.chip-6 {
  top: 61%;
  left: 10%;
  transform: translate(-50%, -50%);
}

.chip-6::before {
  top: 12%;
  right: -46px;
  transform: translateY(-50%) rotate(348deg);
}

.chip-7 {
  top: 30%;
  left: 11%;
  transform: translate(-50%, -50%);
}

.chip-7::before {
  right: -32px;
  bottom: -20px;
  transform: rotate(394deg);
}

.compass-core {
  position: absolute;
  z-index: 3;
  inset: 50%;
  display: grid;
  width: clamp(118px, 12vw, 154px);
  height: clamp(118px, 12vw, 154px);
  place-items: center;
  padding: 0;
  transform: translate(-50%, -50%);
}

.compass-core img {
  display: block;
  width: 150%;
  max-width: none;
  height: auto;
  transform: translateY(-5%);
  filter: drop-shadow(0 10px 18px rgba(23, 8, 38, 0.26));
}

.hero-panel-footer {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 24px);
  padding-top: clamp(6px, 1.7svh, 12px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4svh, 10px);
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 1000;
  line-height: 1;
}

.hero-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-socials span {
  display: grid;
  width: clamp(34px, 4.8svh, 40px);
  height: clamp(34px, 4.8svh, 40px);
  place-items: center;
  border-radius: 999px;
  background: var(--aim-blue);
  color: var(--white);
  font-weight: 1000;
}

.hero-socials i {
  font-size: 1.1rem;
}

.hero-socials a:nth-child(2) span {
  background: linear-gradient(135deg, #f9a44b, var(--aim-pink), var(--aim-deep));
}

.hero-next-event {
  position: static;
  width: min(420px, 100%);
  padding: clamp(12px, 1.9svh, 16px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: rgba(23, 8, 38, 0.2);
  color: var(--white);
  text-align: left;
  backdrop-filter: blur(10px);
}

.hero-next-event span,
.hero-next-event small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.hero-next-event strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(0.98rem, 1.7svh, 1.08rem);
  line-height: 1.1;
}

.hero-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-ring {
  border: clamp(42px, 6vw, 78px) solid var(--white);
  border-radius: 999px;
}

.hero-ring-right {
  right: -148px;
  top: 36%;
  width: 330px;
  height: 330px;
}

.hero-ring-bottom {
  right: -20px;
  bottom: -240px;
  width: 500px;
  height: 500px;
}

.hero-dot {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: var(--white);
}

.hero-dot-left {
  top: 38%;
  left: 7vw;
}

.hero-dot-left::after {
  position: absolute;
  inset: 24px;
  content: "";
  border-radius: inherit;
  background: #4f2a73;
}

.hero-dot-right {
  top: 51%;
  right: 11vw;
}

.section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-band,
.membership-band {
  background: var(--white);
}

.board-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(56, 182, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 4% 95%, rgba(188, 48, 128, 0.14), transparent 22rem),
    var(--soft);
}

.board-intro,
.board-grid,
.board-empty {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-inline: auto;
}

.board-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.board-lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

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

.board-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 132px;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(76, 42, 92, 0.07);
}

.board-avatar {
  display: grid;
  width: 72px;
  height: 86px;
  place-items: center;
  overflow: hidden;
  border-radius: 36px 36px 9px 9px;
  background: linear-gradient(145deg, var(--aim), var(--aim-pink));
}

.board-avatar span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 1000;
  backdrop-filter: blur(8px);
}

.board-avatar-2 { background: linear-gradient(145deg, var(--aim-blue), var(--aim)); }
.board-avatar-3 { background: linear-gradient(145deg, var(--aim-pink), #f38a71); }
.board-avatar-4 { background: linear-gradient(145deg, var(--aim-deep), var(--aim-blue)); }

.board-role {
  display: inline-flex;
  margin: 0 0 6px;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--lavender);
  color: var(--aim-deep);
  font-size: 0.74rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.board-card h3 {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.15;
}

.board-study {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}

.board-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.board-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--aim-deep);
  font-size: 0.86rem;
  font-weight: 900;
}

.board-links a:hover {
  color: var(--aim-pink);
}

.intro-layout,
.membership-band,
.join-band,
.section-heading,
.live-timeline {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-layout,
.membership-band,
.join-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.intro-description {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.68;
}

.intro-actions {
  display: flex;
  margin-top: 26px;
}

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

.highlight-card {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--soft);
}

.highlight-card-image {
  aspect-ratio: 4 / 3;
  background: var(--lavender);
}

.highlight-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center);
}

.highlight-card-copy {
  padding: 20px;
}

.highlight-card h3 {
  margin-bottom: 10px;
  color: var(--aim-deep);
  font-size: 1.25rem;
}

.highlight-card p,
.membership-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.events-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(56, 182, 255, 0.38), transparent 24rem),
    radial-gradient(circle at 9% 72%, rgba(188, 48, 128, 0.36), transparent 25rem),
    linear-gradient(145deg, var(--aim), var(--aim-deep) 52%, var(--aim-pink));
  color: var(--white);
}

.section-heading {
  margin-bottom: 42px;
}

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

.timeline-heading h2 {
  position: relative;
  display: inline-block;
}

.timeline-heading h2::after {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: min(420px, 86vw);
  height: 3px;
  content: "";
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
}

.live-timeline {
  display: grid;
  max-width: 1120px;
  gap: 24px;
}

.timeline-live-status {
  display: flex;
  width: min(820px, 100%);
  align-items: center;
  gap: 12px;
  justify-self: center;
  padding: 0 12px 6px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.timeline-live-status p {
  margin: 0;
  line-height: 1.45;
}

.timeline-live-status strong {
  color: var(--white);
  font-weight: 1000;
}

.live-status-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 245, 160, 0.98);
  box-shadow: 0 0 0 7px rgba(255, 245, 160, 0.18), 0 0 24px rgba(255, 245, 160, 0.72);
}

.timeline-events {
  display: grid;
  padding-top: 10px;
}

.timeline-event {
  --timeline-cross: rgba(255, 255, 255, 0.92);
  --timeline-cross-y: 11px;
  --timeline-overlap: clamp(28px, 4vw, 56px);
  --timeline-spine: rgba(255, 255, 255, 0.78);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 86px;
  gap: 0;
}

.timeline-event + .timeline-event {
  margin-top: calc(-1 * var(--timeline-overlap));
}

.timeline-event:last-child {
  min-height: 0;
}

.timeline-date {
  display: grid;
  align-content: start;
  gap: 6px;
  position: relative;
  grid-row: 1;
  width: min(420px, 100%);
  padding-top: 1px;
  color: rgba(255, 255, 255, 0.86);
}

.timeline-date time {
  font-size: 0.96rem;
  font-weight: 1000;
  line-height: 1.2;
}

.timeline-date span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
}

.timeline-event.is-left .timeline-date,
.timeline-event.is-left .timeline-event-copy {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.timeline-event.is-right .timeline-date,
.timeline-event.is-right .timeline-event-copy {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.timeline-spine {
  position: relative;
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 100%;
  justify-content: center;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  display: block;
  width: 76px;
  height: 22px;
}

.timeline-dot::before,
.timeline-dot::after {
  position: absolute;
  z-index: 2;
  content: "";
  border-radius: 999px;
  background: var(--timeline-cross);
}

.timeline-dot::before {
  top: 50%;
  width: 38px;
  height: 4px;
  transform: translateY(-50%);
}

.timeline-dot::after {
  top: 50%;
  left: 50%;
  width: 4px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.timeline-event.is-left .timeline-dot::before {
  right: 50%;
}

.timeline-event.is-right .timeline-dot::before {
  left: 50%;
}

.timeline-segment {
  position: absolute;
  top: var(--timeline-cross-y);
  bottom: calc(var(--timeline-overlap) - var(--timeline-cross-y));
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--timeline-spine);
}

.timeline-segment-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--segment-progress);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 245, 160, 0.98), rgba(56, 182, 255, 0.95));
}

.timeline-event.is-past .timeline-segment-fill {
  background: rgba(255, 255, 255, 0.34);
}

.timeline-now {
  position: absolute;
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0;
  transform: translate(-50%, -50%);
}

.timeline-now::before {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 245, 160, 0.98);
  box-shadow: 0 0 0 6px rgba(255, 245, 160, 0.2), 0 0 22px rgba(255, 245, 160, 0.88);
  content: "";
}

.timeline-now span {
  position: absolute;
  top: 50%;
  left: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(37, 27, 43, 0.92);
  box-shadow: 0 10px 24px rgba(37, 27, 43, 0.26);
  line-height: 1;
  transform: translateY(-50%);
  white-space: nowrap;
}

.timeline-now.is-before {
  top: -18px;
}

.timeline-now.is-on-dot {
  top: var(--timeline-cross-y);
}

.timeline-now.is-in-segment {
  top: var(--now-offset);
}

.timeline-now.is-after {
  top: 42px;
}

.timeline-event-copy {
  min-width: 0;
  grid-row: 2;
  width: min(420px, 100%);
  margin-bottom: 8px;
  padding: 0 0 8px;
  color: var(--white);
}

.timeline-event:last-child .timeline-event-copy {
  margin-bottom: 0;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.timeline-event.is-left .timeline-meta {
  justify-content: flex-end;
}

.timeline-state,
.timeline-location {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1;
}

.timeline-state {
  background: rgba(255, 245, 160, 0.98);
  color: #4f2a73;
}

.timeline-event.is-cancelled .timeline-state {
  background: #f5d3de;
  color: #7c2344;
}

.timeline-event.is-cancelled.is-past .timeline-state {
  background: #dedbe1;
  color: #514b57;
}

.timeline-location {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
}

.timeline-event-copy h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.08;
}

.timeline-event-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
  line-height: 1.25;
}

.timeline-event.is-past {
  --timeline-cross: rgba(255, 255, 255, 0.36);
  --timeline-spine: rgba(255, 255, 255, 0.78);
}

.timeline-event.is-past .timeline-event-copy {
  opacity: 0.56;
}

.timeline-event.is-live .timeline-event-copy {
  opacity: 1;
}

.timeline-event.is-live {
  --timeline-cross: rgba(255, 255, 255, 0.98);
}

.membership-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  border: 1px solid rgba(155, 94, 232, 0.22);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 86% 20%, rgba(56, 182, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(155, 94, 232, 0.12), rgba(188, 48, 128, 0.1));
}

.membership-button {
  min-height: clamp(64px, 8svh, 76px);
  padding: 0 clamp(28px, 4vw, 46px);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  box-shadow: 0 18px 42px rgba(188, 48, 128, 0.24);
}

.membership-note {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.join-band {
  max-width: none;
  background:
    radial-gradient(circle at 86% 34%, rgba(56, 182, 255, 0.5), transparent 22rem),
    linear-gradient(135deg, var(--aim-deep), var(--aim-pink));
  color: var(--white);
}

.join-main {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-content: start;
}

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

.join-actions .social-button {
  min-width: min(280px, 100%);
  min-height: clamp(68px, 9svh, 84px);
  gap: 16px;
  padding: 0 clamp(28px, 4vw, 44px);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1;
}

.join-actions .social-button i {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.facebook-feed {
  width: min(500px, 100%);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(37, 27, 43, 0.24);
}

.facebook-feed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.subpage-main {
  background: var(--soft);
}

.subpage-hero {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(118, 70, 134, 0.96), rgba(155, 94, 232, 0.88) 46%, rgba(188, 48, 128, 0.92)),
    var(--aim-deep);
  color: var(--white);
}

.subpage-hero-inner {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 22px;
}

.subpage-hero-inner > * {
  min-width: 0;
  max-width: 100%;
}

.subpage-hero h1 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.subpage-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.subpage-actions,
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.subpage-actions .button,
.about-cta-actions .button {
  min-width: 0;
  max-width: 100%;
}

.about-band {
  background: var(--white);
}

.about-layout,
.practice-inner,
.about-cta,
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.about-copy h2,
.practice-inner h2,
.about-cta h2 {
  max-width: 800px;
}

.about-copy p:not(.kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.7;
}

.about-principles {
  display: grid;
  gap: 14px;
}

.principle-card,
.practice-card {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--soft);
  padding: clamp(20px, 3vw, 30px);
}

.principle-card h3,
.practice-card h3 {
  margin-bottom: 10px;
  color: var(--aim-deep);
  font-size: clamp(1.15rem, 1.6vw, 1.38rem);
}

.principle-card p,
.practice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.practice-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(234, 220, 247, 0.72)),
    var(--soft);
}

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

.practice-number {
  display: block;
  margin-bottom: 28px;
  color: var(--aim-pink);
  font-size: 0.84rem;
  font-weight: 1000;
}

.about-cta-band,
.site-footer {
  background:
    linear-gradient(135deg, var(--aim-deep), var(--aim-pink)),
    var(--aim-deep);
  color: var(--white);
}

.about-cta {
  display: grid;
  gap: 22px;
}

.about-cta h2 {
  color: var(--white);
}

.site-footer {
  padding: clamp(32px, 5vw, 54px) clamp(18px, 5vw, 72px);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: grid;
  max-width: 430px;
  gap: 12px;
}

.footer-brand .logo-mark {
  width: min(180px, 52vw);
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.1rem;
}

.footer-socials a:hover {
  background: var(--white);
  color: var(--aim-deep);
}

@media (max-width: 880px) {
  :root {
    --mobile-menu-reserve: 102px;
    --hero-pad-top: clamp(176px, calc(22svh + var(--mobile-menu-reserve)), 330px);
    --hero-pad-bottom: clamp(34px, 7svh, 62px);
  }

  .site-header {
    position: absolute;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    text-align: center;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    width: 42px;
    height: 24px;
    border: 0;
    background: transparent;
    color: var(--white);
    backdrop-filter: none;
  }

  .menu-toggle span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--white);
  }

  .menu-toggle span:nth-child(1) {
    transform: translateX(-11px);
  }

  .menu-toggle span:nth-child(2) {
    transform: none;
  }

  .menu-toggle span:nth-child(3) {
    transform: translateX(11px);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateX(-11px);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 1;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateX(11px);
  }

  .site-nav {
    display: grid;
    min-height: var(--mobile-menu-reserve);
    align-content: start;
    gap: 2px;
    justify-items: center;
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .site-header.is-menu-open .site-nav {
    position: static;
    z-index: 1;
    padding: 0;
    color: var(--white);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a {
    padding: 7px 0;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 900;
  }

  .site-nav a:hover {
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .brand {
    width: clamp(196px, 38vw, 260px);
    margin-inline: auto;
  }

  .hero,
  .intro-layout,
  .board-intro,
  .membership-band,
  .join-band {
    grid-template-columns: 1fr;
  }

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

  .facebook-feed {
    justify-self: stretch;
    margin-top: 8px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-glass-panel {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5svh, 40px);
    padding: clamp(22px, 5vw, 38px);
  }

  .hero-panel-wrap {
    width: min(100%, 92vw);
    margin-top: clamp(18px, 4svh, 46px);
    transform: none;
  }

  .hero-copy-block h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 11vw, 5.6rem);
  }

  .career-compass {
    display: none;
  }

  .hero-panel-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .live-timeline {
    gap: 22px;
  }

  .timeline-live-status {
    align-items: flex-start;
  }

  .timeline-event {
    --timeline-cross-y: 11px;
    --timeline-overlap: 0px;
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 0;
    gap: 14px;
  }

  .timeline-event + .timeline-event {
    margin-top: 0;
  }

  .timeline-date {
    display: flex;
    grid-row: 1;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding-top: 0;
    margin-bottom: 8px;
    text-align: left;
  }

  .timeline-event.is-left .timeline-date,
  .timeline-event.is-right .timeline-date,
  .timeline-event.is-left .timeline-event-copy,
  .timeline-event.is-right .timeline-event-copy {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .timeline-dot {
    width: 30px;
  }

  .timeline-event.is-left .timeline-dot::before,
  .timeline-event.is-right .timeline-dot::before {
    right: auto;
    left: 50%;
    width: 29px;
  }

  .timeline-event.is-left .timeline-meta {
    justify-content: flex-start;
  }

  .timeline-spine {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .timeline-event-copy {
    grid-row: 2;
    margin-bottom: 30px;
    padding: 0 0 18px;
  }

  .timeline-segment {
    bottom: calc(-1 * var(--timeline-cross-y));
  }

  .timeline-now span {
    display: none;
  }
}

@media (max-width: 880px) {
  :root {
    --mobile-menu-reserve: 148px;
    --hero-pad-top: clamp(0px, calc(5svh + var(--mobile-menu-reserve)), 580px);
    --hero-pad-bottom: 28px;
  }

  .site-header {
    padding-top: 16px;
  }

  .brand {
    width: clamp(180px, 72vw, 460px);
    padding-top: 6vh;
  }

  .logo-mark {
    width: 100%;
    height: auto;
  }

  .button {
    width: 100%;
  }

  .hero-glass-panel {
    padding: clamp(18px, 5vw, 24px);
    gap: 24px;
  }

  .hero-panel-wrap {
    margin-top: clamp(28px, calc(32svh + var(--mobile-menu-reserve)), 500px);
  }

  .hero-copy-block h1 {
    font-size: clamp(2.55rem, 15vw, 3.9rem);
  }

  .hero-copy-block p {
    font-size: 0.98rem;
  }

}

@media (max-width: 520px) {
  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 112px;
    padding: 15px;
  }

  .board-avatar {
    width: 64px;
    height: 76px;
  }

  .board-avatar span {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }
}

@media (max-width: 880px) {
  .page-site-header {
    position: sticky;
    padding: 16px 18px 18px;
  }

  .page-site-header .brand {
    width: clamp(160px, 48vw, 230px);
    padding-top: 0;
  }

  .page-site-header .site-nav {
    min-height: 0;
  }

  .page-site-header.is-menu-open .site-nav {
    padding-top: 4px;
  }

  .subpage-hero {
    padding-top: clamp(48px, 12vw, 72px);
  }

  .subpage-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
    line-height: 0.94;
  }

  .subpage-actions,
  .about-cta-actions {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .about-layout,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 521px) and (max-width: 880px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* AIM subpages: intentionally scoped so the front page stays unchanged. */
.aim-subpage {
  --page-purple: #4f2a73;
  --page-ink: #30203e;
  --page-muted: #74677e;
  background: #faf8fc;
  color: var(--page-ink);
}
.aim-subpage .page-site-header {
  position: sticky;
  top: 0;
  min-height: 78px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(110deg, #57317c, #452363);
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: none;
}
.aim-subpage .page-site-header .brand {
  width: 144px;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}
.aim-subpage .page-site-header .logo-mark { height: 86px; object-fit: contain; filter: none; }
.aim-subpage .site-nav { min-height: 0; gap: 28px; font-size: .86rem; }
.aim-subpage .site-nav a { color: #f1e8f7; padding: 10px 0; }
.aim-subpage .site-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.aim-subpage a:focus-visible, .aim-subpage button:focus-visible { outline: 3px solid #b8dcff; outline-offset: 5px; }
.aim-subpage .subpage-main { background: #faf8fc; }
.aim-subpage .subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 24px 76px;
  background: radial-gradient(ellipse at 85% 0%, #8752b04a, transparent 65%), linear-gradient(115deg, #57317c, #3c205a);
}
.aim-subpage .subpage-hero-inner { position: relative; gap: 56px; align-items: center; }
.aim-subpage .has-image .subpage-hero-inner { grid-template-columns: 1.3fr .8fr; }
.aim-subpage .subpage-back { display: inline-flex; gap: 8px; margin-bottom: 36px; font-size: .78rem; color: #e6d5f1; }
.aim-subpage .subpage-back:hover { color: #fff; }
.aim-subpage .kicker { font-size: .7rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 18px; }
.aim-subpage .dark-kicker { color: #794795; }
.aim-subpage h1, .aim-subpage h2, .aim-subpage h3 { letter-spacing: -.035em; }
.aim-subpage .subpage-hero h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 24px;
}
.aim-subpage .subpage-lead { max-width: 690px; font-size: 1.04rem; line-height: 1.8; color: #e5d9ee; }
.aim-subpage .subpage-actions { margin-top: 28px; gap: 12px; }
.aim-subpage .button { min-height: 46px; padding: 12px 20px; border-radius: 6px; font-size: .87rem; font-weight: 800; width: auto; gap: 12px; }
.aim-subpage .primary { background: #a02b78; }
.aim-subpage .primary.white { background: #fff; color: #4f2a73; }
.aim-subpage .secondary { border-color: #ffffff55; background: #ffffff08; }
.aim-subpage .subpage-hero-image { margin: 40px 0 0; position: relative; }
.aim-subpage .subpage-hero-image img { display: block; width: 100%; height: 380px; object-fit: cover; object-position: center 38%; border-radius: 80px 10px 10px 10px; }
.aim-subpage .subpage-hero-image figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 20px; background: #4f2a73bb; border: 1px solid #ffffff44; backdrop-filter: blur(12px); border-radius: 6px; color: #fff; font-size: .85rem; }
.aim-subpage .section { padding: 80px 24px; }
.aim-subpage h2 { font-size: clamp(2rem, 3.25vw, 3.3rem); line-height: 1.13; font-weight: 800; }
.aim-subpage .about-band { background: #fff; }
.aim-subpage .about-layout { grid-template-columns: 1fr 1fr; gap: 88px; }
.aim-subpage .about-copy p:not(.kicker) { margin: 24px 0 0; color: var(--page-muted); font-size: 1rem; line-height: 1.85; }
.aim-subpage .about-principles { gap: 0; }
.aim-subpage .principle-card { display: grid; grid-template-columns: 34px 1fr; column-gap: 20px; padding: 24px 0; border: 0; border-top: 1px solid #e8dfed; border-radius: 0; background: transparent; }
.aim-subpage .principle-card:first-child { padding-top: 0; border-top: 0; }
.aim-subpage .principle-number { grid-row: 1 / span 2; padding-top: 4px; font-size: .72rem; font-weight: 800; color: #a78bbb; }
.aim-subpage .principle-card h3 { margin: 0 0 8px; color: #4f2a73; font-size: 1.22rem; }
.aim-subpage .principle-card p { line-height: 1.75; font-size: .94rem; color: var(--page-muted); }
.aim-subpage .practice-band { background: #f6f2f9; }
.aim-subpage .section-heading { margin-bottom: 36px; }
.aim-subpage .practice-grid { gap: 20px; }
.aim-subpage .practice-card { padding: 0 0 24px; background: #fff; border: 1px solid #e8dfed; border-radius: 10px; overflow: hidden; }
.aim-subpage .practice-image { width: 100%; height: 160px; object-fit: cover; display: block; }
.aim-subpage .practice-number { margin: 20px 22px 12px; font-size: .68rem; color: #9b75b0; }
.aim-subpage .practice-card h3 { font-size: 1.14rem; margin: 0 22px 8px; }
.aim-subpage .practice-card p { margin: 0 22px; font-size: .9rem; color: var(--page-muted); line-height: 1.7; }
.aim-subpage .about-cta-band, .aim-subpage .board-contact-band {
  color: #fff;
  background: radial-gradient(ellipse at 95% 40%, #9b5ee847, transparent 60%), linear-gradient(110deg, #57317c, #3c205a);
}
.aim-subpage .about-cta { gap: 22px; }
.aim-subpage .about-cta h2 { max-width: 760px; }
.aim-subpage .about-cta .kicker { margin-bottom: 0; }
.aim-subpage .board-band { background: #faf8fc; }
.aim-subpage .board-intro { grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.aim-subpage .board-lead { font-size: 1rem; color: var(--page-muted); line-height: 1.8; }
.aim-subpage .board-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.aim-subpage .board-card { grid-template-columns: 1fr; align-content: start; gap: 24px; border-radius: 10px; padding: 28px; background: #fff; border: 1px solid #e5dcea; box-shadow: none; min-height: 245px; }
.aim-subpage .board-avatar { width: 64px; height: 64px; border-radius: 50%; background: #efe6f6; }
.aim-subpage .board-avatar span { width: 64px; height: 64px; background: none; border: 0; color: #6a3e87; font-size: 1.15rem; font-weight: 800; backdrop-filter: none; }
.aim-subpage .board-role { padding: 0; border-radius: 0; background: transparent; font-size: .62rem; letter-spacing: .09em; color: #89659d; line-height: 1.5; }
.aim-subpage .board-card h3 { font-size: 1.24rem; line-height: 1.25; font-weight: 800; margin: 4px 0 0; }
.aim-subpage .board-study { margin: 12px 0 0; font-weight: 600; color: var(--page-muted); }
.aim-subpage .board-links { margin-top: 18px; gap: 14px; }
.aim-subpage .board-contact-inner { max-width: 1180px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.aim-subpage .board-contact-inner p:not(.kicker) { margin: 20px 0 0; color: #e5d9ee; line-height: 1.75; }
.aim-subpage .board-contact-inner .button { flex: 0 0 auto; }
.aim-subpage .site-footer { padding: 32px 24px; background: #3c205a; border-top: 1px solid #ffffff24; }
.aim-subpage .footer-brand { display: flex; align-items: center; gap: 24px; max-width: 580px; }
.aim-subpage .footer-brand .logo-mark { width: 132px; height: 108px; flex: 0 0 auto; object-fit: contain; filter: none; }
.aim-subpage .footer-brand p { font-size: .83rem; color: #e0d2e8; }
.aim-subpage .footer-socials a { width: 40px; height: 40px; border-radius: 6px; background: #ffffff0a; border-color: #ffffff30; }
@media (max-width: 1050px) {
  .aim-subpage .has-image .subpage-hero-inner { gap: 32px; grid-template-columns: 1.2fr .8fr; }
  .aim-subpage .about-layout { gap: 40px; }
  .aim-subpage .board-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 880px) {
  .aim-subpage .page-site-header { min-height: 68px; padding: 8px 20px; text-align: left; }
  .aim-subpage .page-site-header .brand { width: 124px; }
  .aim-subpage .page-site-header .logo-mark { height: 74px; }
  .aim-subpage .menu-toggle { display: flex; width: 44px; height: 40px; border: 1px solid #ffffff40; border-radius: 6px; }
  .aim-subpage .menu-toggle span { width: 18px; height: 2px; border-radius: 0; }
  .aim-subpage .menu-toggle span:nth-child(1) { transform: translateY(-6px); }
  .aim-subpage .menu-toggle span:nth-child(2) { transform: none; }
  .aim-subpage .menu-toggle span:nth-child(3) { transform: translateY(6px); }
  .aim-subpage .is-menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
  .aim-subpage .is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .aim-subpage .is-menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }
  .aim-subpage .site-nav { display: none; min-height: 0; }
  .aim-subpage .is-menu-open .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 4px; justify-items: stretch; padding: 12px 20px 20px; background: #452363; box-shadow: 0 16px 30px #251b2b22; }
  .aim-subpage .site-nav a { padding: 12px; text-align: left; font-size: .9rem; }
  .aim-subpage .subpage-hero { padding: 32px 24px 52px; }
  .aim-subpage .has-image .subpage-hero-inner, .aim-subpage .about-layout, .aim-subpage .board-intro { grid-template-columns: 1fr; gap: 32px; }
  .aim-subpage .subpage-hero h1 { font-size: clamp(2.45rem, 6vw, 3.8rem); }
  .aim-subpage .subpage-hero-image { margin: 0; }
  .aim-subpage .subpage-hero-image img { height: 300px; border-radius: 48px 8px 8px 8px; }
  .aim-subpage .subpage-actions, .aim-subpage .about-cta-actions { display: flex; flex-wrap: wrap; }
  .aim-subpage .section { padding: 56px 24px; }
  .aim-subpage .practice-grid, .aim-subpage .board-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aim-subpage .board-contact-inner { align-items: start; flex-direction: column; gap: 24px; }
  .aim-subpage .site-footer-inner { flex-direction: row; align-items: center; }
  .aim-subpage .footer-brand { max-width: 400px; }
}
@media (max-width: 520px) {
  .aim-subpage .subpage-hero, .aim-subpage .section { padding-inline: 20px; }
  .aim-subpage .subpage-back { margin-bottom: 28px; }
  .aim-subpage .subpage-hero h1 { font-size: clamp(2rem, 9vw, 2.45rem); }
  .aim-subpage .subpage-lead { font-size: .98rem; }
  .aim-subpage .subpage-actions, .aim-subpage .about-cta-actions { flex-direction: column; }
  .aim-subpage .button { width: 100%; }
  .aim-subpage .practice-grid, .aim-subpage .board-grid { grid-template-columns: 1fr; }
  .aim-subpage .practice-image { height: 200px; }
  .aim-subpage .board-card { grid-template-columns: 64px minmax(0,1fr); min-height: 130px; padding: 22px; gap: 20px; align-items: center; }
  .aim-subpage .board-card h3 { font-size: 1.12rem; }
  .aim-subpage .board-avatar, .aim-subpage .board-avatar span { width: 64px; height: 64px; }
  .aim-subpage .site-footer-inner { flex-direction: column; align-items: start; gap: 24px; }
  .aim-subpage .footer-brand { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .aim-subpage *, .aim-subpage *::before, .aim-subpage *::after { transition: none; animation: none; }
}

/* Archive entry point is the only addition to the front-page timeline. */
.timeline-archive-action { max-width: 1180px; margin: 40px auto 0; display: flex; justify-content: center; }
.timeline-archive-action .button { gap: 10px; }
.aim-subpage .archive-inner { max-width: 1180px; margin: 0 auto; }
.aim-subpage .facebook-archive-band { padding-top: 0; }
.facebook-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px; }
.facebook-archive-card { min-width: 0; padding: 20px; border: 1px solid #e5dcea; border-radius: 12px; background: #fff; }
.facebook-card-heading { display: flex; align-items: center; gap: 10px; max-width: 500px; margin: 0 auto 18px; color: #4f2a73; font-weight: 800; }
.facebook-card-heading i { color: #1877f2; font-size: 1.3rem; }
.facebook-card-heading small { margin-left: auto; color: #89659d; font-size: .75rem; font-weight: 700; }
.facebook-embed-viewport { position: relative; width: 100%; max-width: 500px; margin-inline: auto; overflow: hidden; }
.facebook-embed-content { position: absolute; top: 0; left: 0; transform-origin: top left; }
.facebook-embed-unavailable { padding: 18px; margin: 0; background: #f4eff7; color: #6a3e87; line-height: 1.6; }
.facebook-source-link { display: block; max-width: 500px; margin: 18px auto 0; color: #794795; font-size: .83rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .facebook-archive-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .facebook-archive-card { padding: 14px; }
}
.aim-subpage .archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 54px; }
.aim-subpage .archive-count { margin: 0 0 6px; flex: 0 0 auto; color: var(--page-muted); font-size: .9rem; }
.aim-subpage .archive-year + .archive-year { margin-top: 52px; }
.aim-subpage .archive-year-heading { font-size: 1.2rem; font-weight: 800; color: #794795; margin: 0 0 20px; }
.aim-subpage .archive-list { display: grid; gap: 16px; }
.aim-subpage .archive-event { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; align-items: start; gap: 28px; padding: 28px; border: 1px solid #e5dcea; border-radius: 10px; background: #fff; }
.aim-subpage .archive-date { display: grid; justify-items: center; gap: 0; padding: 14px 8px; background: #efe6f6; border-radius: 8px; color: #6a3e87; }
.aim-subpage .archive-date span { font-size: 2rem; line-height: 1.1; font-weight: 800; }
.aim-subpage .archive-date small { margin-top: 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.aim-subpage .archive-event-meta { margin: 0 0 10px; color: var(--page-muted); font-size: .78rem; line-height: 1.6; }
.aim-subpage .archive-event h4 { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.025em; color: #4f2a73; }
.aim-subpage .archive-subtitle { margin: 0; color: var(--page-muted); font-size: .95rem; line-height: 1.65; }
.aim-subpage .archive-location { margin: 16px 0 0; font-size: .8rem; color: var(--page-muted); line-height: 1.6; }
.aim-subpage .archive-location i { margin-right: 5px; color: #89659d; }
.aim-subpage .archive-status { padding: 5px 10px; background: #f4eff7; color: #89659d; font-size: .67rem; border-radius: 4px; font-weight: 800; }
.aim-subpage .archive-empty { padding: 36px; border: 1px solid #e5dcea; border-radius: 10px; background: #fff; }
.aim-subpage .archive-empty h3 { font-size: 1.3rem; color: #4f2a73; }
.aim-subpage .archive-empty p { margin-bottom: 0; color: var(--page-muted); line-height: 1.7; }
@media (max-width: 880px) {
  .aim-subpage .archive-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 36px; }
  .aim-subpage .archive-event { grid-template-columns: 70px minmax(0,1fr); gap: 20px; padding: 24px; }
  .aim-subpage .archive-status { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
  .aim-subpage .archive-event { padding: 20px; grid-template-columns: 54px minmax(0,1fr); gap: 16px; }
  .aim-subpage .archive-date span { font-size: 1.6rem; }
  .aim-subpage .archive-event h4 { font-size: 1.15rem; }
  .aim-subpage .archive-event-meta { font-size: .72rem; }
}

.hero-socials a:nth-child(3) span { background: #0a66c2; }
.hero-socials a:focus-visible { outline: 3px solid white; outline-offset: 4px; border-radius: 50%; }
.hero-socials a:hover span { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

/* Keep social icons on the right; wrap only when the event and icons cannot fit. */
.hero-panel-footer { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.hero-panel-footer .hero-next-event { flex: 1 1 260px; min-width: min(260px, 100%); max-width: 420px; }
.hero-panel-footer .hero-socials { flex: 0 0 auto; margin-left: auto; justify-content: flex-end; }

/* Use the panel's available width to switch the social icon arrangement. */
.hero-panel-footer { container: hero-footer / inline-size; }
.hero-panel-footer .hero-socials { flex-direction: row; }
@container hero-footer (min-width: 340px) {
  .hero-panel-footer .hero-socials { flex-direction: column; }
}
