.faculty-section {
  --faculty-blue: var(--showcase-blue, var(--blue, #2457ff));
  --faculty-deep: var(--showcase-blue-deep, var(--blue-deep, #143bc9));
  --faculty-ink: var(--showcase-ink, var(--ink, #11151f));
  --faculty-muted: var(--showcase-muted, var(--muted, #69717e));
  --faculty-lime: var(--showcase-lime, var(--lime, #c9ff42));
  --faculty-mono: var(--showcase-mono, var(--mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace));
  --faculty-gutter: var(--showcase-gutter, var(--page-gutter, clamp(24px, 4vw, 68px)));
  --faculty-type-body: var(--showcase-type-body, var(--type-body, clamp(.9rem, .84rem + .16vw, 1.05rem)));
  --faculty-type-small: var(--showcase-type-small, var(--type-small, clamp(.72rem, .69rem + .08vw, .8rem)));
  --faculty-type-meta: var(--showcase-type-meta, var(--type-meta, clamp(.6rem, .58rem + .05vw, .65rem)));
  position: relative;
  z-index: 2;
  padding: clamp(92px, 8.5vw, 142px) var(--faculty-gutter);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(201, 236, 255, 0.56), transparent 24%),
    #f5f7fb;
  color: var(--faculty-ink);
  font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-variant-emoji: text;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.16, 1, .3, 1);
}

.faculty-section.is-visible { opacity: 1; transform: none; }
.faculty-section *, .faculty-section *::before, .faculty-section *::after { box-sizing: border-box; }
.faculty-section a { color: inherit; text-decoration: none; }

.faculty-heading {
  display: grid;
  grid-template-columns: minmax(150px, .32fr) minmax(440px, 1.2fr) minmax(250px, .52fr);
  align-items: end;
  gap: clamp(30px, 4vw, 72px);
  margin-bottom: clamp(54px, 6vw, 86px);
}

.faculty-index { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 14px; }
.faculty-index span { display: grid; width: 38px; height: 38px; place-items: center; background: var(--faculty-blue); color: #fff; font-family: var(--faculty-mono); font-size: .75rem; }
.faculty-index strong { font-family: var(--faculty-mono); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.faculty-heading h2 { max-width: 940px; margin: 0; font-size: clamp(3.4rem, 6vw, 7.6rem); letter-spacing: -.075em; line-height: .86; }
.faculty-heading h2 em { color: var(--faculty-blue); font-style: normal; }
.faculty-heading > p { max-width: 430px; margin: 0; color: var(--faculty-muted); font-size: .82rem; line-height: 1.62; }

.faculty-board {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 90px rgba(23, 36, 76, .1);
}

.faculty-focus { display: grid; min-width: 0; grid-template-rows: 58px minmax(0, 1fr) 62px; border-right: 1px solid rgba(36, 87, 255, .12); }
.faculty-focus > header,
.faculty-directory > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px; border-bottom: 1px solid rgba(17, 21, 31, .1); font-family: var(--faculty-mono); font-size: .75rem; letter-spacing: .08em; }
.faculty-focus > header span { display: inline-flex; align-items: center; gap: 9px; color: var(--faculty-blue); }
.faculty-focus > header i { width: 7px; height: 7px; border-radius: 50%; background: var(--faculty-lime); box-shadow: 0 0 0 5px rgba(201, 255, 66, .2); }
.faculty-focus > header strong { color: #858e9c; }

.faculty-focus-stage { display: grid; min-height: 500px; grid-template-columns: minmax(280px, .72fr) minmax(340px, 1fr); }
.faculty-copy-stack { display: grid; min-width: 0; }
.faculty-copy-stack > .faculty-copy,
.faculty-copy-size-probe { grid-area: 1 / 1; }
.faculty-copy-size-probe { display: grid; min-width: 0; visibility: hidden; pointer-events: none; }
.faculty-copy-size-probe > .faculty-copy { grid-area: 1 / 1; }
.faculty-copy-size-probe .faculty-copy > * { animation: none !important; }
.faculty-identity { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; background: var(--faculty-blue); color: #fff; isolation: isolate; }
.faculty-identity > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); filter: saturate(.9) contrast(1.02); transition: opacity .42s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.faculty-identity::before { position: absolute; z-index: -1; right: -.22em; bottom: -.24em; color: rgba(255, 255, 255, .11); content: attr(data-mark); font-family: var(--faculty-mono); font-size: 16rem; font-weight: 800; letter-spacing: -.12em; line-height: .8; }
.faculty-identity::after { position: absolute; z-index: -1; top: 22%; right: 20px; width: 120px; height: 120px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; content: ""; box-shadow: 0 0 0 26px rgba(255, 255, 255, .035), 0 0 0 52px rgba(255, 255, 255, .025); }
.faculty-identity > span { max-width: 190px; color: rgba(255, 255, 255, .72); font-family: var(--faculty-mono); font-size: .75rem; letter-spacing: .08em; line-height: 1.45; }
.faculty-identity > strong { position: relative; z-index: 2; font-family: var(--faculty-mono); font-size: clamp(4rem, 7vw, 8.4rem); letter-spacing: -.1em; line-height: .8; }
.faculty-identity > small { position: absolute; right: 24px; bottom: 24px; display: grid; width: 48px; height: 48px; place-items: center; background: var(--faculty-lime); color: var(--faculty-ink); font-family: var(--faculty-mono); font-size: .75rem; font-weight: 800; }
.faculty-identity > i { position: absolute; top: 78px; left: 28px; width: 54px; height: 2px; background: var(--faculty-lime); }
.faculty-identity.has-photo { background: #dbe8f5; }
.faculty-identity.has-photo > img { opacity: 1; transform: scale(1); }
.faculty-identity.has-photo::before { z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 61, .08) 30%, rgba(10, 29, 73, .78) 100%); color: transparent; content: ""; }
.faculty-identity.has-photo::after { top: auto; right: auto; bottom: 26px; left: 28px; width: 96px; height: 96px; border-color: rgba(255, 255, 255, .42); box-shadow: 0 0 0 16px rgba(255, 255, 255, .055); }
.faculty-identity.has-photo > span { position: relative; z-index: 2; width: fit-content; max-width: 220px; padding: 8px 10px; background: rgba(18, 54, 156, .82); color: #fff; backdrop-filter: blur(12px); }
.faculty-identity.has-photo > strong { align-self: flex-start; margin-top: auto; margin-bottom: 2px; padding-right: 70px; font-size: clamp(3.25rem, 5vw, 6rem); text-shadow: 0 3px 22px rgba(4, 14, 38, .34); }
.faculty-identity.has-photo > small { z-index: 3; }
.faculty-identity.has-photo > i { z-index: 2; top: 86px; }
.faculty-identity.is-photo-loading > img { opacity: 0; }

.faculty-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(34px, 4vw, 66px); }
.faculty-copy > span { color: var(--faculty-blue); font-family: var(--faculty-mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.faculty-copy h3 { max-width: 620px; margin: 28px 0 0; font-size: clamp(2.35rem, 3.6vw, 4.8rem); letter-spacing: -.065em; line-height: .91; }
.faculty-copy > strong { max-width: 540px; margin-top: 24px; color: #3e4654; font-size: .78rem; line-height: 1.45; }
.faculty-copy > p { max-width: 560px; margin: 22px 0 0; color: var(--faculty-muted); font-size: .76rem; line-height: 1.62; }
.faculty-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 32px; }
.faculty-tags span { padding: 8px 10px; background: #edf2ff; color: var(--faculty-blue); font-family: var(--faculty-mono); font-size: .75rem; letter-spacing: .04em; }
.faculty-focus > footer { display: flex; align-items: center; gap: 18px; padding: 0 24px; border-top: 1px solid rgba(17, 21, 31, .1); color: #818b99; font-family: var(--faculty-mono); font-size: .75rem; letter-spacing: .08em; }
.faculty-focus > footer i { color: #a5adba; font-style: normal; }
.faculty-focus > footer strong { color: var(--faculty-blue); }
.faculty-focus.is-switching .faculty-identity > strong,
.faculty-focus.is-switching .faculty-copy-stack > .faculty-copy > * { animation: faculty-content-in .48s cubic-bezier(.16, 1, .3, 1) both; }
.faculty-focus.is-switching .faculty-copy-stack > .faculty-copy > *:nth-child(2) { animation-delay: .03s; }
.faculty-focus.is-switching .faculty-copy-stack > .faculty-copy > *:nth-child(3) { animation-delay: .06s; }
.faculty-focus.is-switching .faculty-copy-stack > .faculty-copy > *:nth-child(4) { animation-delay: .09s; }
.faculty-focus.is-switching .faculty-copy-stack > .faculty-copy > *:nth-child(5) { animation-delay: .12s; }

.faculty-directory { display: grid; min-width: 0; grid-template-rows: 58px minmax(0, 1fr) 3px 62px; }
.faculty-directory > header small { color: #9199a5; }
.faculty-directory ol { display: grid; margin: 0; padding: 0; list-style: none; }
.faculty-directory li { min-height: 0; border-bottom: 1px solid rgba(17, 21, 31, .085); }
.faculty-directory button { display: grid; width: 100%; height: 100%; min-height: 76px; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 22px; border: 0; background: transparent; color: var(--faculty-ink); text-align: left; cursor: pointer; transition: background .28s ease, color .28s ease, padding .28s cubic-bezier(.16, 1, .3, 1); }
.faculty-directory button > span:first-child { color: var(--faculty-blue); font-family: var(--faculty-mono); font-size: .75rem; }
.faculty-directory button > span:nth-child(2) { display: grid; gap: 5px; }
.faculty-directory button strong { font-size: .78rem; }
.faculty-directory button small { color: #848d99; font-family: var(--faculty-mono); font-size: .75rem; letter-spacing: .04em; }
.faculty-directory button > i { color: #aab1bc; font-style: normal; transition: transform .28s ease; }
.faculty-directory li.is-active button { padding-left: 28px; background: var(--faculty-blue); color: #fff; }
.faculty-directory li.is-active button > span:first-child,
.faculty-directory li.is-active button small,
.faculty-directory li.is-active button > i { color: var(--faculty-lime); }
.faculty-directory li.is-active button > i { transform: translate(2px, -2px); }
.faculty-progress { overflow: hidden; background: #e5eaf4; }
.faculty-progress i { display: block; width: var(--faculty-progress, 16.666%); height: 100%; background: var(--faculty-lime); transition: width .42s cubic-bezier(.16, 1, .3, 1); }
.faculty-directory > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; color: var(--faculty-blue); font-size: .75rem; font-weight: 700; }
.faculty-directory > a i { font-style: normal; transition: transform .25s ease; }
.faculty-directory > a:hover i { transform: translate(3px, -3px); }

.faculty-source { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 24px; color: #7b8491; font-family: var(--faculty-mono); font-size: .75rem; letter-spacing: .04em; }
.faculty-source a { color: var(--faculty-blue); }
.faculty-source i { font-style: normal; }

.faculty-section[data-faculty-mode="teaser"] {
  padding-top: clamp(86px, 7vw, 118px);
  padding-bottom: clamp(86px, 7vw, 118px);
}

.faculty-section[data-faculty-mode="teaser"] .faculty-heading {
  margin-bottom: clamp(48px, 5vw, 70px);
}

.faculty-section[data-faculty-mode="teaser"] .faculty-board {
  min-height: 580px;
}

.faculty-section[data-faculty-mode="teaser"] .faculty-focus-stage {
  min-height: 460px;
}

.faculty-section[data-faculty-mode="teaser"] .faculty-directory ol {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

@keyframes faculty-content-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .faculty-heading { grid-template-columns: minmax(140px, .3fr) 1fr; }
  .faculty-heading > p { grid-column: 2; }
  .faculty-board { grid-template-columns: 1fr; }
  .faculty-focus { border-right: 0; border-bottom: 1px solid rgba(36, 87, 255, .12); }
  .faculty-directory ol { grid-template-columns: 1fr 1fr; }
  .faculty-directory li:nth-child(odd) { border-right: 1px solid rgba(17, 21, 31, .085); }
  .faculty-section[data-faculty-mode="teaser"] .faculty-directory ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(130px, auto);
  }
  .faculty-section[data-faculty-mode="teaser"] .faculty-directory li { border-right: 1px solid rgba(17, 21, 31, .085); }
  .faculty-section[data-faculty-mode="teaser"] .faculty-directory li:last-child { border-right: 0; }
}

@media (max-width: 760px) {
  .faculty-section { padding-top: 76px; padding-bottom: 76px; }
  .faculty-heading { grid-template-columns: 1fr; gap: 30px; }
  .faculty-heading > p { grid-column: auto; }
  .faculty-heading h2 { font-size: clamp(3.1rem, 14vw, 5.4rem); }
  .faculty-focus-stage { grid-template-columns: 1fr; }
  .faculty-identity { min-height: 310px; }
  .faculty-copy { padding: 38px 22px 44px; }
  .faculty-copy h3 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .faculty-directory ol { grid-template-columns: 1fr; }
  .faculty-directory li:nth-child(odd) { border-right: 0; }
  .faculty-section[data-faculty-mode="teaser"] .faculty-directory ol {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(82px, auto));
  }
  .faculty-section[data-faculty-mode="teaser"] .faculty-directory li { border-right: 0; }
  .faculty-directory button { min-height: 82px; }
  .faculty-source { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .faculty-section { opacity: 1; transform: none; transition: none; }
  .faculty-section * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Faculty typography follows the shared institute scale. */
.faculty-heading > p,
.faculty-copy > p {
  color: var(--faculty-muted);
  font-size: var(--faculty-type-body);
  line-height: 1.62;
}

.faculty-index span,
.faculty-index strong,
.faculty-focus > header,
.faculty-directory > header,
.faculty-identity > span,
.faculty-copy > span,
.faculty-tags span,
.faculty-focus > footer,
.faculty-directory button > span:first-child,
.faculty-directory button small,
.faculty-source {
  font-size: var(--faculty-type-meta);
}

.faculty-focus > header strong,
.faculty-directory > header small,
.faculty-directory button small,
.faculty-focus > footer,
.faculty-source {
  color: #707c8c;
}

.faculty-copy > strong,
.faculty-directory button strong,
.faculty-directory > a {
  font-size: var(--faculty-type-small);
}

@media (max-width: 760px) {
  .faculty-heading > p,
  .faculty-copy > p {
    font-size: .9rem;
  }
}
