:root {
  --bg: #fbfaf6;
  --bg-2: #ffffff;
  --bg-3: #f4efe5;
  --bg-4: #ece5d5;
  --surface: #ffffff;
  --surface-2: #fdfcf8;
  --ink: #0b131e;
  --ink-2: #333d4b;
  --ink-3: #66707f;
  --ink-4: #98a0ad;
  --line: #e8e2d3;
  --line-2: #d3c9b3;
  --accent: #15305c;
  --accent-2: #0a1d40;
  --accent-3: #24466f;
  --accent-soft: #e9eef8;
  --accent-line: #b9c8e1;
  --gold: #a06b1a;
  --gold-2: #7a4e0e;
  --gold-3: #c58a2f;
  --gold-4: #e0b063;
  --gold-soft: #fbf1d9;
  --gold-line: #ead9ac;
  --green: #24614a;
  --green-soft: #e6f2ea;
  --green-line: #c0dcca;
  --green-live: #10b981;
  --plum: #6b3a6b;
  --plum-soft: #f4eaf5;
  --plum-line: #e0cfe2;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 34px;
  --r-full: 999px;
  --sh-xs: 0 1px 2px rgba(11,19,30,.04);
  --sh-sm: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 2px rgba(11,19,30,.04), 0 6px 18px -6px rgba(11,19,30,.06);
  --sh-md: 0 1px 0 rgba(255,255,255,.85) inset, 0 2px 4px rgba(11,19,30,.05), 0 16px 40px -12px rgba(11,19,30,.1);
  --sh-lg: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 8px rgba(11,19,30,.05), 0 28px 60px -16px rgba(11,19,30,.16);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-tilt: cubic-bezier(.2,.9,.28,1);
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1140px;
  --header-bg: rgba(251, 250, 246, .86);
  --header-h: 84px;
  --scrim: rgba(11, 19, 30, .48);
  --gold-rgb: 192, 134, 44;
  --accent-rgb: 21, 48, 92;
  --green-rgb: 16, 185, 129;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-optical-sizing: auto;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.66;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

body.no-scroll { overflow: hidden; }
img,
svg { max-width: 100%; display: block; height: auto; }

a { color: var(--accent); text-decoration: none; transition: color .16s ease, border-color .16s ease; }

input,
textarea,
select,
[contenteditable="true"] { user-select: text; -webkit-user-select: text; }

a:focus-visible {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-3);
}@media (hover: hover) and (pointer: fine) {
a:hover {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold-3);
}
}

::selection { background: var(--accent-soft); color: var(--accent-2); }
::-moz-selection { background: var(--accent-soft); color: var(--accent-2); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-3);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.014em;
  color: var(--ink);
  margin: 0 0 .6rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); letter-spacing: -.024em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: -.018em; }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul,
ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .3rem; }
code,
kbd,
samp,
pre { font-family: var(--mono); font-size: .86em; }

kbd {
  display: inline-block;
  min-width: 1.5em;
  padding: .1em .42em;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--ink-2);
  font-size: .7rem;
  line-height: 1.35;
  text-align: center;
}

mark { background: var(--gold-soft); color: var(--gold-2); padding: 0 .14em; border-radius: 3px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  padding: .7rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: .9rem;
  font-weight: 600;
  transition: top .18s var(--ease-out);
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

main { display: block; }

.section { padding-block: clamp(3.4rem, 7vw, 5.75rem); scroll-margin-top: 130px; position: relative; }
.section-soft { background: var(--bg-3); border-block: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.section-head h2 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3));
  flex: none;
}

.lede { font-size: 1.08rem; line-height: 1.72; color: var(--ink-2); max-width: 68ch; }
.muted { color: var(--ink-3); }

.tag {
  display: inline-block;
  padding: .24rem .66rem;
  border-radius: var(--r-full);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--bg-3);
  color: var(--ink-3);
  border: 1px solid var(--line);
}
.tag-accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .74rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: linear-gradient(180deg, var(--accent-3), var(--accent) 55%, var(--accent-2));
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 1px 2px rgba(11,19,30,.14), 0 8px 20px -6px rgba(21,48,92,.24);
  transition: transform .22s var(--ease-out), box-shadow .25s var(--ease-out), filter .2s ease, color .2s ease;
}
.btn:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 6px 12px rgba(11,19,30,.14), 0 18px 40px -10px rgba(21,48,92,.32);
}@media (hover: hover) and (pointer: fine) {
.btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 6px 12px rgba(11,19,30,.14), 0 18px 40px -10px rgba(21,48,92,.32);
}
}
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9rem 1.6rem; font-size: .95rem; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--accent);
  box-shadow: var(--sh-xs);
}
.btn-ghost:focus-visible {
  background: var(--surface);
  border-color: var(--accent-line);
  color: var(--accent-2);
  box-shadow: var(--sh-sm);
  filter: none;
}@media (hover: hover) and (pointer: fine) {
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--accent-line);
  color: var(--accent-2);
  box-shadow: var(--sh-sm);
  filter: none;
}
}

.btn-icon { display: inline-flex; align-items: center; transition: transform .22s var(--ease-spring); }
@media (hover: hover) and (pointer: fine) {
.btn:hover .btn-icon { transform: translateX(4px); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(1.9) blur(20px);
  -webkit-backdrop-filter: saturate(1.9) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 1px 0 rgba(var(--gold-rgb), .1), 0 10px 32px -12px rgba(11,19,30,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: var(--header-h);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .95rem;
  color: var(--ink);
  text-decoration: none;
  flex: none;
  padding: .2rem 0;
}
@media (hover: hover) and (pointer: fine) {
.brand:hover { text-decoration: none; color: var(--ink); }
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #f6f2e7 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 4px rgba(11,19,30,.06), 0 10px 24px -6px rgba(21,48,92,.12);
}
.brand-mark img { width: 50px; height: 50px; object-fit: contain; }

.brand-divider {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent 0%, var(--line-2) 22%, var(--line-2) 78%, transparent 100%);
  flex: none;
}

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-prefix {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand-full {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -.022em;
  color: var(--ink);
}

.header-right { display: flex; align-items: center; gap: .55rem; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: .12rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav li { margin: 0; }

  .primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
gap: .38rem;
  min-height: 44px;
  padding: .55rem .55rem .62rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: color .24s ease, background .28s ease, border-color .28s ease, box-shadow .32s ease, transform .34s var(--ease-spring);
}
.primary-nav a::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--r-full) - 2px);
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(var(--gold-rgb), .09));
  opacity: 0;
  transform: scale(.92);
  transition: opacity .28s ease, transform .42s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-3) 18%, var(--gold-3) 82%, transparent 100%);
  box-shadow: 0 0 0 rgba(var(--gold-rgb), 0);
  opacity: 0;
  transform: scaleX(.18);
  transform-origin: center;
  transition: opacity .18s ease, transform .46s var(--ease-spring), box-shadow .34s ease;
  pointer-events: none;
}
.primary-nav a:focus-visible {
  background: rgba(var(--gold-rgb), .065);
  border-color: rgba(var(--gold-rgb), .22);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -16px rgba(11,19,30,.38), 0 0 0 1px rgba(255,255,255,.72) inset;
}@media (hover: hover) and (pointer: fine) {
.primary-nav a:hover {
  background: rgba(var(--gold-rgb), .065);
  border-color: rgba(var(--gold-rgb), .22);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -16px rgba(11,19,30,.38), 0 0 0 1px rgba(255,255,255,.72) inset;
}
}
.primary-nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}@media (hover: hover) and (pointer: fine) {
.primary-nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}
}
.primary-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(var(--gold-rgb), .24);
}@media (hover: hover) and (pointer: fine) {
.primary-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(var(--gold-rgb), .24);
}
}
.primary-nav a:active {
  transform: translateY(0) scale(.965);
  box-shadow: 0 2px 7px -5px rgba(11,19,30,.32) inset, 0 0 0 1px rgba(var(--gold-rgb), .12) inset;
  transition-duration: .08s;
}
.primary-nav a:focus-visible {
  outline: 2px solid rgba(var(--gold-rgb), .5);
  outline-offset: 3px;
}
.nav-icon {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: .62;
  transition: opacity .2s ease, transform .38s var(--ease-spring);
}
.primary-nav a:focus-visible .nav-icon {
  opacity: 1;
  transform: translateY(-1px) scale(1.06);
}@media (hover: hover) and (pointer: fine) {
.primary-nav a:hover .nav-icon {
  opacity: 1;
  transform: translateY(-1px) scale(1.06);
}
}
.primary-nav a:active .nav-icon { transform: translateY(0) scale(.96); }
.primary-nav a[aria-current="page"] .nav-icon { opacity: 1; }
.primary-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .075), rgba(var(--gold-rgb), .055));
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), .1);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .04) inset;
}
.primary-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .045), rgba(var(--gold-rgb), .055));
}
.primary-nav a[aria-current="page"]::after {
  opacity: 1;
  left: 18%;
  right: 18%;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--gold-3) 50%, var(--accent) 82%, transparent);
  transform: scaleX(1);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), .16);
}
.primary-nav .nav-cta {
  margin-left: .4rem;
  padding-inline: 1.05rem;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--accent-3), var(--accent));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 8px 20px -6px rgba(21,48,92,.24);
  transition: background .22s ease, transform .28s var(--ease-spring), box-shadow .28s ease, border-color .22s ease;
}
.primary-nav .nav-cta::before,
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta .nav-icon { opacity: .9; }
.primary-nav .nav-cta:focus-visible {
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
  border-color: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 15px 30px -10px rgba(21,48,92,.38);
}@media (hover: hover) and (pointer: fine) {
.primary-nav .nav-cta:hover {
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
  border-color: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 15px 30px -10px rgba(21,48,92,.38);
}
}
.primary-nav .nav-cta:active { transform: translateY(0) scale(.975); }
.primary-nav .nav-cta:focus-visible .nav-icon { transform: translateY(-1px) scale(1.06); }@media (hover: hover) and (pointer: fine) {
.primary-nav .nav-cta:hover .nav-icon { transform: translateY(-1px) scale(1.06); }
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--sh-xs);
  transition: border-color .24s ease, color .24s ease, background .28s ease, box-shadow .32s ease, transform .34s var(--ease-spring);
}
.search-trigger svg { width: 15px; height: 15px; flex: none; transition: transform .35s var(--ease-spring); }
@media (hover: hover) and (pointer: fine) {
.search-trigger:hover {
  border-color: var(--gold-line);
  color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 26px -10px rgba(192,134,44,.3);
}
}
@media (hover: hover) and (pointer: fine) {
.search-trigger:hover svg { transform: rotate(-10deg) scale(1.12); }
}
.search-trigger-label { line-height: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: border-color .18s ease, box-shadow .18s ease;
}
@media (hover: hover) and (pointer: fine) {
.nav-toggle:hover { border-color: var(--gold-line); }
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform .28s var(--ease-out), opacity .18s ease, background .18s ease;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--accent-line); }
.nav-toggle[aria-expanded="true"] span { background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .6), var(--gold-3));
  transition: width .08s linear;
  pointer-events: none;
}

.lab-subnav {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.lab-subnav-inner {
  display: flex;
  align-items: center;
  gap: .3rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: .4rem;
}
.lab-subnav-inner::-webkit-scrollbar { display: none; }

.lab-subnav a {
  position: relative;
  display: inline-block;
  padding: .48rem .85rem;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-3);
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
@media (hover: hover) and (pointer: fine) {
.lab-subnav a:hover { color: var(--ink); background: var(--bg-3); text-decoration: none; }
}
.lab-subnav a.is-active { color: var(--accent); background: var(--accent-soft); }

.palette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--scrim);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.palette-backdrop.open { opacity: 1; visibility: visible; }

.palette {
  position: fixed;
  z-index: 201;
  top: 9vh;
  left: 50%;
  width: min(760px, calc(100vw - 1.5rem));
  max-height: min(76vh, 700px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 96%, #fff 4%);
  border: 1px solid rgba(var(--accent-rgb), .13);
  border-radius: 24px;
  box-shadow: 0 30px 90px -35px rgba(11,19,30,.34), 0 12px 36px -20px rgba(11,19,30,.2), 0 0 0 1px rgba(255,255,255,.7) inset;
  isolation: isolate;
  contain: layout paint;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -22px) scale(.975);
  transition: opacity .26s ease, transform .42s var(--ease-spring), visibility .26s ease;
}
.palette.open { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.palette-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem .92rem;
  border-bottom: 1px solid var(--line);
  flex: none;
  background: linear-gradient(180deg, rgba(255,255,255,.72), var(--surface-2));
}
.palette-head > svg { width: 19px; height: 19px; flex: none; color: var(--gold-3); transition: transform .35s var(--ease-spring); }
.palette:focus-within .palette-head > svg { transform: scale(1.08) rotate(-8deg); }
.palette-input-wrap { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: .16rem; }
.palette-input-meta { min-height: 1em; font-size: .66rem; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 1.04rem;
  color: var(--ink);
  padding: .1rem 0;
}
.palette-input::placeholder { color: var(--ink-4); }
.palette-input:focus { outline: none; }
.palette-esc {
  flex: none;
  min-width: 44px;
  padding: .38rem .62rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-3);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .18s ease, border-color .22s ease, background .22s ease, transform .25s var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
.palette-esc:hover { color: var(--ink); border-color: var(--line-2); background: var(--bg-4); transform: translateY(-1px); }
}
.palette-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: .62rem .6rem .78rem;
}
.palette-group-label {
  padding: .82rem .72rem .38rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.palette-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: .78rem;
  margin: .14rem 0;
  padding: .68rem .72rem;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: background .2s ease, border-color .22s ease, box-shadow .28s ease, transform .3s var(--ease-spring);
}
.palette-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-3), var(--accent));
  transform: scaleY(.2);
  opacity: 0;
  transition: opacity .2s ease, transform .34s var(--ease-spring);
}
.palette-item.active {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .075), rgba(var(--gold-rgb), .045));
  border-color: rgba(var(--accent-rgb), .1);
  text-decoration: none;
  transform: translateX(2px);
  box-shadow: 0 8px 22px -18px rgba(11,19,30,.3);
}@media (hover: hover) and (pointer: fine) {
.palette-item:hover {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .075), rgba(var(--gold-rgb), .045));
  border-color: rgba(var(--accent-rgb), .1);
  text-decoration: none;
  transform: translateX(2px);
  box-shadow: 0 8px 22px -18px rgba(11,19,30,.3);
}
}
.palette-item.active::before { opacity: 1; transform: scaleY(1); }@media (hover: hover) and (pointer: fine) {
.palette-item:hover::before { opacity: 1; transform: scaleY(1); }
}
.palette-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .08) inset;
  transition: background .24s ease, color .24s ease, transform .35s var(--ease-spring), box-shadow .25s ease;
}
.palette-item.active .palette-item-icon { background: var(--accent); color: #fff; transform: scale(1.05) rotate(-3deg); box-shadow: 0 8px 18px -10px rgba(var(--accent-rgb), .55); }@media (hover: hover) and (pointer: fine) {
.palette-item:hover .palette-item-icon { background: var(--accent); color: #fff; transform: scale(1.05) rotate(-3deg); box-shadow: 0 8px 18px -10px rgba(var(--accent-rgb), .55); }
}
.palette-item-icon svg { width: 16px; height: 16px; }
.palette-item-text { display: flex; flex-direction: column; gap: .12rem; min-width: 0; flex: 1; }
.palette-item-title { display: block; font-size: .9rem; font-weight: 650; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-item-desc { display: block; font-size: .76rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-item-meta { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .45rem; border-radius: 999px; background: var(--bg-3); color: var(--ink-4); font-size: .62rem; font-weight: 600; white-space: nowrap; }
.palette-item-arrow { flex: none; color: var(--gold-3); opacity: .2; transform: translateX(-5px); transition: opacity .2s ease, transform .3s var(--ease-spring); }
.palette-item-arrow svg { width: 14px; height: 14px; }
.palette-item.active .palette-item-arrow { opacity: 1; transform: translateX(0); }@media (hover: hover) and (pointer: fine) {
.palette-item:hover .palette-item-arrow { opacity: 1; transform: translateX(0); }
}
.palette-empty { min-height: 250px; padding: 3rem 1.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center; color: var(--ink-3); font-size: .84rem; }
.palette-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: .45rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 1.45rem; box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .08) inset; }
.palette-empty strong { display: block; margin-bottom: .4rem; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }

.palette-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  flex: none;
}
.palette-keys { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.palette-key { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--ink-3); }
.palette-count { font-size: .72rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }

.section-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  pointer-events: none;
}
.section-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  pointer-events: auto;
}
.section-rail-list li { margin: 0; }

.section-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
.section-rail a:hover { text-decoration: none; }
}

.section-rail-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .22s ease, transform .22s ease, color .22s ease;
}
.section-rail a.is-active .section-rail-label { opacity: 1; transform: none; }@media (hover: hover) and (pointer: fine) {
.section-rail a:hover .section-rail-label { opacity: 1; transform: none; }
}
.section-rail a.is-active .section-rail-label { color: var(--accent); }

.section-rail-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--bg);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
.section-rail a:hover .section-rail-dot { border-color: var(--gold-3); transform: scale(1.15); }
}
.section-rail a.is-active .section-rail-dot {
  background: var(--gold-3);
  border-color: var(--gold-3);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 7px rgba(var(--gold-rgb), .16);
}

.vision-ribbon {
  position: relative;
  padding-block: .95rem;
  background: linear-gradient(180deg, #fbf6ea 0%, #f8f1e0 42%, #f6edd8 100%);
  border-top: 1px solid rgba(var(--gold-rgb), .22);
  border-bottom: 1px solid rgba(var(--gold-rgb), .22);
  overflow: hidden;
  isolation: isolate;
}
.vision-ribbon::before,
.vision-ribbon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--gold-rgb), .55) 20%, rgba(var(--gold-rgb), .55) 80%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.vision-ribbon::before { top: 0; }
.vision-ribbon::after { bottom: 0; }
.vision-ribbon-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-inline: clamp(1rem, 4vw, 2rem);
  z-index: 1;
}
.vision-ribbon-inner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  left: -20%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: skewX(-18deg);
  animation: visionShimmer 6.5s var(--ease-soft) infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.vision-ribbon-ornament {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.vision-ribbon-ornament span {
  display: block;
  border-radius: 50%;
  background: var(--gold-3);
}
.vision-ribbon-ornament span:nth-child(1) { width: 4px; height: 4px; opacity: .5; }
.vision-ribbon-ornament span:nth-child(2) { width: 4px; height: 4px; opacity: 1; box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .14); }

.vision-ribbon-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(.95rem, 1.35vw, 1.08rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.002em;
  color: var(--ink-2);
  text-align: center;
}
.vision-ribbon-text em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  background: linear-gradient(180deg, transparent 62%, rgba(var(--gold-rgb), .22) 62%);
  padding-inline: .05em;
}

.hero {
  position: relative;
  padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(2.4rem, 5vw, 4rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(var(--gold-rgb), .07), transparent 60%),
    radial-gradient(70% 90% at 5% 90%, rgba(var(--accent-rgb), .05), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}
.hero-content { min-width: 0; }

.eyebrow-hero {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.4rem;
  padding: .5rem 1.05rem .5rem .85rem;
  border-radius: var(--r-full);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .06), 0 8px 20px -8px rgba(11,19,30,.08);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.eyebrow-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 90px;
  left: -25%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--gold-rgb), .16) 30%,
    rgba(var(--gold-rgb), .34) 50%,
    rgba(var(--gold-rgb), .16) 70%,
    transparent 100%);
  transform: skewX(-20deg);
  animation: eyebrowSweep 3.6s linear infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}
.eyebrow-hero-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-3);
  z-index: 3;
}
.eyebrow-hero-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), .25);
  animation: heroDotPulse 2.8s var(--ease-soft) infinite;
}
.eyebrow-hero-text {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .38em;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background-image: linear-gradient(
    100deg,
    var(--ink-3) 0%,
    var(--ink-3) 28%,
    var(--gold-3) 42%,
    #fff5dc 50%,
    var(--gold-3) 58%,
    var(--ink-3) 72%,
    var(--ink-3) 100%
  );
  background-size: 220% 100%;
  background-position: 160% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: eyebrowTextShine 3.6s linear infinite;
  will-change: background-position;
}
.ehw-initial {
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-image: linear-gradient(
    100deg,
    var(--gold) 0%,
    var(--gold) 28%,
    var(--gold-4) 42%,
    #fff8e0 50%,
    var(--gold-4) 58%,
    var(--gold) 72%,
    var(--gold) 100%
  );
  background-size: 220% 100%;
  background-position: 160% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: eyebrowTextShine 3.6s linear infinite;
  font-weight: 700;
}
.ehw-of {
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-image: linear-gradient(
    100deg,
    var(--ink-4) 0%,
    var(--ink-4) 28%,
    var(--ink-3) 42%,
    #ffffff 50%,
    var(--ink-3) 58%,
    var(--ink-4) 72%,
    var(--ink-4) 100%
  );
  background-size: 220% 100%;
  background-position: 160% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: eyebrowTextShine 3.6s linear infinite;
  font-weight: 400;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: lowercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1.02;
  margin: 0 0 1.1rem;
  background: linear-gradient(175deg, var(--ink) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-role {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 2rem;
}
.hero-role strong { font-weight: 600; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.1rem; }








.hero-portrait {
  position: relative;
  flex: none;
  width: clamp(200px, 27vw, 320px);
  aspect-ratio: 1;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--accent-rgb), .18);
  animation: heroRingSpin 60s linear infinite;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), .32);
}
.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(var(--gold-rgb), .22), var(--sh-lg);
  background: var(--bg-3);
}

.entry-list { display: grid; gap: 1.1rem; }

.entry {
  position: relative;
  padding: 1.6rem 1.9rem 1.6rem 2.1rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(11,19,30,.04), 0 12px 32px -14px rgba(11,19,30,.08);
  isolation: isolate;
  overflow: hidden;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-tilt);
}
.entry::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .1) 0%, rgba(var(--accent-rgb), .02) 40%, rgba(var(--gold-rgb), .06) 70%, rgba(var(--gold-rgb), .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .5s ease;
  z-index: 3;
}
.entry::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
  box-shadow: 0 0 12px rgba(var(--gold-rgb), .25);
  transition: top .5s var(--ease-out), bottom .5s var(--ease-out), width .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.entry-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--gold-rgb), .16), transparent 55%);
  transition: opacity .35s ease;
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
.entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 8px rgba(11,19,30,.05), 0 32px 64px -20px rgba(11,19,30,.16), 0 14px 32px -14px rgba(var(--gold-rgb), .22);
}
}
@media (hover: hover) and (pointer: fine) {
.entry:hover::before {
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .42) 0%, rgba(var(--accent-rgb), .14) 40%, rgba(var(--gold-rgb), .3) 70%, rgba(var(--gold-rgb), .6) 100%);
}
}
@media (hover: hover) and (pointer: fine) {
.entry:hover::after { top: .8rem; bottom: .8rem; width: 4px; box-shadow: 0 0 22px rgba(var(--gold-rgb), .45); }
}
@media (hover: hover) and (pointer: fine) {
.entry:hover .entry-glow { opacity: 1; }
}

.entry-head { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.entry-title { margin: 0; font-size: 1.18rem; transition: color .3s ease, letter-spacing .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.entry:hover .entry-title { color: var(--accent); letter-spacing: -.01em; }
}
.entry-body { position: relative; z-index: 1; color: var(--ink-2); font-size: .96rem; transition: color .3s ease; }
@media (hover: hover) and (pointer: fine) {
.entry:hover .entry-body { color: var(--ink); }
}
.entry-body p { margin-bottom: .4rem; }
.entry-body p:last-child { margin-bottom: 0; }

.positions-current { margin-bottom: 3rem; }
.positions-past { position: relative; }

.positions-past-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 1.2rem;
}
.positions-past-heading::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  flex: none;
}
.positions-past-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent 85%);
}

.positions-current-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.position-card {
  position: relative;
  padding: 1.5rem 1.6rem 1.5rem 1.9rem;
  background: linear-gradient(180deg, #ffffff, #fdfbf6 55%, #fbf6ea 100%);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(11,19,30,.04), 0 12px 32px -14px rgba(11,19,30,.1);
  isolation: isolate;
  overflow: hidden;
  transform: perspective(900px)
             rotateX(var(--tilt-x, 0deg))
             rotateY(var(--tilt-y, 0deg))
             translate3d(0, var(--tilt-lift, 0), 0);
  transition: box-shadow .5s var(--ease-out), transform .55s var(--ease-out);
  will-change: transform;
}
.position-card.is-tilting {
  transition: transform .12s linear;
}
.position-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(var(--gold-rgb), .28) 0%, rgba(var(--gold-rgb), .08) 40%, rgba(var(--accent-rgb), .06) 75%, rgba(var(--accent-rgb), .18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .5s ease;
  z-index: 3;
}
.position-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
  box-shadow: 0 0 12px rgba(var(--gold-rgb), .28);
  transition: top .5s var(--ease-out), bottom .5s var(--ease-out), width .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.position-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--gold-rgb), .2), rgba(var(--accent-rgb), .08) 45%, transparent 65%);
  transition: opacity .35s ease;
  z-index: 2;
}
.position-card-pulse {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #6ee7b7 0%, #10b981 45%, #059669 100%);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .16), 0 0 10px rgba(16, 185, 129, .5);
  z-index: 4;
}
.position-card-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--green-live);
  animation: liveRipple 2.4s var(--ease-soft) infinite;
}
.position-card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.position-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-2);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .16) inset;
  transition: background .35s ease, color .35s ease, transform .35s var(--ease-spring), box-shadow .35s ease;
}
.position-card-icon svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
.position-card:hover .position-card-icon {
  background: var(--gold-3);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 0 1px var(--gold-3) inset, 0 10px 22px -6px rgba(var(--gold-rgb), .45);
}
}
.position-card-date {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-2);
  padding: .28rem .72rem;
  border-radius: var(--r-full);
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .14) inset;
  white-space: nowrap;
}
.position-card-title {
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: -.014em;
  margin: 0 0 .42rem;
  color: var(--ink);
  transition: color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.position-card:hover .position-card-title { color: var(--accent); }
}
.position-card-org { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
.position-card:hover {
  --tilt-lift: -5px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 8px rgba(11,19,30,.05), 0 30px 60px -20px rgba(11,19,30,.18), 0 14px 30px -12px rgba(var(--gold-rgb), .22);
}
}
@media (hover: hover) and (pointer: fine) {
.position-card:hover::before {
  background: linear-gradient(150deg, rgba(var(--gold-rgb), .7) 0%, rgba(var(--gold-rgb), .3) 40%, rgba(var(--accent-rgb), .2) 75%, rgba(var(--accent-rgb), .42) 100%);
}
}
@media (hover: hover) and (pointer: fine) {
.position-card:hover::after { top: .8rem; bottom: .8rem; width: 4px; box-shadow: 0 0 22px rgba(var(--gold-rgb), .55); }
}
@media (hover: hover) and (pointer: fine) {
.position-card:hover .position-glow { opacity: 1; }
}

.positions-past-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.position-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.05rem 1.2rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 1px 2px rgba(11,19,30,.03);
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .35s ease, transform .35s var(--ease-out);
}
.position-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .08) 0%, rgba(var(--accent-rgb), .02) 50%, rgba(var(--gold-rgb), .06) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .35s ease;
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
.position-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 10px rgba(11,19,30,.04), 0 18px 36px -14px rgba(11,19,30,.14);
}
}
@media (hover: hover) and (pointer: fine) {
.position-row:hover::before {
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .3) 0%, rgba(var(--gold-rgb), .14) 50%, rgba(var(--gold-rgb), .34) 100%);
}
}
@media (hover: hover) and (pointer: fine) {
.position-row:hover .position-glow { opacity: 1; }
}
.position-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--bg-3);
  color: var(--ink-3);
  transition: background .3s ease, color .3s ease, transform .35s var(--ease-spring);
}
.position-row-icon svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
.position-row:hover .position-row-icon { background: var(--accent); color: #fff; transform: scale(1.1) rotate(-4deg); }
}
.position-row-body { min-width: 0; flex: 1; }
.position-row-title {
  font-size: .95rem;
  line-height: 1.32;
  letter-spacing: -.008em;
  margin: 0 0 .18rem;
  color: var(--ink);
  transition: color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.position-row:hover .position-row-title { color: var(--accent); }
}
.position-row-org { margin: 0; font-size: .78rem; line-height: 1.45; color: var(--ink-3); }
.position-row-date {
  flex: none;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  color: var(--ink-4);
  white-space: nowrap;
  transition: color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.position-row:hover .position-row-date { color: var(--gold-2); }
}

.pub-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-bottom: 2rem; }
.pub-search { position: relative; flex: 1 1 280px; min-width: 0; }
.pub-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-3);
  pointer-events: none;
}
.pub-search input {
  width: 100%;
  padding: .75rem 1rem .75rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--sh-xs);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pub-search input::placeholder { color: var(--ink-4); }
.pub-search input:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .08), 0 1px 0 rgba(255,255,255,.9) inset;
}

.pub-filters,
.alumni-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.pub-filters button,
.alumni-filters button {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .54rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s var(--ease-out), box-shadow .18s ease;
}
@media (hover: hover) and (pointer: fine) {
.pub-filters button:hover,
.alumni-filters button:hover {
  border-color: var(--gold-line);
  color: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}
}
.pub-filters button:disabled {
  opacity: .52;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.pub-filters button[aria-pressed="true"],
.alumni-filters button[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--accent-3), var(--accent));
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 8px 20px -6px rgba(21,48,92,.26);
}
.pub-filters .count,
.alumni-filters .count {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  padding: .05rem .36rem;
  border-radius: var(--r-full);
  background: var(--bg-3);
  color: var(--ink-3);
  transition: background .18s ease, color .18s ease;
}
.pub-filters button[aria-pressed="true"] .count,
.alumni-filters button[aria-pressed="true"] .count { background: rgba(255, 255, 255, .2); color: #fff; }

ol.pub-list { list-style: none; margin: 0; padding: 0; }
div.pub-list { display: block; }
.pub-year-group { margin-bottom: 2.8rem; }
.pub-year-group:last-child { margin-bottom: 0; }
.pub-year {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.1rem;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.pub-year::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .14);
  flex: none;
}
.pub-year::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent 85%); }

ol.pub-year-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

.pub {
  scroll-margin-top: 120px;
  position: relative;
  padding: 1.35rem 1.55rem 1.4rem 1.75rem;
  margin: 0;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(11,19,30,.04), 0 12px 32px -14px rgba(11,19,30,.08);
  isolation: isolate;
  overflow: hidden;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-tilt);
}
.pub::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .1) 0%, rgba(var(--accent-rgb), .02) 40%, rgba(var(--gold-rgb), .06) 70%, rgba(var(--gold-rgb), .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .5s ease;
  z-index: 3;
}
.pub::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent-line), var(--accent-3));
  transition: top .5s var(--ease-out), bottom .5s var(--ease-out), width .5s var(--ease-out), background .5s ease, box-shadow .5s ease;
}
.pub-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--gold-rgb), .18), rgba(var(--accent-rgb), .08) 40%, transparent 60%);
  transition: opacity .35s ease;
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
.pub:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 8px rgba(11,19,30,.05), 0 32px 64px -20px rgba(11,19,30,.18), 0 14px 32px -14px rgba(var(--gold-rgb), .22);
}
}
@media (hover: hover) and (pointer: fine) {
.pub:hover::before {
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .42) 0%, rgba(var(--accent-rgb), .14) 40%, rgba(var(--gold-rgb), .3) 70%, rgba(var(--gold-rgb), .6) 100%);
}
}
@media (hover: hover) and (pointer: fine) {
.pub:hover::after {
  top: .7rem;
  bottom: .7rem;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
  box-shadow: 0 0 22px rgba(var(--gold-rgb), .45);
}
}
@media (hover: hover) and (pointer: fine) {
.pub:hover .pub-glow { opacity: 1; }
}

.pub-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }

.badge {
  display: inline-block;
  padding: .22rem .6rem;
  border-radius: var(--r-full);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.pub:hover .badge { transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(11,19,30,.16); }
}
.badge-journal { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.badge-conf { background: var(--gold-soft); color: var(--gold-2); border-color: var(--gold-line); }
.badge-book { background: var(--green-soft); color: var(--green); border-color: var(--green-line); }
.badge-chapter { background: var(--plum-soft); color: var(--plum); border-color: var(--plum-line); }
.badge-letter { background: var(--bg-3); color: var(--ink-3); border-color: var(--line); }

.pub-title {
  position: relative;
  z-index: 1;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.38;
  margin: 0 0 .55rem;
  letter-spacing: -.008em;
  transition: color .3s ease, letter-spacing .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.pub:hover .pub-title { letter-spacing: -.012em; }
}
.pub-title a { color: var(--ink); text-decoration: none; transition: color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.pub-title a:hover { color: var(--accent); text-decoration: underline; }
}

.pub-authors {
  position: relative;
  z-index: 1;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 .4rem;
  transition: color .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.pub:hover .pub-authors { color: var(--ink-2); }
}
.pub-authors .me { font-weight: 700; color: var(--ink); }

.pub-cite { position: relative; z-index: 1; font-size: .8rem; line-height: 1.6; color: var(--ink-3); margin: 0; }
.pub-cite a { font-weight: 600; white-space: nowrap; color: var(--gold-2); transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.pub-cite a:hover { color: var(--gold); }
}
.pub-cite svg { display: inline-block; width: 11px; height: 11px; vertical-align: -1px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.pub-cite a:hover svg { transform: translate(2px, -2px); }
}

.no-results {
  list-style: none;
  padding: 2.6rem 1.6rem;
  text-align: center;
  color: var(--ink-3);
  font-size: .95rem;
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.contact-card {
  padding: 1.6rem 1.7rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
}
.contact-card h3 {
  position: relative;
  padding-bottom: .65rem;
  margin: 0 0 1rem;
  font-size: .72rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-soft));
}
.contact-card address,
.contact-card p {
  font-size: .93rem;
  line-height: 1.72;
  color: var(--ink-2);
  margin: 0 0 .65rem;
}
.contact-card p:last-child { margin-bottom: 0; }
.contact-card p > .email-row {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.contact-card .copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-3);
  cursor: pointer;
  vertical-align: middle;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s var(--ease-out);
}
.contact-card .copy-email svg { width: 12px; height: 12px; }
.contact-card .copy-email .check-icon { display: none; }
@media (hover: hover) and (pointer: fine) {
.contact-card .copy-email:hover { color: var(--gold-2); border-color: var(--gold-line); transform: translateY(-1px); }
}
.contact-card .copy-email.copied { color: var(--green); border-color: var(--green-line); background: var(--green-soft); }
.contact-card .copy-email.copied .copy-icon { display: none; }
.contact-card .copy-email.copied .check-icon { display: block; }

.map-thumb {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .08), var(--sh-xs);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.contact-card a:hover .map-thumb {
  transform: scale(1.015);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .16), var(--sh-md);
}
}

.socials { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.socials a {
  padding: .34rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--bg);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  box-shadow: var(--sh-xs);
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.socials a:hover {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-2);
  text-decoration: none;
  transform: translateY(-1px);
}
}

.site-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: clamp(3rem, 5.5vw, 4.2rem) 1.8rem;
  color: var(--ink-2);
  font-size: .88rem;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 88% -10%, rgba(var(--gold-rgb), .14), transparent 55%),
    radial-gradient(100% 140% at 8% 110%, rgba(var(--accent-rgb), .08), transparent 55%),
    linear-gradient(180deg, #fdf8eb 0%, #f9f1dc 45%, #f4ead2 100%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(var(--gold-rgb), .6) 30%, rgba(var(--gold-rgb), .6) 70%, transparent 95%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(var(--accent-rgb), .1);
}
.footer-brand p { margin: 0 0 .3rem; }
.footer-name {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.34rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.016em;
  padding-bottom: .5rem;
}
.footer-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-4));
}
.footer-role { margin-top: .55rem; font-size: .85rem; color: var(--ink-2); }
.footer-inst { font-size: .8rem; color: var(--ink-3); }

.footer-col h2 {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a {
  position: relative;
  display: inline-block;
  color: var(--ink-2);
  font-size: .85rem;
  text-decoration: none;
  transition: color .18s ease, padding .22s var(--ease-out);
}
.footer-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold-3);
  transform: translateY(-50%);
  transition: width .22s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.footer-col a:hover { color: var(--accent); padding-left: 14px; text-decoration: none; }
}
@media (hover: hover) and (pointer: fine) {
.footer-col a:hover::before { width: 10px; }
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
}
.footer-bottom p { margin: 0; font-size: .78rem; color: var(--ink-3); }

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-3), var(--accent) 55%, var(--accent-2));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 12px 28px -8px rgba(21,48,92,.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .24s ease, visibility .24s ease, transform .24s var(--ease-out), filter .2s ease, box-shadow .2s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) {
.back-to-top:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 18px 36px -8px rgba(21,48,92,.4);
}
}

.research-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.research-toc { position: sticky; top: 140px; }
.research-toc-label {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 .9rem;
}
.research-toc ul { list-style: none; margin: 0; padding: 0 0 0 1px; border-left: 1px solid var(--line); }
.research-toc li { margin: 0; }
.research-toc a {
  display: block;
  padding: .38rem 0 .38rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: .84rem;
  color: var(--ink-3);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, padding .18s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.research-toc a:hover { color: var(--ink); border-left-color: var(--line-2); padding-left: 1.15rem; text-decoration: none; }
}
.research-toc a.active { color: var(--accent); font-weight: 600; border-left-color: var(--gold-3); }
.research-content { min-width: 0; }
.research-content h1 { margin-bottom: 1rem; }
.research-content h2 { scroll-margin-top: 140px; }
.research-content .acc { scroll-margin-top: 140px; }

.topic-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}
.topic-list li {
  break-inside: avoid;
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: .55rem;
  font-size: .9rem;
  color: var(--ink-2);
}
.topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .14);
}

.acc {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.acc + .acc { margin-top: .6rem; }
.acc[open] { box-shadow: var(--sh-sm); }@media (hover: hover) and (pointer: fine) {
.acc:hover { box-shadow: var(--sh-sm); }
}
.acc-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.05rem 1.3rem;
  font-family: var(--serif);
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background .18s ease, color .18s ease;
}
.acc-head::-webkit-details-marker { display: none; }
.acc-head::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 1.6px solid var(--ink-4);
  border-bottom: 1.6px solid var(--ink-4);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .28s var(--ease-out), border-color .22s ease;
}
.acc[open] > .acc-head::after { transform: rotate(-135deg) translate(-1px, -1px); border-color: var(--gold-3); }
@media (hover: hover) and (pointer: fine) {
.acc-head:hover { background: var(--accent-soft); color: var(--accent); }
}
.acc-body { padding: 0 1.3rem 1.3rem; font-size: .95rem; color: var(--ink-2); }
.acc-body h4 {
  margin: 1.1rem 0 .45rem;
  font-size: .74rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.acc-body ul { margin: 0; padding-left: 1.1rem; }
.acc-body li { margin-bottom: .32rem; }
.acc-body li::marker { color: var(--gold-3); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.pill-list li {
  margin: 0;
  padding: .55rem 1.05rem;
  border-radius: var(--r-full);
  background: var(--surface);
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .07), var(--sh-xs);
  transition: color .22s ease, transform .22s var(--ease-out), box-shadow .22s ease;
}
@media (hover: hover) and (pointer: fine) {
.pill-list li:hover {
  color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .24), 0 8px 20px -6px rgba(var(--gold-rgb), .2);
}
}

.courses-hero {
  position: relative;
  padding-block: clamp(2.8rem, 6vw, 4.8rem) clamp(1.8rem, 3vw, 2.6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(110% 100% at 82% 8%, rgba(var(--gold-rgb), .09), transparent 58%),
    radial-gradient(100% 90% at 0% 100%, rgba(var(--accent-rgb), .06), transparent 55%);
}
.courses-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.courses-hero-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.courses-hero-title { font-size: clamp(2.3rem, 5.6vw, 3.6rem); letter-spacing: -.032em; margin: 0 0 .9rem; }
.courses-hero-lede { max-width: 58ch; font-size: 1.04rem; line-height: 1.72; color: var(--ink-2); margin-bottom: 2rem; }
.courses-stats { display: flex; flex-wrap: wrap; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.courses-stat { display: flex; flex-direction: column; gap: .18rem; margin: 0; position: relative; }
.courses-stat + .courses-stat::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: .1rem;
  bottom: .1rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}
.courses-stat-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.courses-stat-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.courses-hero-visual { flex: none; width: clamp(160px, 20vw, 210px); filter: drop-shadow(0 8px 32px rgba(var(--gold-rgb), .16)); }
.courses-hero-visual svg { width: 100%; height: auto; }

.courses-toolbar-v2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-bottom: 2.6rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.courses-search { position: relative; flex: 1 1 260px; min-width: 0; }
.courses-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-3);
  pointer-events: none;
}
.courses-search input {
  width: 100%;
  padding: .75rem 1rem .75rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--sh-xs);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.courses-search input::placeholder { color: var(--ink-4); }
.courses-search input:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .08), 0 1px 0 rgba(255,255,255,.9) inset;
}
.courses-tabs-v2 { display: flex; flex-wrap: wrap; gap: .35rem; }
.courses-tabs-v2 button {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .54rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s var(--ease-out), box-shadow .18s ease;
}
@media (hover: hover) and (pointer: fine) {
.courses-tabs-v2 button:hover {
  border-color: var(--gold-line);
  color: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}
}
.courses-tabs-v2 button[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--accent-3), var(--accent));
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 8px 20px -6px rgba(21,48,92,.26);
}
.courses-tabs-v2 .count {
  font-family: var(--mono);
  font-size: .68rem;
  padding: .05rem .36rem;
  border-radius: var(--r-full);
  background: var(--bg-3);
  color: var(--ink-3);
  transition: background .18s ease, color .18s ease;
}
.courses-tabs-v2 button[aria-pressed="true"] .count { background: rgba(255, 255, 255, .2); color: #fff; }
.courses-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .54rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s var(--ease-out), box-shadow .18s ease;
}
.courses-active-toggle .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
.courses-active-toggle:hover { border-color: var(--green-line); color: var(--green); transform: translateY(-1px); box-shadow: var(--sh-sm); }
}
.courses-active-toggle[aria-pressed="true"] { border-color: var(--green-line); background: var(--green-soft); color: var(--green); }
.courses-active-toggle[aria-pressed="true"] .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(43, 107, 74, .18); }

.course-group { margin-bottom: 3rem; }
.course-group:last-child { margin-bottom: 0; }
.course-group-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.course-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.course-group-icon svg { width: 22px; height: 22px; }
.course-group-text { min-width: 0; }
.course-group-title { font-size: 1.28rem; margin: 0 0 .12rem; letter-spacing: -.016em; }
.course-group-sub { margin: 0; font-size: .8rem; color: var(--ink-3); }
.course-group-count {
  flex: none;
  margin-left: auto;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  padding: .24rem .68rem;
  border-radius: var(--r-full);
  background: var(--bg-3);
  color: var(--ink-3);
}
.course-group-rule { display: none; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem 1.4rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.course-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
}
.course-card.is-active { background: linear-gradient(180deg, var(--green-soft), #ffffff 55%); }
.course-card-head { display: flex; align-items: center; justify-content: flex-end; margin-bottom: .9rem; }
.course-status {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .24rem .62rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
}
.course-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.course-status-active { background: rgba(43, 107, 74, .1); color: var(--green); border-color: var(--green-line); }
.course-status-active::before { box-shadow: 0 0 0 3px rgba(43, 107, 74, .18); }
.course-status-past { background: var(--bg-3); color: var(--ink-4); border-color: var(--line); }
.course-card-title { font-size: 1.08rem; line-height: 1.32; letter-spacing: -.012em; margin: 0 0 .55rem; }
.course-card-desc { font-size: .87rem; line-height: 1.62; color: var(--ink-3); margin: 0 0 1rem; flex: 1; }
.course-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--ink-3);
}
.course-card-range { font-family: var(--mono); font-weight: 500; color: var(--ink-2); }
.course-card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.course-card-duration { color: var(--ink-4); }
.course-card-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .95rem; }
.course-card-links a {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .34rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--bg);
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s var(--ease-out);
}
.course-card-links a svg { width: 11px; height: 11px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-card-links a:hover {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-2);
  transform: translateY(-1px);
  text-decoration: none;
}
}
@media (hover: hover) and (pointer: fine) {
.course-card-links a:hover svg { transform: translateX(2px); }
}

.courses-empty {
  padding: 4rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--ink-3);
}
.courses-empty strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .4rem;
}

.lab-hero {
  position: relative;
  padding-block: clamp(2.4rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.lab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 100% at 90% 10%, rgba(var(--gold-rgb), .1), transparent 58%),
    radial-gradient(70% 90% at 0% 100%, rgba(var(--accent-rgb), .07), transparent 55%);
  pointer-events: none;
}
.lab-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.lab-hero-content { min-width: 0; }
.lab-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lab-hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3));
}
.lab-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.034em;
  margin: 0 0 1rem;
  background: linear-gradient(175deg, var(--ink) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lab-hero-lede {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--ink-2);
  margin: 0 0 1.8rem;
  max-width: 52ch;
}
.lab-hero-lede em { font-style: italic; color: var(--accent); font-weight: 500; }

.lab-director {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.lab-director-photo {
  position: relative;
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 10px 26px -10px rgba(11,19,30,.24);
}
.lab-director-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lab-director-info { min-width: 0; flex: 1; }
.lab-director-eyebrow {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.lab-director-name {
  font-size: 1.2rem;
  letter-spacing: -.018em;
  line-height: 1.2;
  margin: 0 0 .2rem;
}
.lab-director-role {
  font-size: .82rem;
  color: var(--ink-3);
  margin: 0 0 .8rem;
}
.lab-director-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lab-director-links li { margin: 0; }
.lab-director-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .75rem;
  border-radius: var(--r-full);
  background: var(--bg-3);
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.lab-director-links a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
}

.lab-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-width: 0;
}
.course-card-live-note {
  display: flex;
  align-items: center;
  gap: .38rem;
  margin-top: .7rem;
  color: var(--ink-3);
  font-size: .68rem;
  line-height: 1.45;
}
.course-card-live-note > span {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.course-card-live-note strong { color: var(--ink); font-weight: 700; }

.course-hub-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(246,250,252,.98), rgba(255,255,255,.96));
  box-shadow: var(--sh-xs);
}
.course-hub-hero-main { min-width: 0; }
.course-hub-live { display: inline-flex; align-items: center; gap: .42rem; margin-bottom: .5rem; color: var(--green); font: 700 .63rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.course-hub-live > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--green-soft); }
.course-hub-hero-main > strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.18rem; line-height: 1.25; }
.course-hub-hero-main > p { max-width: 62ch; margin: .35rem 0 0; color: var(--ink-3); font-size: .74rem; line-height: 1.65; }
.course-hub-stats { display: grid; grid-template-columns: repeat(3,minmax(58px,1fr)); align-self: stretch; border-left: 1px solid var(--line); }
.course-hub-stats > div { display: grid; place-items: center; align-content: center; min-width: 64px; padding: .2rem .7rem; border-left: 1px solid transparent; }
.course-hub-stats strong { color: var(--ink); font: 700 1.05rem/1 var(--serif); }
.course-hub-stats span { margin-top: .3rem; color: var(--ink-4); font-size: .59rem; text-transform: uppercase; letter-spacing: .06em; }
.course-hub-next { margin-top: .75rem; padding: 1rem; border: 1px solid var(--accent-line); border-radius: 20px; background: linear-gradient(145deg, var(--accent-soft), rgba(255,255,255,.92)); }
.course-hub-next-head,
.course-hub-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.course-hub-next-head .course-dialog-label { margin: 0; }
.course-hub-next-badge { padding: .22rem .55rem; border: 1px solid var(--accent-line); border-radius: var(--r-full); background: rgba(255,255,255,.7); color: var(--accent); font-size: .6rem; font-weight: 800; }
.course-hub-next-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; margin-top: .7rem; }
.course-hub-next-item { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .62rem; align-items: center; min-width: 0; padding: .75rem; border: 1px solid rgba(30,75,112,.1); border-radius: 14px; background: rgba(255,255,255,.76); }
.course-hub-next-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--accent); box-shadow: 0 2px 10px rgba(18,48,79,.06); }
.course-hub-next-icon svg { width: 16px; height: 16px; }
.course-hub-next-item > div { min-width: 0; }
.course-hub-next-item span:not(.course-hub-next-icon) { display: block; color: var(--ink-4); font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; }
.course-hub-next-item strong { display: block; overflow: hidden; margin-top: .16rem; color: var(--ink); font-size: .72rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.course-hub-quick-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.course-hub-quick-links button,
.course-hub-text-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 34px; padding: .4rem .68rem; border: 1px solid var(--line); border-radius: var(--r-full); background: rgba(255,255,255,.82); color: var(--ink-2); font: inherit; font-size: .66rem; font-weight: 750; cursor: pointer; transition: transform .18s var(--ease-out), border-color .18s ease, color .18s ease, background .18s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-quick-links button:hover,
.course-hub-text-link:hover { transform: translateY(-1px); border-color: var(--accent-line); background: #fff; color: var(--accent); }
}
.course-hub-quick-links svg,
.course-hub-text-link svg { width: 13px; height: 13px; }
.course-hub-latest { margin-top: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--sh-xs); }
.course-hub-latest .course-dialog-label { margin-bottom: .35rem; }
.course-hub-latest h3 { margin: 0; font-size: .92rem; }
.course-hub-latest time { flex: none; color: var(--ink-4); font: 600 .63rem/1 var(--mono); }
.course-hub-latest > p { margin: .65rem 0 .7rem; color: var(--ink-3); font-size: .75rem; line-height: 1.65; }
.course-hub-latest .course-hub-text-link { padding-inline: 0; border: 0; background: transparent; color: var(--accent); }
.course-hub-latest.is-empty { background: linear-gradient(145deg, rgba(244,239,229,.46), rgba(255,255,255,.78)); }
.course-hub-empty { display: flex; align-items: flex-start; gap: .85rem; padding: 1.1rem; border: 1px dashed var(--line-strong); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(244,239,229,.48)); }
.course-hub-empty-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.course-hub-empty-icon svg { width: 20px; height: 20px; }
.course-hub-empty strong { display: block; color: var(--ink); font-size: .82rem; }
.course-hub-empty p { margin: .25rem 0 0; color: var(--ink-4); font-size: .72rem; line-height: 1.6; }
.course-roadmap { display: grid; gap: .6rem; }
.course-roadmap-item { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: .75rem; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.course-roadmap-marker { position: relative; width: 10px; height: 10px; margin-top: .28rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
.course-roadmap-item.current .course-roadmap-marker { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.course-roadmap-item.completed .course-roadmap-marker { border-color: var(--green); background: var(--green); }
.course-roadmap-meta { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--ink-4); font: 600 .61rem/1.3 var(--mono); }
.course-roadmap-meta span { color: var(--accent); }
.course-roadmap-item h4 { margin: .28rem 0 .15rem; font-size: .84rem; }
.course-roadmap-item p { margin: 0; color: var(--ink-3); font-size: .72rem; line-height: 1.55; }
.course-assignment-list { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.course-assignment-list .course-dialog-section-head { margin-bottom: .65rem; }
.course-assignment-list h3 { margin: 0; font-size: .95rem; }
.course-assignment-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.course-assignment-item + .course-assignment-item { margin-top: .55rem; }
.course-assignment-type { color: var(--accent); font: 700 .6rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.course-assignment-item h4 { margin: .3rem 0 .15rem; font-size: .83rem; }
.course-assignment-item p { margin: 0; color: var(--ink-4); font-size: .7rem; line-height: 1.5; }
.course-assignment-item time { display: grid; gap: .2rem; min-width: 84px; padding-left: .8rem; border-left: 1px solid var(--line); text-align: right; }
.course-assignment-item time small { color: var(--ink-4); font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; }
.course-assignment-item time strong { color: var(--ink); font-size: .7rem; }
.course-material-list { display: grid; gap: .55rem; }
.course-material-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .7rem; align-items: center; padding: .78rem .85rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: transform .18s var(--ease-out), border-color .18s ease, box-shadow .18s ease; }
@media (hover: hover) and (pointer: fine) {
.course-material-item:hover { transform: translateY(-1px); border-color: var(--accent-line); box-shadow: var(--sh-xs); text-decoration: none; }
}
.course-material-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.course-material-icon svg { width: 17px; height: 17px; }
.course-material-item strong { display: block; color: var(--ink); font-size: .78rem; }
.course-material-item small { display: block; margin-top: .15rem; color: var(--ink-4); font-size: .63rem; }
.course-material-item > svg { width: 15px; height: 15px; color: var(--accent); }

@media (max-width: 760px) {
  .course-hub-hero { grid-template-columns: 1fr; }
  .course-hub-stats { grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 0; padding-top: .7rem; }
  .course-hub-stats > div { min-width: 0; }
  .course-hub-next-grid { grid-template-columns: 1fr; }
  .course-assignment-item { grid-template-columns: 1fr; }
  .course-assignment-item time { justify-items: start; padding: .55rem 0 0; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
}
@media (max-width: 520px) {
  .course-hub-hero,
.course-hub-next,
.course-hub-latest { border-radius: 16px; }
  .course-hub-quick-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .course-hub-quick-links button { justify-content: space-between; }
  .course-hub-section-head { display: grid; }
}

.lab-constellation {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}
.lc-svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
}
.lc-canvas {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--gold-rgb), .1) 0%, rgba(var(--gold-rgb), .04) 30%, transparent 62%);
  z-index: 0;
  pointer-events: none;
  animation: lcAuraPulse 6s var(--ease-soft) infinite;
}
.lc-canvas::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--gold-rgb), .14) 60deg, transparent 140deg, rgba(var(--accent-rgb), .12) 220deg, transparent 300deg, rgba(var(--gold-rgb), .14) 360deg);
  filter: blur(28px);
  animation: lcSpinSlow 32s linear infinite;
}
.lc-rings circle { transform-origin: 240px 240px; }
.lc-ring-2 { animation: lcSpin 90s linear infinite; }
.lc-ring-3 { animation: lcSpin 60s linear infinite reverse; }
.lc-ring-gold { animation: lcSpin 140s linear infinite; }
.lc-ring-halo { animation: lcRingPulse 5s var(--ease-soft) infinite; transform-origin: 240px 240px; }
.lc-ring-halo-2 { animation: lcRingPulse 5s var(--ease-soft) infinite 1.6s; transform-origin: 240px 240px; }
.lc-conn {
  stroke: rgba(var(--accent-rgb), .22);
  stroke-width: 1.2;
  stroke-dasharray: 2 6;
  animation: lcFlow 4s linear infinite;
}
.lc-conn-active {
  stroke: rgba(var(--gold-rgb), .4);
  stroke-width: 1.4;
  animation-duration: 2.4s;
}
.lc-particles { transform: translate(240px, 240px); }
.lc-particle { opacity: 0; animation: lcTravel 6s var(--ease-soft) infinite; }
.lc-p1 { --tx: 0; --ty: -165; animation-delay: 0s; }
.lc-p2 { --tx: 106; --ty: -126; animation-delay: .65s; }
.lc-p3 { --tx: 163; --ty: -29; animation-delay: 1.3s; }
.lc-p4 { --tx: 143; --ty: 83; animation-delay: 1.95s; }
.lc-p5 { --tx: 56; --ty: 155; animation-delay: 2.6s; }
.lc-p6 { --tx: -56; --ty: 155; animation-delay: 3.25s; }
.lc-p7 { --tx: -143; --ty: 83; animation-delay: 3.9s; }
.lc-p8 { --tx: -162; --ty: -29; animation-delay: 4.55s; }
.lc-p9 { --tx: -106; --ty: -126; animation-delay: 5.2s; }
.lc-node { cursor: pointer; }
.lc-node-halo {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(.85);
  transition: opacity .3s ease, transform .3s var(--ease-out);
}
.lc-node-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.lc-node-bg {
  transform-box: fill-box;
  transform-origin: center;
  transition: filter .35s ease, transform .35s var(--ease-out), stroke .3s ease;
  filter: drop-shadow(0 4px 10px rgba(11,19,30,.08));
}
.lc-node-text {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-anchor: middle;
  fill: var(--accent);
  pointer-events: none;
  transition: fill .3s ease, font-size .3s ease;
}
.lc-node-glow { opacity: 0; transition: opacity .3s ease; transform-box: fill-box; transform-origin: center; }
.lc-hub-ring { transform-box: fill-box; transform-origin: center; }
.lc-hub-ring-1 { animation: lcPulse 4s var(--ease-soft) infinite; }
.lc-hub-ring-2 { animation: lcPulse 4s var(--ease-soft) infinite .9s; }
.lc-hub-ring-3 { animation: lcPulse 4s var(--ease-soft) infinite 1.8s; }
.lc-hub-aura { transform-box: fill-box; transform-origin: center; animation: lcHubAura 8s linear infinite; }
.lc-hub-body {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .4s var(--ease-out), filter .4s ease;
  filter: drop-shadow(0 8px 24px rgba(21,48,92,.35));
}
@media (hover: hover) and (pointer: fine) {
.lc-hub:hover .lc-hub-body {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 36px rgba(21,48,92,.5));
}
}
.lc-hub-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
  text-anchor: middle;
  fill: #fff;
}
.lc-hub-sub {
  font-family: var(--sans);
  font-size: 7.6px;
  font-weight: 600;
  letter-spacing: .24em;
  text-anchor: middle;
  fill: rgba(255, 255, 255, .7);
}

.lab-strip { position: relative; padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.lab-strip-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 1rem; }
.lab-strip-tile {
  position: relative;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.lab-strip-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
}
.lab-strip-title {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lab-strip-stats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lab-strip-stats-list li { display: flex; flex-direction: column; gap: .15rem; margin: 0; }
.lab-strip-stats-list strong {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.lab-strip-stats-list span {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.lab-strip-pulse-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.lab-strip-pulse-list li { position: relative; margin: 0; padding-left: 1rem; }
.lab-strip-pulse-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .14);
}
.lab-strip-pulse-date {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  color: var(--ink-4);
  margin-bottom: .1rem;
}
.lab-strip-pulse-text { font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
.lab-strip-pulse-text em { font-style: italic; color: var(--accent); }
.lab-strip-join {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--gold-rgb), .12), transparent 60%),
    linear-gradient(160deg, var(--accent-soft), #ffffff);
  display: flex;
  flex-direction: column;
}
.lab-strip-join .lab-strip-title { color: var(--accent); }
.lab-strip-join p { font-size: .88rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 1.1rem; flex: 1; }
.lab-strip-join .btn { width: 100%; }

.lab-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 1rem;
}
.lt-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem 1.55rem;
  background: linear-gradient(180deg, #ffffff, #fdfcf8);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: perspective(900px)
             rotateX(var(--tilt-x, 0deg))
             rotateY(var(--tilt-y, 0deg))
             translate3d(0, var(--tilt-lift, 0), 0);
  transition: box-shadow .35s var(--ease-out), transform .55s var(--ease-out);
  will-change: transform;
}
.lt-tile.is-tilting {
  transition: transform .12s linear;
}
@media (hover: hover) and (pointer: fine) {
.lt-tile:hover {
  --tilt-lift: -4px;
  box-shadow: var(--sh-md);
  text-decoration: none;
  color: inherit;
}
}
.lt-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.1rem;
  transition: background .3s ease, color .3s ease, transform .3s var(--ease-spring);
}
.lt-tile-icon svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
.lt-tile:hover .lt-tile-icon { background: var(--accent); color: #fff; transform: scale(1.06) rotate(-3deg); }
}
.lt-tile-code {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-2);
  padding: .22rem .58rem;
  border-radius: var(--r-full);
  background: var(--gold-soft);
}
.lt-tile-name { font-size: 1.02rem; line-height: 1.3; letter-spacing: -.012em; margin: 0 0 .5rem; color: var(--ink); }
.lt-tile-desc { font-size: .84rem; line-height: 1.6; color: var(--ink-3); margin: 0; }

.member-group { margin-top: 2.8rem; }
.member-group:first-of-type { margin-top: 0; }
.group-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.6rem; }
.group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.group-icon svg { width: 18px; height: 18px; }
.group-head h3 { margin: 0; font-size: 1.16rem; white-space: nowrap; letter-spacing: -.014em; }
.group-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent 85%); }

.students-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.3rem; }
.students-grid > .muted {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
}

.student-card {
  scroll-margin-top: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf6 55%, #fbf6ea 100%);
  border-radius: 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(11,19,30,.04), 0 20px 44px -18px rgba(11,19,30,.14), 0 8px 20px -10px rgba(var(--gold-rgb), .08);
  overflow: hidden;
  isolation: isolate;
  transform: perspective(1000px)
             rotateX(var(--tilt-x, 0deg))
             rotateY(var(--tilt-y, 0deg))
             translate3d(0, var(--tilt-lift, 0), 0);
  transition: box-shadow .45s var(--ease-out), transform .55s var(--ease-out);
  will-change: transform;
}
.student-card.is-tilting {
  transition: transform .12s linear;
}
.student-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(var(--accent-rgb), .14) 0%, rgba(var(--accent-rgb), .04) 30%, rgba(var(--gold-rgb), .1) 65%, rgba(var(--gold-rgb), .26) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .45s ease;
  z-index: 3;
}
.student-card::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -40%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), .16), transparent 62%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 0;
}
@media (hover: hover) and (pointer: fine) {
.student-card:hover {
  --tilt-lift: -6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 4px rgba(11,19,30,.05), 0 36px 76px -20px rgba(11,19,30,.22), 0 18px 40px -12px rgba(var(--gold-rgb), .22);
}
}
@media (hover: hover) and (pointer: fine) {
.student-card:hover::before {
  background: linear-gradient(155deg, rgba(var(--accent-rgb), .42) 0%, rgba(var(--accent-rgb), .14) 30%, rgba(var(--gold-rgb), .3) 65%, rgba(var(--gold-rgb), .7) 100%);
}
}
@media (hover: hover) and (pointer: fine) {
.student-card:hover::after { opacity: 1; }
}
.student-card.is-phd::after {
  background: radial-gradient(circle, rgba(var(--gold-rgb), .26), transparent 62%);
  opacity: .55;
}
@media (hover: hover) and (pointer: fine) {
.student-card.is-phd:hover::after { opacity: 1; }
}

.student-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity .4s ease;
  z-index: 2;
}
.student-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--gold-rgb), .18), rgba(var(--accent-rgb), .05) 45%, transparent 65%);
}
.student-glow::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(115deg,
    transparent 44%,
    rgba(255,255,255,.25) 48%,
    rgba(255,255,255,.5) 50%,
    rgba(255,255,255,.25) 52%,
    transparent 56%);
  transform: translate3d(calc((var(--sheen-x, .5) - .5) * 40%), calc((var(--sheen-y, .5) - .5) * 40%), 0);
  pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.student-card.is-tilting .student-glow::after {
  transition: transform .12s linear;
}
@media (hover: hover) and (pointer: fine) {
.student-card:hover .student-glow { opacity: 1; }
}

.student-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(225deg, rgba(var(--gold-rgb), .16) 0%, rgba(var(--gold-rgb), .04) 42%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.student-card.is-phd .student-corner {
  background: linear-gradient(225deg, rgba(var(--gold-rgb), .3) 0%, rgba(var(--gold-rgb), .1) 42%, transparent 72%);
}

.student-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.7rem 1.7rem 1.15rem;
}
.student-photo-wrap {
  position: relative;
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  isolation: isolate;
}
.student-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--accent-rgb), .6), rgba(var(--gold-rgb), .9), rgba(var(--accent-rgb), .4), rgba(var(--gold-rgb), .75), rgba(var(--accent-rgb), .6));
  opacity: .8;
  animation: avatarRingSpin 12s linear infinite;
  z-index: 0;
}
.student-photo-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  margin: 4px;
  border-radius: 50%;
  background: var(--surface);
  z-index: 0;
}
.student-photo {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-3);
  box-shadow: 0 0 0 2px var(--surface), 0 4px 12px rgba(11,19,30,.14);
}
.student-photo-ring { display: none; }

.student-live-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 6;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--surface), 0 2px 6px rgba(11,19,30,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.student-live-dot::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #6ee7b7 0%, #10b981 45%, #059669 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, .55);
  z-index: 2;
}
.student-live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--green-live);
  opacity: 0;
  animation: liveRipple 2.4s var(--ease-soft) infinite;
  z-index: 1;
}

.student-head-info { min-width: 0; flex: 1; }
.student-role-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .55rem;
  padding: .26rem .75rem .26rem .6rem;
  border-radius: var(--r-full);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 55%, #ffffff));
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12) inset;
}
.student-role-badge::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .85;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .18);
}
.student-card.is-phd .student-role-badge {
  background: linear-gradient(135deg, var(--gold-soft), color-mix(in srgb, var(--gold-soft) 55%, #ffffff));
  color: var(--gold-2);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .22) inset;
}
.student-card.is-phd .student-role-badge::before { box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .26); }
.student-name {
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -.022em;
  font-weight: 500;
  margin: 0 0 .32rem;
  color: var(--ink);
}
.student-area { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--ink-3); }
.student-time {
  display: inline-block;
  margin: 0 1.7rem 1.05rem;
  padding: .32rem .8rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .9);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  color: var(--ink-3);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .07) inset;
}
.student-block { margin: 0 1.7rem 1rem; }
.student-block:last-of-type { margin-bottom: .7rem; }
.student-block-label {
  display: block;
  margin-bottom: .65rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.student-interests { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.student-interests li {
  margin: 0;
  padding: .34rem .78rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .82);
  font-size: .72rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .06) inset;
  transition: background .3s ease, color .3s ease, transform .3s var(--ease-out), box-shadow .3s ease;
}
@media (hover: hover) and (pointer: fine) {
.student-card:hover .student-interests li {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .14) inset;
}
}
.student-seminar {
  margin: 0;
  font-size: .84rem;
  line-height: 1.62;
  color: var(--ink-2);
  font-style: italic;
  padding: 1rem 1.1rem 1rem 1.2rem;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(var(--gold-rgb), .09), rgba(var(--gold-rgb), .04));
  position: relative;
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .1) inset;
}
.student-seminar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
}
.student-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
  padding: 1.15rem 1.7rem 1.5rem;
  border-top: 1px solid rgba(var(--accent-rgb), .08);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .5));
}
.student-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .88rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .85);
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .07) inset;
  transition: background .22s ease, color .22s ease, transform .22s var(--ease-out), box-shadow .22s ease;
}
.student-links a svg { width: 12px; height: 12px; flex: none; transition: transform .3s var(--ease-spring); }
@media (hover: hover) and (pointer: fine) {
.student-links a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent) inset, 0 8px 18px -6px rgba(21,48,92,.32);
}
}
@media (hover: hover) and (pointer: fine) {
.student-links a:hover svg { transform: rotate(-8deg) scale(1.15); }
}

.alumni-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 2.4rem; }
.alumni-years { display: grid; gap: 2.6rem; }
.alumni-year-block { position: relative; }
.alumni-year-head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.1rem; }
.alumni-year-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.alumni-year-count {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.alumni-year-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent 92%); }
.alumni-year-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .6rem;
}
.alumni-entry {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0;
  padding: .85rem 1rem;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  transition: box-shadow .25s ease, transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.alumni-entry:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
}
.alumni-entry-photo {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-3);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .07);
}
.alumni-entry-info { min-width: 0; flex: 1; }
.alumni-entry-name { font-size: .93rem; line-height: 1.3; letter-spacing: -.008em; margin: 0 0 .22rem; }
.alumni-entry-degree {
  display: inline-block;
  padding: .14rem .5rem;
  border-radius: var(--r-full);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--bg-3);
  color: var(--ink-3);
}
.alumni-entry-degree[data-degree="PhD"] { background: var(--gold-soft); color: var(--gold-2); }
.alumni-entry-degree[data-degree="Master"] { background: var(--accent-soft); color: var(--accent); }
.alumni-entry-degree[data-degree="BSc"] { background: var(--green-soft); color: var(--green); }
.alumni-entry-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; }
.alumni-entry-links a { font-size: .7rem; font-weight: 600; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
.alumni-entry-links a:hover { color: var(--gold-2); }
}
.alumni-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink-3);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.lab-join {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.4rem, 4.5vw, 3.6rem);
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(var(--gold-rgb), .1), transparent 55%),
    linear-gradient(160deg, var(--accent-soft), #ffffff);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.lab-join-content { position: relative; z-index: 1; }
.lab-join-eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.lab-join-title { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.024em; margin: 0 0 .8rem; }
.lab-join-text { max-width: 58ch; font-size: .98rem; line-height: 1.72; color: var(--ink-2); margin-bottom: 1.7rem; }
.lab-join-actions { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; margin: 0; padding: 0; }
.lab-join-actions li { margin: 0; }
.lab-join-mark { position: relative; z-index: 1; flex: none; width: clamp(120px, 16vw, 160px); }
.lab-join-mark svg { width: 100%; height: auto; }

.error-page { display: flex; align-items: center; min-height: 62vh; padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.error-page .container { max-width: 680px; }
.error-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 17vw, 9rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.06em;
  margin: 1rem 0 1.2rem;
  background: linear-gradient(150deg, var(--accent-3), var(--accent-2) 55%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-title { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 .9rem; letter-spacing: -.016em; }
.error-text { max-width: 46ch; margin: 0 auto 2.2rem; font-size: 1rem; line-height: 1.72; color: var(--ink-3); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 2.2rem; }
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.error-links a { font-size: .85rem; font-weight: 600; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
.error-links a:hover { color: var(--gold-2); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(circle,
    rgba(120,130,150,.55) 0%,
    rgba(120,130,150,.22) 45%,
    transparent 72%);
  background: radial-gradient(circle,
    color-mix(in srgb, currentColor 65%, transparent) 0%,
    color-mix(in srgb, currentColor 25%, transparent) 45%,
    transparent 72%);
  transform: scale(0);
  opacity: 0;
  animation: rippleExpand 800ms cubic-bezier(.22,.61,.36,1) forwards;
  transform-origin: center center;
}

@keyframes heroDotPulse {
  0% { transform: scale(.85); opacity: .6; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes heroRingSpin { to { transform: rotate(360deg); } }
@keyframes avatarRingSpin { to { transform: rotate(360deg); } }
@keyframes livePulse {
  0% { transform: scale(.9); opacity: .9; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes liveRipple {
  0% { transform: scale(.4); opacity: .9; border-color: var(--green-live); }
  70% { transform: scale(2.1); opacity: 0; border-color: var(--green-live); }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes visionShimmer {
  0% { left: -20%; opacity: 0; }
  12% { opacity: 1; }
  55% { left: 120%; opacity: 1; }
  56% { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}
@keyframes eyebrowSweep {
  0% { transform: translateX(0) skewX(-20deg); opacity: 0; }
  10% { opacity: 1; }
  55% { opacity: 1; }
  75% { opacity: 0; }
  100% { transform: translateX(650%) skewX(-20deg); opacity: 0; }
}
@keyframes eyebrowTextShine {
  0% { background-position: 160% 50%; }
  100% { background-position: -80% 50%; }
}
@keyframes rippleExpand {
  0%   { transform: scale(0); opacity: .85; }
  55%  { opacity: .5; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes lcSpin { to { transform: rotate(360deg); } }
@keyframes lcSpinSlow { to { transform: rotate(360deg); } }
@keyframes lcFlow { to { stroke-dashoffset: -32; } }
@keyframes lcPulse {
  0% { transform: scale(1); opacity: .55; }
  60% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes lcRingPulse {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.02); }
}
@keyframes lcHubAura { to { transform: rotate(360deg); } }
@keyframes lcAuraPulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes lcTravel {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: .95; }
  75% { opacity: .95; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}

@media (max-width: 1360px) {
  .section-rail { display: none; }
}

@media (max-width: 1140px) {
  .lab-strip-grid { grid-template-columns: 1fr 1fr; }
  .lab-strip-join { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  html { font-size: 16.5px; }
  .research-layout { grid-template-columns: minmax(0, 1fr); }
  .research-toc { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
  .research-toc ul { display: flex; flex-wrap: wrap; gap: .35rem; border-left: 0; padding-left: 0; }
  .research-toc a { padding: .34rem .75rem; border-left: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface); margin-left: 0; }
  @media (hover: hover) and (pointer: fine) {
.research-toc a:hover { padding-left: .75rem; }
}
  .research-toc a.active { background: var(--accent-soft); border-color: var(--accent-line); }
  .lab-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lab-hero-visual { order: -1; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .search-trigger-label { display: none; }
  .search-trigger { padding: .5rem; border-radius: var(--r-md); }
  .primary-nav {
    position: absolute;
    top: calc(100% + .5rem);
    right: clamp(1rem, 3vw, 2rem);
    left: clamp(1rem, 3vw, 2rem);
    padding: .65rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s var(--ease-out), visibility .22s ease;
    max-height: var(--nav-available-height, calc(100vh - var(--header-h) - 16px));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    pointer-events: none;
  }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .primary-nav a { display: flex; width: 100%; justify-content: flex-start; min-height: 48px; padding: .72rem 2.25rem .72rem .9rem; border-radius: var(--r-md); font-size: .92rem; }
  .primary-nav a::before { inset: 1px; border-radius: calc(var(--r-md) - 1px); }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"]::after { display: block; left: auto; right: .9rem; top: 50%; bottom: auto; width: 3px; height: 18px; transform: translateY(-50%); background: linear-gradient(180deg, var(--accent), var(--gold-3)); box-shadow: none; }
  .primary-nav a:focus-visible { transform: none; }@media (hover: hover) and (pointer: fine) {
.primary-nav a:hover { transform: none; }
}
  .primary-nav a:focus-visible .nav-icon { transform: none; }@media (hover: hover) and (pointer: fine) {
.primary-nav a:hover .nav-icon { transform: none; }
}
  .primary-nav a:active { transform: scale(.99); }
  .primary-nav .nav-cta { margin-left: 0; margin-top: .35rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-portrait { order: -1; width: clamp(180px, 30vw, 240px); margin-inline: auto; }
  .hero-content { width: min(100%, 760px); margin-inline: auto; }
  .courses-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .courses-hero-visual { order: -1; width: 140px; margin-inline: auto; }
  .lab-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lab-hero-visual { order: -1; width: min(100%, 430px); margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9rem; }
  .footer-brand { grid-column: 1 / -1; }
  .positions-current-grid,
.positions-past-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .container { padding-inline: 1.1rem; }
  .section { padding-block: 3.25rem; }
  .section-head { align-items: flex-start; }
  .research-toc { overflow-x: auto; overscroll-behavior-inline: contain; }
  .research-toc ul { flex-wrap: nowrap; width: max-content; }
  .research-toc a { white-space: nowrap; }
  .lab-strip-grid { grid-template-columns: 1fr; }
  .lab-join { grid-template-columns: minmax(0, 1fr); }
  .lab-join-mark { display: none; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .students-grid { grid-template-columns: minmax(0, 1fr); }
  .alumni-year-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub-toolbar,
.courses-toolbar-v2 { align-items: stretch; }
  .pub-search,
.courses-search { flex-basis: 100%; }
}

@media (max-width: 640px) {
  html { font-size: 16px; scroll-padding-top: 96px; }
  body { font-size: 16px; line-height: 1.64; }
  .container { padding-inline: 1rem; }
  .header-inner { gap: .45rem; min-height: 68px; }
  .brand { min-width: 0; gap: .65rem; }
  .brand-mark { width: 48px; height: 48px; border-radius: 13px; }
  .brand-mark img { width: 38px; height: 38px; }
  .brand-full { font-size: 1.04rem; white-space: nowrap; }
  .header-right { gap: .35rem; }
  .search-trigger { width: 44px; height: 44px; justify-content: center; }
  .nav-toggle { width: 44px; height: 44px; }
  .primary-nav { right: .75rem; left: .75rem; }
  .hero { padding-block: 1.2rem 2.6rem; }
  .hero-grid { gap: 1.6rem; }
  .eyebrow-hero { max-width: 100%; }
  .eyebrow-hero-text { min-width: 0; }
  .hero-portrait { width: min(58vw, 210px); }
  .hero-title { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .hero-role { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-cta { flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; }
  .hero-cta .btn { width: 100%; }
  
  
  .section { padding-block: 2.8rem; }
  .section-head { gap: .9rem; margin-bottom: 1.35rem; }
  .section-head h2 { max-width: 100%; }
  .pub { padding: 1.15rem 1.1rem 1.2rem; }
  .pub-head { align-items: flex-start; }
  .pub-title { font-size: 1.04rem; line-height: 1.4; }
  .pub-cite { font-size: .76rem; }
  .pub-toolbar,
.courses-toolbar-v2 { flex-direction: column; }
  .palette-foot { align-items: flex-start; flex-wrap: wrap; }
  .palette-count { margin-inline-start: auto; }
  .palette { top: 4.5vh; width: min(100vw - 1rem, 690px); max-height: 86vh; border-radius: var(--r-lg); }
  .palette-head { padding: .85rem .85rem; gap: .55rem; }
  .palette-input { font-size: .96rem; }
  .palette-input-meta { font-size: .6rem; }
  .palette-esc { min-width: 44px; min-height: 36px; }
  .palette-body { padding-inline: .35rem; }
  .palette-item { gap: .62rem; padding: .68rem .55rem; }
  .palette-item-icon { width: 32px; height: 32px; }
  .palette-item-title { white-space: normal; line-height: 1.35; }
  .palette-item-desc { white-space: normal; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pub-filters,
.alumni-filters,
.courses-tabs-v2 { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .2rem; scrollbar-width: thin; }
  .lab-subnav a,
.lab-director-links a,
.socials a,
.course-card-links a,
.student-links a { min-height: 40px; }
  .pub-filters button,
.alumni-filters button,
.courses-tabs-v2 button { flex: 0 0 auto; }
  .course-grid,
.students-grid,
.alumni-year-items,
.lab-themes-grid { grid-template-columns: minmax(0, 1fr); }
  .course-group-head { align-items: flex-start; }
  .course-group-sub { max-width: 36ch; }
  .course-card { padding: 1.15rem 1.15rem 1.2rem; }
  .courses-stats { gap: 1rem 1.25rem; }
  .courses-stat + .courses-stat::before { left: -.65rem; }
  .courses-stat-num { font-size: 1.45rem; }
  .courses-stat-label { font-size: .62rem; letter-spacing: .1em; }
  .lab-hero { padding-block: 2rem 2.3rem; }
  .lab-hero-visual { width: min(100%, 340px); }
  .lab-hero-title { font-size: clamp(2.15rem, 10vw, 3rem); }
  .lab-director { padding: 1.15rem; }
  .lab-director-links { gap: .3rem; }
  .lab-director-links a { font-size: .68rem; padding-inline: .62rem; }
  .lab-subnav-inner { gap: .25rem; }
  .lab-subnav a { padding: .45rem .7rem; font-size: .72rem; }
  .student-head { gap: .85rem; padding: 1.25rem 1.15rem .9rem; }
  .student-photo-wrap,
.student-photo { width: 76px; height: 76px; }
  .student-time { margin-inline: 1.15rem; }
  .student-block { margin-inline: 1.15rem; }
  .student-links { padding-inline: 1.15rem; }
  .alumni-year-head { gap: .6rem; }
  .alumni-year-count { white-space: normal; }
  .lab-join { padding: 2rem 1.25rem; border-radius: var(--r-xl); }
  .error-page { min-height: 58vh; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 380px) {
  .brand-full { font-size: .98rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { width: 35px; height: 35px; }
  
  
  .courses-stats { gap: .8rem 1rem; }
}



@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
*::before,
*::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .vision-ribbon-inner::after { display: none !important; }
  .eyebrow-hero::after { display: none !important; }
  .eyebrow-hero-text,
.ehw-initial,
.ehw-of {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
    animation: none !important;
  }
  .ehw-initial { color: var(--gold) !important; -webkit-text-fill-color: var(--gold) !important; }
  .ehw-of { color: var(--ink-4) !important; -webkit-text-fill-color: var(--ink-4) !important; }
  .eyebrow-hero-text { color: var(--ink-3) !important; -webkit-text-fill-color: var(--ink-3) !important; }
  .lab-constellation * { animation: none !important; }
  .student-card,
.position-card,
.lt-tile { transform: none !important; }
  .student-glow::after { display: none !important; }
  .ripple { display: none !important; }
}

@media print {
  .site-header,
.site-footer,
.back-to-top,
.palette,
.palette-backdrop,
.section-rail,
.search-trigger,
.nav-toggle,
.lab-subnav,
.scroll-progress,
.vision-ribbon { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .container { max-width: none; padding: 0; }
  .section { padding-block: 1rem; break-inside: avoid; }
  .pub,
.entry,
.course-card,
.student-card,
.contact-card,
.alumni-entry,
.lab-strip-tile,
.lt-tile,
.lab-director,
.position-card,
.position-row { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .student-photo-wrap::before,
.student-photo-wrap::after,
.student-live-dot,
.position-card-pulse { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
.entry-list-spaced { margin-top: 1.5rem; }
.positions-current-spaced { margin-top: 2rem; }
.acc-spaced { margin-top: 2.5rem; }
.list-indented { padding-left: 1.2rem; }
.eyebrow-center { justify-content: center; display: inline-flex; }
.pub-intro { font-size: 1.05rem; max-width: 60ch; }
.pub-toolbar-spaced { margin-top: 2rem; }
.section-title-spaced { margin-top: 3.5rem; }
.research-area-grid { display: grid; gap: .75rem; margin-top: 1.5rem; }
.topic-list-spaced { margin-top: 1.5rem; }
.lab-compact-lede { margin-top: -1rem; margin-bottom: 2rem; font-size: 1rem; }
.lc-node-ring-spin { animation: lcSpin 22s linear infinite; transform-box: fill-box; transform-origin: center; }

body { overflow-x: clip; }
.no-js .search-trigger,
.no-js .nav-toggle,
.no-js .pub-toolbar,
.no-js .pub-results-status,
.no-js .courses-toolbar-v2,
.no-js .alumni-toolbar,
.no-js .js-loading { display: none !important; }
.no-js .alumni-year-num { margin: 0; }
@media (max-width: 1140px) {
  .no-js .site-header { position: static; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: .6rem; }
  .no-js .header-right { width: 100%; }
  .no-js .primary-nav { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; max-height: none; overflow: visible; pointer-events: auto; }
  .no-js .primary-nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .primary-nav a { padding: .55rem .65rem; }
}
.container,
.header-inner,
.hero-grid,
.research-layout,
.courses-hero-inner,
.lab-hero-grid { min-width: 0; }

.pub-title,
.pub-authors,
.pub-cite,
.course-card-title,
.student-name,
.student-area,
.student-seminar,
.alumni-entry-name,
.lab-hero-lede,
.courses-hero-lede,
.hero-role,
.position-card-title,
.position-row-title { overflow-wrap: anywhere; }


.pub-year-label { font-size: .82rem; }
.pub-search-clear {
  position: absolute;
  right: .5rem;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-4);
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
.pub-search-clear:hover {
  background: var(--bg-3);
  color: var(--ink);
}
}
.pub-search-clear:focus-visible {
  outline: 2px solid var(--accent-line);
  outline-offset: 2px;
}
.pub-search-clear svg { width: 16px; height: 16px; }
.pub-year-filter {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  min-height: 42px;
  padding: .25rem .75rem .25rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-3);
  box-shadow: var(--sh-xs);
  font-size: .78rem;
  font-weight: 600;
}
.pub-year-filter select {
  min-width: 116px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.pub-results-status {
  min-height: 1.2em;
  margin: -1.2rem 0 1.45rem;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .03em;
}
@media (max-width: 820px) {
  .pub-year-filter { flex: 1 1 180px; }
  .pub-year-filter select { flex: 1; min-width: 0; }
}
@media (max-width: 640px) {
  .pub-search,
.pub-year-filter { width: 100%; }
  .pub-year-filter { justify-content: space-between; }
  .pub-results-status { margin-top: -1rem; margin-bottom: 1.1rem; }
}

.eyebrow-hero-text { text-transform: none; }
.ehw-word,
.ehw-of { text-transform: none; }





.course-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem; margin-top: .95rem; }
.course-card-actions .course-card-links { margin-top: 0; }
.course-card-profile,
.course-dialog-resource {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 38px;
  padding: .4rem .78rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  font: inherit;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.course-card-profile svg,
.course-dialog-resource svg { width: 12px; height: 12px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-card-profile:hover,
.course-dialog-resource:hover { transform: translateY(-1px); background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-2); text-decoration: none; box-shadow: var(--sh-xs); }
}
@media (hover: hover) and (pointer: fine) {
.course-card-profile:hover svg,
.course-dialog-resource:hover svg { transform: translateX(2px); }
}
.course-card.has-profile { cursor: default; }

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(.8rem, 3vw, 2rem);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.course-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.course-modal-backdrop { position: absolute; inset: 0; background: rgba(11,19,30,.56); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.course-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--r-2xl);
  background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
  box-shadow: 0 30px 90px rgba(11,19,30,.24), 0 2px 0 rgba(255,255,255,.9) inset;
  transform: translateY(12px) scale(.985);
  transition: transform .28s var(--ease-out);
  outline: none;
}
.course-modal.is-open .course-dialog { transform: none; }
.course-dialog-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.course-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink-2);
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease-out), background .2s ease, color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
.course-modal-close:hover { transform: rotate(4deg); background: var(--gold-soft); color: var(--gold-2); }
}
.course-dialog-head { padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.3rem, 4vw, 2.8rem) 1.5rem; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 0 0, rgba(197,138,47,.12), transparent 42%); }
.course-dialog-kicker { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .7rem; color: var(--gold-2); font-family: var(--mono); font-size: .67rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.course-dialog-title { margin: 0; }
.course-dialog-head h2 { max-width: 760px; margin: 0 3rem .9rem 0; font-size: clamp(1.7rem, 4vw, 2.45rem); line-height: 1.12; }
.course-dialog-meta { display: flex; flex-wrap: wrap; gap: .45rem; color: var(--ink-3); font-size: .76rem; }
.course-dialog-meta > span { display: inline-flex; align-items: center; min-height: 30px; padding: .28rem .65rem; border: 1px solid var(--line); border-radius: var(--r-full); background: rgba(255,255,255,.72); }
.course-dialog-meta .course-dialog-status.is-live { border-color: var(--green-line); background: var(--green-soft); color: var(--green); font-weight: 700; }
.course-dialog-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr); gap: 0; }
.course-dialog-main { min-width: 0; padding: 1.55rem clamp(1.3rem, 4vw, 2.8rem) 2rem; }
.course-dialog-aside { min-width: 0; padding: 1.55rem clamp(1.15rem, 3vw, 1.7rem) 2rem; border-left: 1px solid var(--line); background: rgba(244,239,229,.38); }
.course-dialog-section + .course-dialog-section { margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.course-dialog-label { display: block; margin-bottom: .55rem; color: var(--gold-2); font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.course-dialog-section > p { max-width: 66ch; margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.78; }
.course-dialog-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.course-dialog-section-note { margin: 0; color: var(--ink-4); font-size: .76rem; }
.course-dialog-panel { padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.72); box-shadow: var(--sh-xs); }
.course-dialog-panel + .course-dialog-panel { margin-top: .8rem; }
.course-dialog-panel dl { margin: 0; }
.course-dialog-panel dl > div { display: grid; grid-template-columns: 1fr; gap: .12rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.course-dialog-panel dl > div:first-child { border-top: 0; padding-top: 0; }
.course-dialog-panel dl > div:last-child { padding-bottom: 0; }
.course-dialog-panel dt { color: var(--ink-4); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.course-dialog-panel dd { margin: 0; color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.course-dialog-resource { width: 100%; justify-content: space-between; margin-top: .45rem; padding-inline: .72rem; }
.course-dialog-resource:first-child { margin-top: 0; }
.course-dialog-empty { margin: 0; color: var(--ink-4); font-size: .76rem; line-height: 1.55; }
.course-announcement-empty { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface-2); }
.course-announcement-empty-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--bg-3); color: var(--gold-3); font-size: 1.3rem; line-height: 1; }
.course-announcement-empty strong { display: block; margin-bottom: .1rem; font-size: .82rem; }
.course-announcement-empty p { margin: 0; color: var(--ink-4); font-size: .74rem; }
.course-announcement + .course-announcement { margin-top: .65rem; }
.course-announcement { padding: 1rem 1.05rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.course-announcement.is-important { border-color: var(--gold-line); background: var(--gold-soft); }
.course-announcement-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .45rem; color: var(--ink-4); font-family: var(--mono); font-size: .63rem; }
.course-announcement-top span { padding: .16rem .5rem; border-radius: var(--r-full); background: rgba(160,107,26,.12); color: var(--gold-2); font-family: var(--sans); font-weight: 700; letter-spacing: .03em; }
.course-announcement h3 { margin: 0 0 .25rem; font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.course-announcement p { margin: 0; color: var(--ink-3); font-size: .78rem; line-height: 1.6; }

@media (max-width: 760px) {
  .course-dialog { max-height: 92vh; border-radius: var(--r-xl); }
  .course-dialog-grid { grid-template-columns: minmax(0, 1fr); }
  .course-dialog-aside { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .course-dialog-head { padding-right: 4.4rem; }
}

@media (max-width: 640px) {
  
  
  .course-card-actions { align-items: stretch; flex-direction: column; }
  .course-card-actions .course-card-links { width: 100%; }
  .course-card-profile,
.course-card-links a { width: 100%; justify-content: space-between; }
  .course-modal { padding: .5rem; }
  .course-dialog { width: 100%; max-height: 94vh; border-radius: var(--r-lg); }
  .course-modal-close { top: .7rem; right: .7rem; width: 38px; height: 38px; }
  .course-dialog-head { padding: 1.25rem 3.8rem 1.1rem 1rem; }
  .course-dialog-head h2 { margin-right: 0; font-size: 1.55rem; }
  .course-dialog-main { padding: 1.2rem 1rem 1.4rem; }
  .course-dialog-aside { padding: 1rem; }
  .course-dialog-meta { gap: .3rem; }
  .course-dialog-meta > span { font-size: .68rem; }
}

.eyebrow-hero-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .42em;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.35;
  text-transform: none;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.ehw-word,
.ehw-of {
  display: inline-block;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  white-space: nowrap;
}
.ehw-of { font-weight: 500; }
.eyebrow-hero-text .ehw-word:first-child { font-size: 1.02em; }





.course-portal-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: .25rem;
  padding: .55rem clamp(1rem, 3vw, 1.65rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: auto;
  scrollbar-width: none;
}
.course-portal-tabs::-webkit-scrollbar { display: none; }
.course-portal-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 38px;
  padding: .45rem .82rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover { color: var(--ink); background: var(--surface-2); }
}
.course-portal-tab[aria-selected="true"] {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.course-portal-content { min-width: 0; }
.course-portal-panel { min-width: 0; }
.course-portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr);
}
.course-portal-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.65rem clamp(1.1rem, 4vw, 2.7rem) 1rem;
}
.course-portal-panel-head h3 { margin: 0 0 .28rem; font-size: 1.18rem; }
.course-portal-panel-head p { margin: 0; max-width: 62ch; color: var(--ink-4); font-size: .78rem; line-height: 1.55; }
.course-portal-panel-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.course-portal-panel-icon svg { width: 19px; height: 19px; }
.course-portal-panel > #course-modal-announcements,
.course-portal-panel > #course-modal-syllabus,
.course-portal-panel > #course-modal-resources { padding: 0 clamp(1.1rem, 4vw, 2.7rem) 2rem; }
.course-portal-quick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: .55rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: .76rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.course-portal-quick:first-of-type { border-top: 0; }
.course-portal-quick svg { width: 14px; height: 14px; color: var(--accent); transition: transform .18s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-portal-quick:hover { color: var(--accent); }
}
@media (hover: hover) and (pointer: fine) {
.course-portal-quick:hover svg { transform: translateX(3px); }
}
.course-contact-section { margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.course-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  min-height: 40px;
  padding: .48rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--sh-xs);
}
@media (hover: hover) and (pointer: fine) {
.course-contact-link:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); text-decoration: none; }
}
.course-contact-link svg { width: 15px; height: 15px; color: var(--accent); }
.course-syllabus-viewer { min-width: 0; }
.course-syllabus-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}
.course-syllabus-toolbar strong { display: block; margin-bottom: .1rem; font-size: .8rem; }
.course-syllabus-toolbar span { display: block; color: var(--ink-4); font-size: .7rem; }
.course-syllabus-download {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  flex: none;
  min-height: 38px;
  padding: .45rem .72rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-full);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(var(--accent-rgb), .18);
}
@media (hover: hover) and (pointer: fine) {
.course-syllabus-download:hover { color: #fff; transform: translateY(-1px); text-decoration: none; box-shadow: 0 10px 24px rgba(var(--accent-rgb), .24); }
}
.course-syllabus-download svg { width: 15px; height: 15px; }
.course-syllabus-frame {
  height: min(68vh, 680px);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #f4f5f7;
  box-shadow: var(--sh-xs);
}
.course-syllabus-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.course-syllabus-fallback { margin: .55rem 0 0; color: var(--ink-4); font-size: .68rem; line-height: 1.5; }
.course-syllabus-fallback a { color: var(--accent); font-weight: 700; }
.course-syllabus-unavailable {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.15rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}
.course-syllabus-unavailable-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--ink-3);
}
.course-syllabus-unavailable-icon svg { width: 18px; height: 18px; }
.course-syllabus-unavailable strong { display: block; margin-bottom: .18rem; font-size: .8rem; }
.course-syllabus-unavailable p { margin: 0; color: var(--ink-4); font-size: .73rem; line-height: 1.55; }

@media (max-width: 760px) {
  .course-portal-grid { grid-template-columns: minmax(0, 1fr); }
  .course-portal-grid .course-dialog-aside { border-top: 1px solid var(--line); border-left: 0; }
  .course-portal-panel-head { padding-top: 1.25rem; }
  .course-syllabus-frame { height: 62vh; min-height: 360px; }
}
@media (max-width: 640px) {
  .eyebrow-hero-text { gap: .32em; font-size: .7rem; letter-spacing: .01em; }
  .course-portal-tabs { padding-inline: .65rem; }
  .course-portal-tab { min-height: 36px; padding-inline: .68rem; }
  .course-portal-panel-head { padding-inline: 1rem; }
  .course-portal-panel > #course-modal-announcements,
.course-portal-panel > #course-modal-syllabus,
.course-portal-panel > #course-modal-resources { padding-inline: 1rem; }
  .course-syllabus-toolbar { align-items: flex-start; flex-direction: column; }
  .course-syllabus-download { width: 100%; justify-content: center; }
  .course-syllabus-frame { height: 58vh; min-height: 330px; }
}

.eyebrow-hero-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .2em .5em;
  color: var(--ink);
  letter-spacing: .045em;
  text-transform: none;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
.eyebrow-hero-text .ehw-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
}
.eyebrow-hero-text .ehw-word > span:last-child {
  font-size: .82em;
  letter-spacing: .055em;
}
.eyebrow-hero-text .ehw-initial {
  display: inline-block;
  margin-right: -.015em;
  color: var(--ink);
  font-size: 1.18em;
  font-weight: 800;
  line-height: .9;
  letter-spacing: .01em;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.eyebrow-hero-text .ehw-of {
  display: inline-block;
  color: var(--ink-3);
  font-size: .72em;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1;
  text-transform: lowercase;
  -webkit-text-fill-color: currentColor;
}
















.course-dialog-head {
  padding-bottom: 1.35rem;
  background:
    radial-gradient(circle at 0 0, rgba(197,138,47,.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,247,242,.96));
}
.course-dialog-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.course-dialog-kicker { gap: .65rem; }
.course-portal-tabs {
  padding-block: .7rem;
  border-bottom-color: var(--line-strong);
  box-shadow: 0 6px 18px rgba(20,30,40,.045);
}
.course-portal-tab {
  min-height: 42px;
  padding-inline: 1rem;
}
.course-portal-tab[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), rgba(255,255,255,.96));
  box-shadow: inset 0 -2px 0 var(--accent);
}
.course-portal-panel-head {
  padding-top: 1.9rem;
}
.course-portal-panel-head h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); letter-spacing: -.015em; }
.course-portal-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--accent-soft), rgba(255,255,255,.9));
  box-shadow: var(--sh-xs);
}
.course-portal-grid { gap: 1.35rem; padding: 1.2rem clamp(1.1rem, 4vw, 2.7rem) 2rem; }
.course-dialog-main { padding: 0; }
.course-dialog-aside { padding: 0; border-left: 0; background: transparent; }
.course-dialog-section { margin: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: var(--sh-xs); }
.course-dialog-section + .course-dialog-section { margin-top: 1rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.course-dialog-section > p { font-size: .94rem; }
.course-dialog-panel { padding: 1.25rem; border-radius: 20px; background: linear-gradient(145deg, rgba(244,239,229,.58), rgba(255,255,255,.8)); }
.course-dialog-panel + .course-dialog-panel { margin-top: 1rem; }
.course-portal-quick { min-height: 50px; padding-block: .7rem; }
.course-portal-quick + .course-portal-quick { border-top-color: rgba(17,28,42,.09); }
.course-portal-quick span { display: flex; align-items: center; gap: .55rem; }
.course-portal-quick span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.course-contact-link { min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 700; }

.course-syllabus-viewer { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #f5f3ee; box-shadow: var(--sh-sm); }
.course-syllabus-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.course-syllabus-toolbar > div { min-width: 0; display: grid; gap: .18rem; }
.course-syllabus-toolbar strong { color: var(--ink); font-size: .86rem; }
.course-syllabus-toolbar span { color: var(--ink-4); font-size: .7rem; }
.course-syllabus-download { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-width: 124px; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-size: .74rem; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(var(--accent-rgb), .18); transition: transform .18s var(--ease-out), box-shadow .18s ease, background .18s ease; }
@media (hover: hover) and (pointer: fine) {
.course-syllabus-download:hover { background: var(--gold-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(var(--accent-rgb), .24); text-decoration: none; }
}
.course-syllabus-download svg { width: 18px; height: 18px; }
.course-syllabus-frame { min-height: 58vh; background: #ebe9e3; }
.course-syllabus-frame iframe { display: block; width: 100%; height: 58vh; min-height: 520px; border: 0; background: #fff; }
.course-syllabus-fallback { margin: 0; padding: .75rem 1rem; color: var(--ink-4); font-size: .7rem; line-height: 1.5; background: rgba(255,255,255,.78); border-top: 1px solid var(--line); }
.course-syllabus-fallback a { font-weight: 700; }
.course-syllabus-unavailable { display: flex; align-items: center; gap: 1rem; padding: 1.35rem; border: 1px dashed var(--line-strong); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(244,239,229,.6)); }
.course-syllabus-unavailable-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 15px; background: var(--accent-soft); color: var(--accent); }
.course-syllabus-unavailable-icon svg { width: 22px; height: 22px; }
.course-syllabus-unavailable strong { display: block; margin-bottom: .25rem; color: var(--ink); font-size: .86rem; }
.course-syllabus-unavailable p { margin: 0; color: var(--ink-4); font-size: .73rem; line-height: 1.55; }
.course-card-link.syllabus-link { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.course-card-link.syllabus-link svg { width: 16px; height: 16px; }

@media (max-width: 820px) {
  .course-portal-grid { grid-template-columns: 1fr; }
  .course-syllabus-frame,
.course-syllabus-frame iframe { height: 62vh; min-height: 460px; }
}
@media (max-width: 640px) {
  .eyebrow-hero-text { gap: .16em .38em; letter-spacing: .02em; }
  .eyebrow-hero-text .ehw-word > span:last-child { font-size: .76em; letter-spacing: .035em; }
  .eyebrow-hero-text .ehw-initial { font-size: 1.14em; }
  .eyebrow-hero-text .ehw-of { font-size: .68em; }
  
  .course-portal-panel-head { padding-top: 1.35rem; }
  .course-portal-panel-head p { font-size: .72rem; }
  .course-portal-grid { padding-inline: 1rem; }
  .course-syllabus-toolbar { align-items: stretch; flex-direction: column; }
  .course-syllabus-download { width: 100%; }
  .course-syllabus-frame,
.course-syllabus-frame iframe { height: 68vh; min-height: 420px; }
  .course-syllabus-unavailable { align-items: flex-start; }
}

.course-portal-dashboard { margin-bottom: 1rem; }
.course-portal-status-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: .85rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,239,229,.62));
  box-shadow: var(--sh-xs);
}
.course-portal-status-card.is-live { border-color: var(--green-line); background: linear-gradient(135deg, rgba(237,249,242,.96), rgba(255,255,255,.9)); }
.course-portal-status-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--surface-2); }
.course-portal-status-card.is-live .course-portal-status-mark { background: var(--green-soft); }
.course-portal-status-mark span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-4); }
.course-portal-status-card.is-live .course-portal-status-mark span { background: var(--green); box-shadow: 0 0 0 5px rgba(45,138,91,.1); }
.course-portal-status-card strong { display: block; margin-bottom: .18rem; color: var(--ink); font-size: .84rem; }
.course-portal-status-card p { margin: 0; color: var(--ink-4); font-size: .72rem; line-height: 1.55; }
.course-portal-action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin-top: .7rem; }
.course-portal-action {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .78rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: transform .18s var(--ease-out), border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
@media (hover: hover) and (pointer: fine) {
.course-portal-action:hover { transform: translateY(-2px); border-color: var(--accent-line); background: #fff; box-shadow: var(--sh-sm); }
}
.course-portal-action-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; }
.course-portal-action-icon svg { width: 18px; height: 18px; }
.course-portal-action-icon.announcements { color: #b36b20; background: rgba(230,155,68,.12); }
.course-portal-action-icon.syllabus { color: #4169a1; background: rgba(65,105,161,.1); }
.course-portal-action-icon.resources { color: #397d65; background: rgba(57,125,101,.1); }
.course-portal-action span:nth-child(2) { min-width: 0; }
.course-portal-action strong { display: block; overflow: hidden; color: var(--ink); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.course-portal-action small { display: block; margin-top: .12rem; color: var(--ink-4); font-size: .63rem; }
.course-portal-action-arrow { width: 15px; height: 15px; color: var(--accent); transition: transform .18s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-portal-action:hover .course-portal-action-arrow { transform: translateX(3px); }
}

@media (max-width: 820px) {
  .course-portal-action-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .course-portal-status-card { align-items: flex-start; }
  .course-portal-action { min-height: 60px; }
}












.course-dialog-aside { background: linear-gradient(180deg, rgba(244,239,229,.5), rgba(248,246,241,.28)); }
.course-live-indicator { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); font: 700 .67rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.course-live-indicator span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); animation: courseLivePulse 2s ease-in-out infinite; }
.course-portal-live-panel h3 { margin: .85rem 0 .45rem; font-size: 1.12rem; }
.course-portal-live-panel p { margin: 0 0 1rem; color: var(--ink-3); font-size: .78rem; line-height: 1.65; }
.course-contact-card > strong { display: block; margin-bottom: .2rem; font-size: .92rem; }
.course-contact-card > span:not(.course-dialog-label) { display: block; color: var(--ink-4); font-size: .74rem; line-height: 1.5; }
.course-contact-card #course-modal-contact { margin-top: .85rem; }
@keyframes courseLivePulse { 50% { box-shadow: 0 0 0 8px rgba(42,107,74,0); } }


.lab-constellation {
  --lab-blue: #12304f;
  --lab-blue-rgb: 18,48,79;
  --lab-cyan: #46b8c9;
  --lab-cyan-rgb: 70,184,201;
  --lab-gold: #c79a55;
  --lab-gold-rgb: 199,154,85;
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  isolation: isolate;
  overflow: visible;
  border-radius: 50%;
  filter: drop-shadow(0 22px 40px rgba(var(--lab-blue-rgb), .07));
}
.lab-constellation::before {
  content: "";
  position: absolute;
  inset: 3.5%;
  border: 1px solid rgba(var(--lab-blue-rgb), .09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38), 0 0 70px rgba(var(--lab-cyan-rgb), .055);
  pointer-events: none;
  z-index: 1;
}
.lab-constellation::after {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  background: radial-gradient(circle 170px at var(--pointer-x,50%) var(--pointer-y,50%), rgba(var(--lab-cyan-rgb), .09), transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: .8;
  transition: opacity .3s ease;
}
.lc-canvas {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--lab-cyan-rgb), .075), rgba(var(--lab-blue-rgb), .025) 38%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: lcAuraPulse 7s var(--ease-soft) infinite;
}
.lc-canvas::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: conic-gradient(from 10deg, transparent 0 20%, rgba(var(--lab-cyan-rgb), .09) 28%, transparent 40% 58%, rgba(var(--lab-gold-rgb), .07) 68%, transparent 78% 100%);
  filter: blur(24px);
  animation: lcSpinSlow 38s linear infinite;
}
.lc-svg { position: relative; z-index: 2; width: 100%; height: 100%; overflow: visible; isolation: isolate; }
.lc-rings { opacity: .76; }
.lc-ring-1 { stroke: rgba(var(--lab-blue-rgb), .07); }
.lc-ring-2 { stroke: rgba(var(--lab-blue-rgb), .10); animation: lcSpin 110s linear infinite; }
.lc-ring-3 { stroke: rgba(var(--lab-cyan-rgb), .09); animation: lcSpin 74s linear infinite reverse; }
.lc-ring-gold { opacity: .58; stroke: url(#lcRingGold); animation: lcSpin 160s linear infinite; }
.lc-ring-halo { stroke: rgba(var(--lab-cyan-rgb), .12); animation: lcRingPulse 6s var(--ease-soft) infinite; }
.lc-ring-halo-2 { stroke: rgba(var(--lab-gold-rgb), .10); animation: lcRingPulse 6s var(--ease-soft) infinite 2s; }
.lc-conn {
  stroke: rgba(var(--lab-blue-rgb), .18);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-dasharray: 1.5 8;
  animation: labMapFlow 6.5s linear infinite;
  transition: stroke .3s ease, stroke-width .3s ease, opacity .3s ease, filter .3s ease;
}
.lc-conn.is-active {
  stroke: rgba(var(--lab-cyan-rgb), .88);
  stroke-width: 2;
  stroke-dasharray: 2 5;
  animation-duration: 1.9s;
  filter: drop-shadow(0 0 5px rgba(var(--lab-cyan-rgb), .28));
}
.has-active-node .lc-conn:not(.is-active) { opacity: .22; }
.lc-particles { transform: translate(240px,240px); }
.lc-particle {
  fill: var(--lab-cyan);
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(var(--lab-cyan-rgb), .45));
  animation: lcTravel 6.8s var(--ease-soft) infinite;
}
.has-active-node .lc-particle { opacity: .38; }
.lc-node { cursor: pointer; outline: none; transition: opacity .32s ease, filter .32s ease; }
.lc-node.is-dimmed { opacity: .36; filter: saturate(.68); }
.lc-node.is-active { opacity: 1; filter: drop-shadow(0 12px 25px rgba(var(--lab-cyan-rgb), .16)); }
.lc-node-bg {
  stroke: rgba(var(--lab-blue-rgb), .28);
  stroke-width: 1.35;
  filter: drop-shadow(0 6px 13px rgba(9,27,51,.10));
  transition: transform .38s cubic-bezier(.2,.8,.2,1), stroke .28s ease, stroke-width .28s ease, filter .32s ease;
}
.lc-node:focus .lc-node-bg,
.lc-node.is-active .lc-node-bg {
  transform: scale(1.1);
  stroke: var(--lab-cyan);
  stroke-width: 2.15;
  filter: drop-shadow(0 9px 20px rgba(var(--lab-cyan-rgb), .26));
}@media (hover: hover) and (pointer: fine) {
.lc-node:hover .lc-node-bg {
  transform: scale(1.1);
  stroke: var(--lab-cyan);
  stroke-width: 2.15;
  filter: drop-shadow(0 9px 20px rgba(var(--lab-cyan-rgb), .26));
}
}
.lc-node-halo { stroke: rgba(var(--lab-cyan-rgb), .64); stroke-width: 1.4; opacity: .36; transition: opacity .32s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.lc-node-ring { stroke: rgba(var(--lab-gold-rgb), .82); opacity: .34; transition: opacity .3s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.lc-node:focus .lc-node-halo,
.lc-node.is-active .lc-node-halo { opacity: 1; transform: scale(1.045); }@media (hover: hover) and (pointer: fine) {
.lc-node:hover .lc-node-halo { opacity: 1; transform: scale(1.045); }
}
.lc-node:focus .lc-node-ring,
.lc-node.is-active .lc-node-ring { opacity: 1; transform: scale(1.055) rotate(12deg); }@media (hover: hover) and (pointer: fine) {
.lc-node:hover .lc-node-ring { opacity: 1; transform: scale(1.055) rotate(12deg); }
}
.lc-node-glow { opacity: .24; transition: opacity .3s ease, transform .4s ease; }
.lc-node:focus .lc-node-glow,
.lc-node.is-active .lc-node-glow { opacity: .78; transform: scale(1.08); }@media (hover: hover) and (pointer: fine) {
.lc-node:hover .lc-node-glow { opacity: .78; transform: scale(1.08); }
}
.lc-node-text { fill: var(--lab-blue); font-size: 12.2px; font-weight: 750; letter-spacing: .075em; transition: fill .24s ease, letter-spacing .3s ease; }
.lc-node:focus .lc-node-text,
.lc-node.is-active .lc-node-text { fill: #176b79; letter-spacing: .09em; }@media (hover: hover) and (pointer: fine) {
.lc-node:hover .lc-node-text { fill: #176b79; letter-spacing: .09em; }
}
.lc-node:focus-visible .lc-node-bg { stroke: var(--lab-gold); stroke-width: 2.8; }
.lc-hub-body { stroke: rgba(255,255,255,.9); stroke-width: 1.4; filter: drop-shadow(0 13px 28px rgba(var(--lab-blue-rgb), .30)); transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
.has-active-node .lc-hub-body { transform: scale(1.04); filter: drop-shadow(0 16px 34px rgba(var(--lab-blue-rgb), .38)); }
.lc-hub-ring-1 { stroke: rgba(var(--lab-gold-rgb), .26); }
.lc-hub-ring-2 { stroke: rgba(var(--lab-cyan-rgb), .58); }
.lc-hub-ring-3 { opacity: .62; }
.lc-hub-aura { opacity: .68; }
.lc-hub-text { font-size: 18.5px; letter-spacing: .11em; }
.lc-hub-sub { font-size: 7px; letter-spacing: .2em; }
.lab-node-callout {
  position: absolute;
  z-index: 30;
  width: clamp(210px, 22vw, 246px);
  min-height: 60px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: .68rem;
  padding: .68rem .76rem;
  border: 1px solid rgba(var(--lab-cyan-rgb), .30);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.975), rgba(245,250,250,.94));
  box-shadow: 0 20px 46px rgba(9,27,51,.14), 0 3px 12px rgba(9,27,51,.06), inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter: blur(15px) saturate(1.1);
  -webkit-backdrop-filter: blur(15px) saturate(1.1);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0,0,0) scale(.95);
  transition: opacity .16s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility 0s linear .16s;
  will-change: left, top, opacity, transform;
}
.lab-node-callout.is-visible { opacity: 1; visibility: visible; transform: translate3d(0,0,0) scale(1); transition-delay: 0s; }
.lab-node-callout::before { content:""; position:absolute; width:9px; height:9px; background:#f8fbfb; border-left:1px solid rgba(var(--lab-cyan-rgb),.3); border-top:1px solid rgba(var(--lab-cyan-rgb),.3); }
.lab-node-callout::after { content:""; position:absolute; width:18px; height:1px; background:linear-gradient(90deg, rgba(var(--lab-cyan-rgb),.08), rgba(var(--lab-cyan-rgb),.65)); box-shadow:0 0 8px rgba(var(--lab-cyan-rgb),.12); }
.lab-node-callout[data-side="right"]::before { left:-5px; top:50%; transform:translateY(-50%) rotate(-45deg); }
.lab-node-callout[data-side="left"]::before { right:-5px; top:50%; transform:translateY(-50%) rotate(135deg); }
.lab-node-callout[data-side="bottom"]::before { top:-5px; left:50%; transform:translateX(-50%) rotate(45deg); }
.lab-node-callout[data-side="top"]::before { bottom:-5px; left:50%; transform:translateX(-50%) rotate(225deg); }
.lab-node-callout[data-side="right"]::after { left:-18px; top:50%; }
.lab-node-callout[data-side="left"]::after { right:-18px; top:50%; transform:scaleX(-1); }
.lab-node-callout[data-side="bottom"]::after { left:50%; top:-18px; width:1px; height:18px; background:linear-gradient(180deg, rgba(var(--lab-cyan-rgb),.08), rgba(var(--lab-cyan-rgb),.65)); }
.lab-node-callout[data-side="top"]::after { left:50%; bottom:-18px; width:1px; height:18px; background:linear-gradient(180deg, rgba(var(--lab-cyan-rgb),.65), rgba(var(--lab-cyan-rgb),.08)); }
.lab-node-callout-code { min-width:38px; height:30px; padding-inline:.48rem; display:inline-grid; place-items:center; border:1px solid rgba(var(--lab-gold-rgb),.28); border-radius:9px; background:linear-gradient(145deg, rgba(var(--lab-gold-rgb),.16), rgba(var(--lab-gold-rgb),.055)); color:#805f2b; font:750 .61rem/1 var(--mono); letter-spacing:.1em; box-shadow:inset 0 1px 0 rgba(255,255,255,.78); }
.lab-node-callout-name { min-width:0; color:var(--lab-blue); font:650 .78rem/1.28 var(--sans); letter-spacing:-.006em; }
@keyframes labMapFlow { to { stroke-dashoffset:-28; } }
@keyframes labMapLiveDot { 0%,100% { transform:scale(.82); opacity:.68; } 50% { transform:scale(1); opacity:1; } }
@media (max-width: 760px) {
  .lab-constellation { max-width: 430px; }
  .lab-node-callout { width:min(194px,55vw); min-height:52px; padding:.6rem .66rem; border-radius:13px; gap:.52rem; }
  .lab-node-callout-name { font-size:.69rem; }
  .lab-node-callout-code { min-width:32px; height:26px; font-size:.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-ring-2,
.lc-ring-3,
.lc-ring-gold,
.lc-ring-halo,
.lc-ring-halo-2,
.lc-conn,
.lc-particle,
.lc-hub-ring-1,
.lc-hub-ring-2,
.lc-hub-ring-3,
.lc-hub-aura,
.lc-canvas,
.lc-canvas::before { animation:none !important; }
  .lab-node-callout,
.lc-node,
.lc-node-bg,
.lc-node-halo,
.lc-node-ring,
.lc-node-glow,
.lc-hub-body { transition:none !important; }
}

.course-hub-dashboard { display: grid; gap: .9rem; }
.course-hub-welcome { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: 1rem; min-height: 220px; padding: 1.25rem 1.3rem; border: 1px solid rgba(22,55,85,.11); border-radius: 24px; background: linear-gradient(135deg,#f8fbff 0%,#edf6f7 55%,#f8f4eb 100%); box-shadow: 0 14px 38px rgba(22,55,85,.08); }
.course-hub-welcome.is-live { border-color: rgba(45,138,91,.22); background: linear-gradient(135deg,#f7fcf9 0%,#eef9f3 55%,#f9f5ed 100%); }
.course-hub-welcome-glow { position:absolute; width:220px; height:220px; right:-80px; top:-95px; border-radius:50%; background: radial-gradient(circle,rgba(70,184,201,.22),transparent 68%); pointer-events:none; }
.course-hub-welcome-copy { position:relative; z-index:1; min-width:0; }
.course-hub-eyebrow { display:inline-flex; align-items:center; gap:.45rem; margin-bottom:.55rem; color:var(--green); font:700 .62rem/1 var(--mono); letter-spacing:.09em; text-transform:uppercase; }
.course-hub-eyebrow i { width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 0 5px rgba(45,138,91,.1); animation:courseLivePulse 2s ease-in-out infinite; }
.course-hub-title-row { display:flex; align-items:center; gap:.55rem; flex-wrap:wrap; }
.course-hub-title-row h3 { margin:0; color:var(--ink); font-size:1.28rem; letter-spacing:-.02em; }
.course-hub-term { padding:.28rem .55rem; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.65); color:var(--ink-3); font-size:.62rem; font-weight:750; }
.course-hub-welcome p { max-width:58ch; margin:.55rem 0 .9rem; color:var(--ink-3); font-size:.76rem; line-height:1.65; }
.course-hub-primary { display:inline-flex; align-items:center; gap:.55rem; min-height:43px; padding:.55rem .72rem; border:1px solid var(--accent); border-radius:13px; background:var(--accent); color:#fff; font:800 .72rem var(--sans); cursor:pointer; box-shadow:0 9px 20px rgba(var(--accent-rgb),.2); transition:transform .2s var(--ease-out),box-shadow .2s ease,filter .2s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-primary:hover { transform:translateY(-2px); filter:saturate(1.08); box-shadow:0 13px 26px rgba(var(--accent-rgb),.27); }
}
.course-hub-primary svg:last-child { width:15px; height:15px; transition:transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-hub-primary:hover svg:last-child { transform:translateX(3px); }
}
.course-hub-primary-icon { display:grid; place-items:center; width:27px; height:27px; border-radius:9px; background:rgba(255,255,255,.16); }
.course-hub-primary-icon svg { width:15px; height:15px; }
.course-hub-orbit { align-self:center; justify-self:end; position:relative; display:grid; place-items:center; width:96px; height:96px; border:1px solid rgba(70,184,201,.3); border-radius:50%; background:radial-gradient(circle,rgba(70,184,201,.16),rgba(255,255,255,.2) 48%,transparent 70%); box-shadow:inset 0 0 0 10px rgba(255,255,255,.2); animation:courseOrbitFloat 5s ease-in-out infinite; }
.course-hub-orbit::before,
.course-hub-orbit::after { content:""; position:absolute; border:1px solid rgba(70,184,201,.18); border-radius:50%; }
.course-hub-orbit::before { inset:13px; }
.course-hub-orbit::after { inset:-8px; border-style:dashed; animation:courseOrbitSpin 18s linear infinite; }
.course-hub-orbit span { width:13px; height:13px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 7px rgba(var(--accent-rgb),.11),0 0 28px rgba(var(--accent-rgb),.32); }
.course-hub-orbit b { position:absolute; bottom:12px; padding:.16rem .4rem; border-radius:999px; background:rgba(255,255,255,.82); color:var(--ink-3); font:800 .5rem var(--mono); letter-spacing:.08em; }
.course-hub-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem; }
.course-hub-metric { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:.6rem; min-width:0; padding:.72rem; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); text-align:left; cursor:pointer; box-shadow:var(--sh-xs); transition:transform .2s var(--ease-out),border-color .2s ease,box-shadow .2s ease,background .2s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover { transform:translateY(-2px); border-color:var(--accent-line); background:#fff; box-shadow:var(--sh-sm); }
}
.course-hub-metric-icon,
.course-hub-action-icon { display:grid; place-items:center; width:38px; height:38px; flex:none; border-radius:12px; }
.course-hub-metric-icon svg,
.course-hub-action-icon svg { width:18px; height:18px; }
.course-hub-metric-icon.updates,
.course-hub-action-icon.updates { color:#a56719; background:rgba(230,155,68,.12); }
.course-hub-metric-icon.materials,
.course-hub-action-icon.materials { color:#237d72; background:rgba(62,167,149,.12); }
.course-hub-metric-icon.schedule,
.course-hub-action-icon.schedule { color:#3567a1; background:rgba(68,112,174,.11); }
.course-hub-metric-icon.syllabus,
.course-hub-action-icon.syllabus { color:#7257a8; background:rgba(120,91,175,.11); }
.course-hub-metric > span:nth-child(2) { min-width:0; }
.course-hub-metric strong { display:block; font-size:.86rem; }
.course-hub-metric small { display:block; margin-top:.08rem; color:var(--ink-4); font-size:.6rem; }
.course-hub-metric em { grid-column:1 / -1; display:none; color:var(--accent); font-style:normal; font-size:.59rem; font-weight:800; }
.course-hub-actions { padding:1rem; border:1px solid var(--line); border-radius:20px; background:linear-gradient(180deg,#fff,rgba(248,246,241,.72)); }
.course-hub-actions-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:.75rem; }
.course-hub-actions-head .course-dialog-label { margin-bottom:.22rem; }
.course-hub-actions-head h3 { margin:0; font-size:1rem; }
.course-hub-published { flex:none; padding:.3rem .5rem; border:1px solid var(--line); border-radius:999px; color:var(--ink-4); font-size:.6rem; }
.course-hub-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
.course-hub-action-grid button { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.65rem; min-width:0; padding:.72rem; border:1px solid var(--line); border-radius:15px; background:var(--surface); color:var(--ink-2); font:inherit; text-align:left; cursor:pointer; transition:transform .2s var(--ease-out),border-color .2s ease,box-shadow .2s ease,background .2s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover { transform:translateY(-2px); border-color:var(--accent-line); background:#fff; box-shadow:var(--sh-xs); }
}
.course-hub-action-grid button > span:nth-child(2) { min-width:0; }
.course-hub-action-grid strong { display:block; overflow:hidden; color:var(--ink); font-size:.72rem; text-overflow:ellipsis; white-space:nowrap; }
.course-hub-action-grid small { display:block; margin-top:.12rem; color:var(--ink-4); font-size:.6rem; line-height:1.35; }
.course-hub-action-grid > button > svg { width:15px; height:15px; color:var(--accent); transition:transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover > svg { transform:translateX(3px); }
}
.course-hub-latest-card { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.85rem; padding:1rem; border:1px solid rgba(199,154,85,.28); border-radius:19px; background:linear-gradient(135deg,rgba(255,250,239,.94),rgba(255,255,255,.92)); }
.course-hub-latest-card.is-empty { border-style:dashed; border-color:var(--line-2); background:var(--surface-2); }
.course-hub-latest-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:rgba(199,154,85,.13); color:var(--gold-2); }
.course-hub-latest-icon svg { width:19px; height:19px; }
.course-hub-latest-copy { min-width:0; }
.course-hub-latest-copy > div { display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.course-hub-latest-copy .course-dialog-label { margin:0; }
.course-hub-latest-copy time { color:var(--ink-4); font:600 .6rem var(--mono); }
.course-hub-latest-copy h3 { margin:.3rem 0 .3rem; font-size:.88rem; }
.course-hub-latest-copy p { margin:0; color:var(--ink-3); font-size:.71rem; line-height:1.6; }
.course-hub-inline-link { display:inline-flex; align-items:center; gap:.3rem; margin-top:.55rem; padding:0; border:0; background:none; color:var(--accent); font:800 .66rem var(--sans); cursor:pointer; }
.course-hub-inline-link svg { width:13px; height:13px; transition:transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-hub-inline-link:hover svg { transform:translateX(3px); }
}
@keyframes courseOrbitFloat { 50% { transform:translateY(-4px) rotate(2deg); } }
@keyframes courseOrbitSpin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .course-hub-orbit,
.course-hub-orbit::after { animation:none; } .course-hub-eyebrow i { animation:none; } }
@media (max-width:820px) { .course-hub-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) {
  .course-hub-welcome { grid-template-columns:minmax(0,1fr); min-height:0; padding:1rem; border-radius:20px; }
  .course-hub-orbit { position:absolute; right:-18px; bottom:-25px; width:92px; height:92px; opacity:.55; }
  .course-hub-title-row h3 { font-size:1.1rem; }
  .course-hub-primary { width:100%; justify-content:center; }
  .course-hub-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; }
  .course-hub-metric { grid-template-columns:auto 1fr; padding:.62rem; }
  .course-hub-metric em { display:block; grid-column:2; margin-top:-.2rem; }
  .course-hub-actions { padding:.8rem; border-radius:18px; }
  .course-hub-actions-head { align-items:flex-start; flex-direction:column; gap:.45rem; }
  .course-hub-action-grid { grid-template-columns:1fr; }
  .course-hub-action-grid button { min-height:64px; }
  .course-hub-latest-card { grid-template-columns:auto minmax(0,1fr); padding:.85rem; }
  .course-hub-latest-copy > div { align-items:flex-start; flex-direction:column; gap:.25rem; }
}

.course-portal-grid { display:block; }
.course-portal-grid .course-dialog-main { width:100%; max-width:none; }
.course-portal-panel-head p { display:none; }
.course-hub-dashboard { gap:1rem; }
.course-hub-welcome { overflow:hidden; position:relative; isolation:isolate; min-height:210px; grid-template-columns:minmax(0,1fr) 128px; border-color:rgba(31,83,111,.16); background:linear-gradient(135deg,#f8fbff 0%,#eef7f8 52%,#fbf6ed 100%); box-shadow:0 18px 48px rgba(19,48,79,.09); }
.course-hub-welcome::after { content:""; position:absolute; inset:0; background:linear-gradient(115deg,transparent 15%,rgba(255,255,255,.58) 45%,transparent 72%); transform:translateX(-120%); animation:courseHubSweep 7s ease-in-out infinite; pointer-events:none; }
.course-hub-welcome.is-live { border-color:rgba(45,138,91,.22); }
.course-hub-welcome-copy { position:relative; z-index:2; }
.course-hub-eyebrow { letter-spacing:.13em; }
.course-hub-title-row h3 { font-size:clamp(1.35rem,3vw,1.8rem); }
.course-hub-termline { display:flex; align-items:center; gap:.4rem; flex-wrap:wrap; margin:.25rem 0 1rem; color:var(--ink-4); font:600 .61rem var(--mono); }
.course-hub-termline strong { color:var(--accent); font-weight:800; letter-spacing:.05em; }
.course-hub-primary { min-height:46px; border-radius:15px; box-shadow:0 10px 26px rgba(var(--accent-rgb),.22); }
@media (hover: hover) and (pointer: fine) {
.course-hub-primary:hover { transform:translateY(-3px) scale(1.01); box-shadow:0 16px 34px rgba(var(--accent-rgb),.29); }
}
.course-hub-primary:active { transform:translateY(-1px) scale(.99); }
.course-hub-orbit { width:108px; height:108px; animation:courseOrbitFloat 4s ease-in-out infinite; }
.course-hub-orbit span { animation:courseHubCorePulse 2.4s ease-in-out infinite; }
.course-hub-metrics { gap:.65rem; }
.course-hub-metric { position:relative; overflow:hidden; min-height:76px; border-radius:18px; transition:transform .25s var(--ease-out),box-shadow .25s ease,border-color .25s ease,background .25s ease; }
.course-hub-metric::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease-out); background:currentColor; opacity:.55; }
.course-hub-metric:focus-visible::after { transform:scaleX(1); }@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover::after { transform:scaleX(1); }
}
@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(19,48,79,.11); }
}
.course-hub-metric:focus-visible,
.course-hub-action-grid button:focus-visible,
.course-hub-ta-card a:focus-visible { outline:3px solid rgba(var(--accent-rgb),.18); outline-offset:2px; }
.course-hub-metric-icon,
.course-hub-action-icon { transition:transform .3s var(--ease-out),box-shadow .3s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover .course-hub-metric-icon { transform:rotate(-5deg) scale(1.08); box-shadow:0 8px 18px rgba(19,48,79,.08); }
}
.course-hub-metric.updates { color:#a56719; }
.course-hub-metric.materials { color:#237d72; }
.course-hub-metric.schedule { color:#3567a1; }
.course-hub-metric.syllabus { color:#7257a8; }
.course-hub-actions { border-radius:22px; padding:1.05rem; box-shadow:0 10px 30px rgba(19,48,79,.055); }
.course-hub-action-grid button { min-height:76px; border-radius:17px; transition:transform .25s var(--ease-out),border-color .25s ease,box-shadow .25s ease,background .25s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover { transform:translateY(-4px); box-shadow:0 12px 26px rgba(19,48,79,.1); }
}
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover .course-hub-action-icon { transform:scale(1.08) rotate(-4deg); }
}
.course-hub-action-icon { transition:transform .28s var(--ease-out),box-shadow .28s ease; }
.course-hub-action-grid > button > svg { transition:transform .28s var(--ease-out); }
.course-hub-ta { padding:1.05rem; border:1px solid var(--line); border-radius:22px; background:linear-gradient(180deg,#fff,rgba(248,246,241,.72)); box-shadow:0 10px 30px rgba(19,48,79,.045); }
.course-hub-ta-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.8rem; }
.course-hub-ta-head h3 { margin:.2rem 0 0; font-size:1rem; }
.course-hub-ta-count { display:grid; place-items:center; min-width:30px; height:30px; border-radius:50%; background:rgba(var(--accent-rgb),.08); color:var(--accent); font:800 .68rem var(--mono); }
.course-hub-ta-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:.6rem; }
.course-hub-ta-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.65rem; min-width:0; padding:.7rem; border:1px solid var(--line); border-radius:16px; background:var(--surface); transition:transform .25s var(--ease-out),border-color .25s ease,box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-ta-card:hover { transform:translateY(-3px); border-color:var(--accent-line); box-shadow:0 10px 24px rgba(19,48,79,.08); }
}
.course-hub-ta-avatar { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:linear-gradient(135deg,rgba(var(--accent-rgb),.15),rgba(199,154,85,.16)); color:var(--accent); font-weight:850; }
.course-hub-ta-card strong { display:block; overflow:hidden; color:var(--ink); font-size:.73rem; text-overflow:ellipsis; white-space:nowrap; }
.course-hub-ta-card small { display:block; margin-top:.12rem; color:var(--ink-4); font-size:.6rem; }
.course-hub-ta-card a { display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--accent); transition:transform .25s var(--ease-out),background .25s ease,border-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-ta-card a:hover { transform:translateY(-2px) rotate(-3deg); background:var(--accent-soft); border-color:var(--accent-line); }
}
.course-hub-ta-card a svg { width:16px; height:16px; }
.course-hub-ta-empty { padding:.7rem .2rem 0; color:var(--ink-4); font-size:.7rem; }
.course-hub-latest-card { transition:transform .25s var(--ease-out),box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-latest-card:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(19,48,79,.08); }
}
@media (hover: hover) and (pointer: fine) {
.course-hub-inline-link:hover { transform:translateX(2px); }
}
@keyframes courseHubSweep { 0%,55%,100% { transform:translateX(-120%); } 70% { transform:translateX(120%); } }
@keyframes courseHubCorePulse { 0%,100% { transform:scale(1); box-shadow:0 0 0 7px rgba(var(--accent-rgb),.11),0 0 28px rgba(var(--accent-rgb),.32); } 50% { transform:scale(1.18); box-shadow:0 0 0 10px rgba(var(--accent-rgb),.07),0 0 38px rgba(var(--accent-rgb),.4); } }
@media (prefers-reduced-motion:reduce) { .course-hub-welcome::after,
.course-hub-orbit,
.course-hub-orbit::after,
.course-hub-orbit span { animation:none!important; } }
@media (max-width:820px) { .course-hub-ta-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .course-hub-welcome { grid-template-columns:1fr; min-height:0; } .course-hub-orbit { position:absolute; right:-18px; bottom:-25px; width:90px; height:90px; opacity:.5; } .course-hub-ta-grid { grid-template-columns:1fr; } .course-hub-ta { padding:.85rem; } }

.course-hub-primary-row { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
.course-hub-portal-link { display:inline-flex; align-items:center; gap:.5rem; min-height:46px; padding:.55rem .72rem; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.78); color:var(--ink); font:800 .72rem var(--sans); text-decoration:none; box-shadow:0 8px 20px rgba(19,48,79,.06); transition:transform .25s var(--ease-out),border-color .25s ease,background .25s ease,box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-portal-link:hover { transform:translateY(-3px); border-color:var(--accent-line); background:#fff; box-shadow:0 13px 28px rgba(19,48,79,.1); text-decoration:none; }
}
.course-hub-portal-link svg:last-child { width:15px; height:15px; color:var(--accent); transition:transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-hub-portal-link:hover svg:last-child { transform:translate(2px,-2px); }
}
.course-hub-empty { display:flex; align-items:center; gap:.65rem; min-height:100px; padding:1.2rem; border:1px dashed var(--line-2); border-radius:18px; background:var(--surface-2); color:var(--ink-3); }
.course-hub-empty strong { font-size:.82rem; }
.course-syllabus-unavailable { display:flex; align-items:center; gap:.7rem; }
@media (max-width:560px) { .course-hub-primary-row { display:grid; grid-template-columns:1fr; } .course-hub-portal-link { justify-content:center; } }
.course-hub-contact { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.05rem; border:1px solid var(--line); border-radius:20px; background:linear-gradient(135deg,#fff,rgba(240,247,249,.65)); }
.course-hub-contact h3 { margin:.2rem 0 0; font-size:.95rem; }
.course-hub-contact > a { display:inline-flex; align-items:center; gap:.45rem; min-height:38px; padding:.45rem .68rem; border:1px solid var(--accent-line); border-radius:12px; background:var(--accent-soft); color:var(--accent); font:800 .68rem var(--sans); text-decoration:none; transition:transform .2s var(--ease-out),box-shadow .2s ease,background .2s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-contact > a:hover { transform:translateY(-2px); box-shadow:0 9px 20px rgba(var(--accent-rgb),.12); background:#fff; text-decoration:none; }
}
.course-hub-contact > a svg { width:15px; height:15px; }
@media (max-width:560px) { .course-hub-contact { align-items:flex-start; flex-direction:column; } .course-hub-contact > a { width:100%; justify-content:center; } }


.course-portal-tabs {
  gap: .38rem;
  padding: .7rem clamp(1rem, 3vw, 1.7rem);
  border-bottom: 1px solid rgba(18,48,79,.09);
  background: rgba(250,252,253,.9);
}
.course-portal-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 46px;
  padding: .42rem .82rem;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink-3);
  background: transparent;
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s var(--ease-out);
}
.course-tab-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  background: rgba(18,48,79,.055);
  color: currentColor;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.course-tab-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 8px;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .22s ease, transform .22s var(--ease-out);
}
.course-tab-icon svg { width: 15px; height: 15px; position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover { color: var(--ink); background: rgba(18,48,79,.045); transform: translateY(-1px); }
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon { box-shadow: 0 7px 16px rgba(18,48,79,.09); }
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon::after { opacity: .18; transform: scale(1); }
}
.course-portal-tab[aria-selected="true"] {
  color: #fff;
  border-color: rgba(18,48,79,.9);
  background: linear-gradient(135deg, #173b5d, #245d72);
  box-shadow: 0 9px 22px rgba(18,48,79,.16), 0 1px 0 rgba(255,255,255,.16) inset;
  transform: translateY(-1px);
}
.course-portal-tab[aria-selected="true"] .course-tab-icon { background: rgba(255,255,255,.15); color: #fff; box-shadow: 0 5px 13px rgba(0,0,0,.12); }
.course-portal-tab[aria-selected="true"] .course-tab-icon::after { opacity: .18; transform: scale(1); }
.course-portal-tab:active { transform: translateY(0) scale(.985); }
.course-portal-tab:focus-visible { outline: 3px solid rgba(var(--accent-rgb),.18); outline-offset: 2px; }

.course-hub-primary-icon,
.course-hub-metric-icon,
.course-hub-action-icon,
.course-hub-latest-icon,
.course-portal-panel-icon,
.course-syllabus-unavailable-icon { position: relative; overflow: visible; }
.course-hub-primary-icon::after,
.course-hub-metric-icon::after,
.course-hub-action-icon::after,
.course-portal-panel-icon::after,
.course-syllabus-unavailable-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: 0;
  transform: scale(.82);
  transition: opacity .25s ease, transform .28s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
.course-hub-primary:hover .course-hub-primary-icon::after,
.course-hub-metric:hover .course-hub-metric-icon::after,
.course-hub-action-grid button:hover .course-hub-action-icon::after { opacity: .18; transform: scale(1); }
}
.course-hub-primary-icon svg,
.course-hub-metric-icon svg,
.course-hub-action-icon svg,
.course-portal-panel-icon svg,
.course-syllabus-unavailable-icon svg { position: relative; z-index: 1; transform: none !important; }
@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover .course-hub-metric-icon,
.course-hub-action-grid button:hover .course-hub-action-icon { transform: translateY(-1px) scale(1.04); }
}

.course-syllabus-toolbar-copy { min-width: 0; }
.course-syllabus-toolbar-copy span { margin-top: .12rem; }
.course-syllabus-download { transition: transform .22s var(--ease-out), box-shadow .22s ease, background .22s ease; }
@media (hover: hover) and (pointer: fine) {
.course-syllabus-download:hover { transform: translateY(-2px); }
}
.course-syllabus-download:active { transform: translateY(0) scale(.985); }
.course-syllabus-frame { position: relative; }
.course-syllabus-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: inherit;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .course-portal-tab,
.course-tab-icon,
.course-tab-icon::after,
.course-hub-primary-icon::after,
.course-hub-metric-icon::after,
.course-hub-action-icon::after { transition: none !important; }
}
@media (max-width: 640px) {
  .course-portal-tabs { gap: .3rem; padding: .55rem .7rem; }
  .course-portal-tab { min-height: 44px; padding-inline: .66rem; }
  .course-portal-tab > span:last-child { font-size: .7rem; }
  .course-tab-icon { width: 28px; height: 28px; flex-basis: 28px; }
}

.course-dialog {
  --hub-navy: #12304f;
  --hub-cyan: #2f9db0;
  --hub-gold: #c79a55;
}
.course-dialog-head {
  position: relative;
  overflow: hidden;
  padding-top: clamp(1.35rem, 3vw, 2rem);
  padding-left: clamp(1.15rem, 4vw, 2.8rem);
  padding-right: clamp(3.8rem, 5vw, 4.8rem);
  border-bottom: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(47,157,176,.13), transparent 24%),
    radial-gradient(circle at 5% 0%, rgba(199,154,85,.12), transparent 28%),
    linear-gradient(135deg,#fbfcfd 0%,#f4f8f8 58%,#fbf7ef 100%);
}
.course-dialog-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18,48,79,.14), transparent);
}
.course-portal-tabs {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  gap: .45rem;
  padding: .72rem clamp(1rem, 3vw, 1.75rem);
  border-bottom: 1px solid rgba(18,48,79,.09);
  background: rgba(247,250,251,.88);
  box-shadow: 0 10px 28px rgba(18,48,79,.055);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}
.course-portal-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  justify-content: initial;
  gap: .62rem;
  min-width: 0;
  min-height: 58px;
  padding: .52rem .72rem;
  border: 1px solid rgba(18,48,79,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  color: var(--ink-3);
  text-align: left;
  box-shadow: 0 3px 10px rgba(18,48,79,.025);
  transform: translateY(0);
  transition: transform .24s var(--ease-out), border-color .24s ease, background .24s ease, box-shadow .24s ease, color .24s ease;
}
.course-portal-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(47,157,176,.1), transparent 55%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover {
  color: var(--hub-navy);
  border-color: rgba(47,157,176,.24);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 22px rgba(18,48,79,.08);
  transform: translateY(-2px);
}
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover::before { opacity: 1; }
}
.course-portal-tab:active { transform: translateY(0) scale(.985); }
.course-portal-tab:focus-visible { outline: 3px solid rgba(47,157,176,.18); outline-offset: 2px; }
.course-portal-tab[aria-selected="true"] {
  color: #fff;
  border-color: var(--hub-navy);
  background: linear-gradient(135deg, #12304f 0%, #1e5570 100%);
  box-shadow: 0 12px 26px rgba(18,48,79,.2), inset 0 1px 0 rgba(255,255,255,.16);
  transform: translateY(-2px);
}
.course-portal-tab[aria-selected="true"]::before { opacity: 1; background: radial-gradient(circle at 100% 0, rgba(70,184,201,.25), transparent 48%); }
.course-tab-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(18,48,79,.08);
  border-radius: 11px;
  background: #f5f8f9;
  color: var(--hub-navy);
  box-shadow: 0 4px 10px rgba(18,48,79,.05);
  transform: translateZ(0);
  transition: color .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s var(--ease-out);
}
.course-tab-icon svg { position: relative; z-index: 1; width: 17px; height: 17px; }
.course-tab-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 7px;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .24s ease, transform .24s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon { transform: translateY(-1px) scale(1.05); box-shadow: 0 7px 15px rgba(18,48,79,.1); }
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon::after { opacity: .18; transform: scale(1); }
}
.course-portal-tab[aria-selected="true"] .course-tab-icon { color: #fff; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.18); box-shadow: 0 7px 15px rgba(0,0,0,.13); }
.course-portal-tab[aria-selected="true"] .course-tab-icon::after { opacity: .2; transform: scale(1); }
.course-tab-copy { position: relative; z-index: 1; min-width: 0; display: grid; gap: .12rem; }
.course-tab-copy b { overflow: hidden; color: inherit; font-size: .72rem; font-weight: 850; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.course-tab-copy small { overflow: hidden; color: currentColor; opacity: .62; font-size: .57rem; font-weight: 650; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.course-portal-tab[aria-selected="true"] .course-tab-copy small { opacity: .72; }
.course-tab-count {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 .3rem;
  border: 1px solid rgba(18,48,79,.08);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-4);
  font: 800 .54rem/1 var(--mono);
  font-style: normal;
  transition: background .24s ease, color .24s ease, border-color .24s ease, transform .24s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-count { transform: scale(1.05); }
}
.course-portal-tab[aria-selected="true"] .course-tab-count { color: var(--hub-navy); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.94); }

.course-portal-content { background: linear-gradient(180deg, #fbfcfc 0%, #fff 20%); }
.course-portal-panel-head { position: relative; padding-top: 1.8rem; }
.course-portal-panel-head > div:first-child { min-width: 0; }
.course-portal-panel-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(47,157,176,.18);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(47,157,176,.12), rgba(199,154,85,.1));
  color: var(--hub-navy);
  box-shadow: 0 8px 20px rgba(18,48,79,.07);
  overflow: hidden;
}
.course-portal-panel-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid currentColor;
  border-radius: 12px;
  opacity: .1;
  animation: coursePanelHalo 3.5s ease-in-out infinite;
}
.course-portal-panel-icon svg { position: relative; z-index: 1; width: 20px; height: 20px; }

.course-hub-dashboard { gap: 1rem; }
.course-hub-welcome {
  min-height: 236px;
  border: 1px solid rgba(18,48,79,.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 15%, rgba(47,157,176,.2), transparent 22%),
    radial-gradient(circle at 10% 100%, rgba(199,154,85,.14), transparent 27%),
    linear-gradient(135deg,#f8fbfc 0%,#edf6f7 56%,#fbf7ef 100%);
  box-shadow: 0 20px 50px rgba(18,48,79,.1);
}
.course-hub-welcome-glow { width: 280px; height: 280px; right: -105px; top: -125px; background: radial-gradient(circle, rgba(47,157,176,.2), transparent 67%); animation: courseHubGlow 6s ease-in-out infinite; }
.course-hub-welcome-copy { padding: .15rem 0; }
.course-hub-title-row h3 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; }
.course-hub-term { border-color: rgba(18,48,79,.11); background: rgba(255,255,255,.72); box-shadow: 0 4px 12px rgba(18,48,79,.04); }
.course-hub-primary-row { gap: .65rem; }
.course-hub-primary {
  min-height: 50px;
  padding: .58rem .78rem;
  border-radius: 15px;
  background: linear-gradient(135deg,#12304f,#1e5b70);
  box-shadow: 0 12px 28px rgba(18,48,79,.2);
}
@media (hover: hover) and (pointer: fine) {
.course-hub-primary:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(18,48,79,.25); }
}
.course-hub-primary-icon { width: 31px; height: 31px; border-radius: 10px; background: rgba(255,255,255,.13); }
.course-hub-primary-icon svg { width: 16px; height: 16px; }
.course-hub-primary-row .course-hub-portal-link { min-height: 50px; border-radius: 15px; }
.course-hub-orbit { width: 116px; height: 116px; }

.course-hub-metrics { gap: .65rem; }
.course-hub-metric {
  min-height: 86px;
  padding: .82rem;
  border-radius: 19px;
  background: linear-gradient(145deg,#fff,#f8faf9);
  box-shadow: 0 7px 18px rgba(18,48,79,.05);
}
@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(18,48,79,.11); }
}
.course-hub-metric-icon { width: 42px; height: 42px; border-radius: 13px; }
.course-hub-metric-icon svg { width: 19px; height: 19px; }
.course-hub-metric em { align-self: end; font-size: .56rem; font-weight: 800; opacity: .7; font-style: normal; }

.course-hub-actions {
  padding: 1.15rem;
  border: 1px solid rgba(18,48,79,.08);
  border-radius: 24px;
  background: linear-gradient(180deg,#fff,#f8faf9);
  box-shadow: 0 12px 32px rgba(18,48,79,.055);
}
.course-hub-actions-head { margin-bottom: .9rem; }
.course-hub-actions-head h3 { margin: .2rem 0 0; font-size: 1.02rem; letter-spacing: -.01em; }
.course-hub-action-grid { gap: .7rem; }
.course-hub-action-grid button {
  min-height: 82px;
  padding: .75rem .8rem;
  border: 1px solid rgba(18,48,79,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(18,48,79,.035);
}
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover { transform: translateY(-4px); border-color: rgba(47,157,176,.24); background: linear-gradient(145deg,#fff,#f6faf9); box-shadow: 0 14px 28px rgba(18,48,79,.09); }
}
.course-hub-action-icon { width: 40px; height: 40px; border-radius: 12px; }
.course-hub-action-grid > button > svg { width: 16px; height: 16px; }

.course-hub-ta { border-radius: 23px; }
.course-hub-ta-card { min-height: 58px; }
@media (hover: hover) and (pointer: fine) {
.course-hub-ta-card:hover { transform: translateY(-3px); }
}
@media (hover: hover) and (pointer: fine) {
.course-hub-ta-card a:hover { transform: translateY(-2px) scale(1.04); }
}

.course-syllabus-viewer { border-radius: 22px; box-shadow: 0 12px 30px rgba(18,48,79,.08); }
.course-syllabus-toolbar { padding: 1rem 1.05rem; background: linear-gradient(135deg,#fff,#f7faf9); }
.course-syllabus-download { min-height: 44px; border-radius: 13px; background: linear-gradient(135deg,#12304f,#1e5b70); box-shadow: 0 9px 20px rgba(18,48,79,.18); }
@media (hover: hover) and (pointer: fine) {
.course-syllabus-download:hover { background: linear-gradient(135deg,#1e5b70,#12304f); transform: translateY(-2px); }
}
.course-syllabus-download svg { transition: transform .24s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-syllabus-download:hover svg { transform: translateY(-1px); }
}

@keyframes coursePanelHalo { 0%,100% { opacity:.08; transform:scale(.94); } 50% { opacity:.18; transform:scale(1); } }
@keyframes courseHubGlow { 0%,100% { transform:scale(1); opacity:.8; } 50% { transform:scale(1.08); opacity:1; } }

@media (max-width: 900px) {
  .course-portal-tabs { grid-template-columns: repeat(5, minmax(118px, 1fr)); }
}
@media (max-width: 720px) {
  .course-portal-tabs { display:flex; gap:.45rem; overflow-x:auto; scroll-snap-type:x proximity; }
  .course-portal-tab { flex:0 0 146px; scroll-snap-align:start; }
  .course-hub-welcome { grid-template-columns:minmax(0,1fr) 92px; min-height:220px; }
  .course-hub-orbit { width:84px; height:84px; }
  .course-hub-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .course-hub-action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .course-dialog-head { padding-right: 3.4rem; }
  .course-portal-tab { flex-basis: 142px; min-height:54px; }
  .course-tab-copy small { display:none; }
  .course-tab-count { min-width:21px; height:21px; }
  .course-hub-welcome { grid-template-columns:1fr; min-height:0; }
  .course-hub-orbit { display:none; }
  .course-hub-primary-row { display:grid; grid-template-columns:1fr; }
  .course-hub-primary,
.course-hub-primary-row .course-hub-portal-link { width:100%; justify-content:center; }
  .course-hub-action-grid { grid-template-columns:1fr; }
  .course-hub-metric { min-height:78px; }
  .course-syllabus-toolbar { align-items:stretch; }
  .course-syllabus-download { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
  .course-panel-icon::before,
.course-hub-welcome-glow { animation:none; }
  .course-portal-tab,
.course-tab-icon,
.course-hub-metric,
.course-hub-action-grid button,
.course-hub-primary,
.course-syllabus-download { transition:none; }
}

.course-dialog {
  --hub-ink: #18252b;
  --hub-muted: #6d777b;
  --hub-line: rgba(24,37,43,.09);
  --hub-line-strong: rgba(24,37,43,.15);
  --hub-sage: #5f806f;
  --hub-sage-soft: #edf3ef;
  --hub-gold: #a9824f;
  --hub-gold-soft: #f5efe6;
  --hub-paper: #fbfaf7;
  --hub-white: #fff;
}

.course-dialog { background: var(--hub-paper); color: var(--hub-ink); }
.course-dialog-head { position: relative; background: linear-gradient(180deg,#fff 0%,#fbfaf7 100%); border-bottom: 1px solid var(--hub-line); }
.course-dialog-head::after { content:""; position:absolute; left:clamp(1rem,4vw,2.7rem); right:clamp(1rem,4vw,2.7rem); bottom:-1px; height:1px; background:linear-gradient(90deg,transparent,rgba(95,128,111,.32),transparent); }

.course-portal-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  gap: .18rem;
  padding: .55rem clamp(1rem,4vw,2.7rem);
  border-bottom: 1px solid var(--hub-line);
  background: rgba(251,250,247,.94);
  box-shadow: 0 8px 22px rgba(24,37,43,.035);
  backdrop-filter: blur(16px);
  overflow-x: auto;
  scrollbar-width: none;
}
.course-portal-tabs::-webkit-scrollbar { display:none; }
.course-portal-tab {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.48rem;
  flex:1 1 0;
  min-width:116px;
  min-height:46px;
  padding:.45rem .72rem;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:#747d80;
  font:700 .69rem/1 var(--sans);
  text-align:left;
  cursor:pointer;
  transition:color .22s ease,background .22s ease,border-color .22s ease,transform .22s var(--ease-out),box-shadow .22s ease;
}
.course-portal-tab::after {
  content:"";
  position:absolute;
  left:18%; right:18%; bottom:0;
  height:2px;
  border-radius:2px;
  background:var(--hub-sage);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .24s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover { color:var(--hub-ink); background:rgba(255,255,255,.72); transform:translateY(-1px); }
}
.course-portal-tab:focus-visible { outline:2px solid rgba(95,128,111,.35); outline-offset:2px; }
.course-portal-tab[aria-selected="true"] {
  color:var(--hub-ink);
  background:#fff;
  border-color:var(--hub-line-strong);
  box-shadow:0 5px 15px rgba(24,37,43,.055);
}
.course-portal-tab[aria-selected="true"]::after { transform:scaleX(1); }
.course-tab-icon {
  position:relative;
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  flex:none;
  border:1px solid var(--hub-line);
  border-radius:9px;
  background:#f7f7f3;
  color:#78827f;
  transition:transform .3s var(--ease-out),background .25s ease,color .25s ease,border-color .25s ease;
}
.course-tab-icon::before {
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:12px;
  background:radial-gradient(circle,rgba(95,128,111,.14),transparent 68%);
  opacity:0;
  transform:scale(.7);
  transition:opacity .3s ease,transform .3s var(--ease-out);
}
.course-tab-icon svg { position:relative; z-index:1; width:14px; height:14px; transition:transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon { color:var(--hub-sage); border-color:rgba(95,128,111,.2); background:var(--hub-sage-soft); }
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon svg { transform:scale(1.06); }
}
@media (hover: hover) and (pointer: fine) {
.course-portal-tab:hover .course-tab-icon::before { opacity:1; transform:scale(1); }
}
.course-portal-tab[aria-selected="true"] .course-tab-icon { color:var(--hub-sage); border-color:rgba(95,128,111,.22); background:var(--hub-sage-soft); }
.course-portal-tab[aria-selected="true"] .course-tab-icon::before { opacity:1; transform:scale(1); animation:hubIconHalo 2.8s ease-in-out infinite; }
.course-tab-copy { display:grid; gap:.18rem; min-width:0; }
.course-tab-copy b { font-size:.68rem; line-height:1; }
.course-tab-copy small { color:#9aa1a2; font-size:.54rem; font-weight:650; line-height:1; }
.course-portal-tab[aria-selected="true"] .course-tab-copy small { color:var(--hub-sage); }
.course-tab-count { display:grid; place-items:center; min-width:18px; height:18px; padding:0 .28rem; border:1px solid var(--hub-line); border-radius:999px; color:#89918f; font:700 .52rem/1 var(--mono); font-style:normal; background:#fff; }
.course-portal-tab[aria-selected="true"] .course-tab-count { color:var(--hub-sage); border-color:rgba(95,128,111,.2); background:var(--hub-sage-soft); }

.course-portal-content { background:var(--hub-paper); }
.course-portal-panel { animation:hubPanelIn .28s var(--ease-out) both; }
.course-portal-panel-head { padding-top:1.1rem; }
.course-portal-panel-head h3 { color:var(--hub-ink); font-size:1.12rem; letter-spacing:-.015em; }
.course-portal-panel-icon { width:34px; height:34px; border-radius:11px; background:var(--hub-gold-soft); color:var(--hub-gold); border:1px solid rgba(169,130,79,.12); }
.course-portal-panel-icon svg { width:16px; height:16px; }

.course-hub-dashboard { gap:.72rem; }
.course-hub-welcome {
  min-height:176px;
  grid-template-columns:minmax(0,1fr) 78px;
  padding:1.05rem 1.1rem;
  border:1px solid var(--hub-line);
  border-radius:19px;
  background:linear-gradient(135deg,#fff 0%,#f8f8f4 72%,#f4eee4 100%);
  box-shadow:0 12px 30px rgba(24,37,43,.055);
}
.course-hub-welcome.is-live { border-color:rgba(95,128,111,.19); }
.course-hub-welcome::after { opacity:.35; animation:hubSheen 9s ease-in-out infinite; }
.course-hub-eyebrow { color:var(--hub-sage); font-size:.56rem; letter-spacing:.12em; }
.course-hub-eyebrow i { width:6px; height:6px; box-shadow:0 0 0 4px rgba(95,128,111,.1); }
.course-hub-title-row h3 { color:var(--hub-ink); font-size:clamp(1.15rem,2.5vw,1.5rem); }
.course-hub-termline { margin:.2rem 0 .8rem; color:var(--hub-muted); font-size:.57rem; }
.course-hub-termline strong { color:var(--hub-sage); }
.course-hub-primary-row { display:flex; flex-wrap:wrap; gap:.45rem; }
.course-hub-primary,
.course-hub-primary-row .course-hub-portal-link {
  min-height:38px;
  padding:.42rem .62rem;
  border-radius:11px;
  box-shadow:0 7px 16px rgba(24,37,43,.09);
}
.course-hub-primary { background:var(--hub-ink); border-color:var(--hub-ink); }
@media (hover: hover) and (pointer: fine) {
.course-hub-primary:hover { background:#293a40; border-color:#293a40; filter:none; transform:translateY(-1px); box-shadow:0 10px 20px rgba(24,37,43,.13); }
}
.course-hub-primary-icon { width:23px; height:23px; border-radius:7px; background:rgba(255,255,255,.1); }
.course-hub-orbit { width:68px; height:68px; border-color:rgba(169,130,79,.24); background:radial-gradient(circle,rgba(169,130,79,.12),rgba(255,255,255,.35) 48%,transparent 70%); box-shadow:inset 0 0 0 7px rgba(255,255,255,.3); }
.course-hub-orbit::before { inset:10px; border-color:rgba(169,130,79,.14); }
.course-hub-orbit::after { inset:-5px; border-color:rgba(95,128,111,.16); }
.course-hub-orbit span { width:9px; height:9px; background:var(--hub-sage); box-shadow:0 0 0 5px rgba(95,128,111,.1),0 0 20px rgba(95,128,111,.22); }
.course-hub-orbit b { bottom:8px; font-size:.44rem; }

.course-hub-metrics { gap:.48rem; }
.course-hub-metric {
  min-height:68px;
  padding:.62rem;
  border:1px solid var(--hub-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 14px rgba(24,37,43,.035);
}
@media (hover: hover) and (pointer: fine) {
.course-hub-metric:hover { transform:translateY(-2px); border-color:var(--hub-line-strong); background:#fff; box-shadow:0 10px 20px rgba(24,37,43,.07); }
}
.course-hub-metric-icon,
.course-hub-action-icon { width:31px; height:31px; border-radius:9px; }
.course-hub-metric-icon svg,
.course-hub-action-icon svg { width:15px; height:15px; }
.course-hub-metric-icon.updates,
.course-hub-action-icon.updates { color:#9a7650; background:#f5efe6; }
.course-hub-metric-icon.materials,
.course-hub-action-icon.materials { color:#5f806f; background:#edf3ef; }
.course-hub-metric-icon.schedule,
.course-hub-action-icon.schedule { color:#6f7164; background:#f0f0ea; }
.course-hub-metric-icon.syllabus,
.course-hub-action-icon.syllabus { color:#756b5e; background:#f1eee8; }
.course-hub-metric strong { font-size:.76rem; }
.course-hub-metric small { font-size:.56rem; }

.course-hub-actions { padding:.9rem; border:1px solid var(--hub-line); border-radius:18px; background:#fff; box-shadow:0 9px 22px rgba(24,37,43,.045); }
.course-hub-actions-head { margin-bottom:.62rem; }
.course-hub-actions-head h3 { font-size:.92rem; }
.course-hub-published { padding:.24rem .42rem; background:#faf9f6; font-size:.53rem; }
.course-hub-action-grid { gap:.42rem; }
.course-hub-action-grid button { min-height:68px; padding:.62rem; border:1px solid var(--hub-line); border-radius:13px; background:#fbfbf8; box-shadow:none; }
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover { transform:translateY(-2px); border-color:rgba(95,128,111,.2); background:#fff; box-shadow:0 9px 18px rgba(24,37,43,.065); }
}
.course-hub-action-icon { transition:transform .28s var(--ease-out),box-shadow .28s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover .course-hub-action-icon { transform:rotate(-3deg) scale(1.04); box-shadow:0 5px 12px rgba(24,37,43,.08); }
}
.course-hub-action-grid strong { font-size:.68rem; }
.course-hub-action-grid small { font-size:.56rem; }
.course-hub-action-grid > button > svg { width:13px; height:13px; color:#9ba19e; transition:transform .25s var(--ease-out),color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.course-hub-action-grid button:hover > svg { transform:translateX(2px); color:var(--hub-sage); }
}

.course-hub-latest-card { padding:.82rem; border:1px solid rgba(169,130,79,.17); border-radius:15px; background:linear-gradient(135deg,#fffdf9,#fbfaf7); }
.course-hub-latest-icon { width:34px; height:34px; border-radius:10px; background:var(--hub-gold-soft); color:var(--hub-gold); }
.course-hub-latest-icon svg { width:16px; height:16px; }
.course-hub-latest-copy h3 { font-size:.78rem; }
.course-hub-latest-copy p { font-size:.66rem; }

.course-hub-ta { border-radius:17px; }
.course-hub-ta-card { min-height:50px; }

.course-syllabus-viewer { border-radius:17px; box-shadow:0 10px 24px rgba(24,37,43,.06); }
.course-syllabus-toolbar { padding:.8rem .9rem; background:#fff; }
.course-syllabus-download { min-height:38px; border-radius:10px; background:var(--hub-ink); box-shadow:0 7px 16px rgba(24,37,43,.12); }
@media (hover: hover) and (pointer: fine) {
.course-syllabus-download:hover { background:#293a40; transform:translateY(-1px); }
}

@keyframes hubIconHalo { 0%,100%{opacity:.55;transform:scale(.92)} 50%{opacity:1;transform:scale(1.03)} }
@keyframes hubPanelIn { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
@keyframes hubSheen { 0%,65%,100%{transform:translateX(-120%)} 78%{transform:translateX(120%)} }

@media (max-width:720px) {
  .course-portal-tabs { gap:.16rem; padding:.48rem .7rem; }
  .course-portal-tab { flex:0 0 116px; min-width:116px; min-height:44px; padding:.38rem .55rem; }
  .course-tab-copy small { display:none; }
  .course-hub-welcome { grid-template-columns:1fr 64px; min-height:170px; padding:.9rem; }
  .course-hub-orbit { width:58px; height:58px; }
  .course-hub-metric { min-height:64px; }
}
@media (max-width:520px) {
  .course-portal-tabs { padding-inline:.55rem; }
  .course-portal-tab { flex-basis:108px; min-width:108px; }
  .course-tab-icon { width:25px; height:25px; }
  .course-tab-copy b { font-size:.64rem; }
  .course-tab-count { min-width:17px; height:17px; }
  .course-hub-welcome { grid-template-columns:1fr; min-height:0; }
  .course-hub-orbit { position:absolute; right:-12px; bottom:-16px; opacity:.42; }
  .course-hub-primary-row { display:grid; grid-template-columns:1fr; }
  .course-hub-primary,
.course-hub-primary-row .course-hub-portal-link { width:100%; justify-content:center; }
}
@media (prefers-reduced-motion:reduce) {
  .course-portal-panel,
.course-tab-icon::before,
.course-hub-welcome::after { animation:none; }
  .course-portal-tab,
.course-tab-icon,
.course-hub-metric,
.course-hub-action-grid button,
.course-hub-primary,
.course-syllabus-download { transition:none; }
}


.course-dialog.is-content-ready .course-dialog-head,
.course-dialog.is-content-ready .course-portal-tabs,
.course-dialog.is-content-ready .course-portal-panel[aria-hidden="false"],
.course-dialog.is-content-ready .course-portal-panel:not([hidden]) {
  animation: courseHubElementIn .48s var(--ease-out) both;
}
.course-dialog.is-content-ready .course-portal-tabs { animation-delay: .06s; }
.course-dialog.is-content-ready .course-portal-panel:not([hidden]) { animation-delay: .12s; }
.course-dialog.is-content-ready .course-hub-welcome { animation: courseHubElementIn .52s var(--ease-out) .18s both; }
.course-dialog.is-content-ready .course-hub-metrics > *,
.course-dialog.is-content-ready .course-hub-action-grid > *,
.course-dialog.is-content-ready .course-hub-ta,
.course-dialog.is-content-ready .course-hub-contact,
.course-dialog.is-content-ready .course-hub-latest-card,
.course-dialog.is-content-ready .course-dialog-section {
  animation: courseHubElementIn .44s var(--ease-out) both;
}
.course-dialog.is-content-ready .course-hub-metrics > *:nth-child(1) { animation-delay: .24s; }
.course-dialog.is-content-ready .course-hub-metrics > *:nth-child(2) { animation-delay: .29s; }
.course-dialog.is-content-ready .course-hub-metrics > *:nth-child(3) { animation-delay: .34s; }
.course-dialog.is-content-ready .course-hub-metrics > *:nth-child(4) { animation-delay: .39s; }
.course-dialog.is-content-ready .course-hub-action-grid > *:nth-child(1) { animation-delay: .27s; }
.course-dialog.is-content-ready .course-hub-action-grid > *:nth-child(2) { animation-delay: .32s; }
.course-dialog.is-content-ready .course-hub-action-grid > *:nth-child(3) { animation-delay: .37s; }
.course-dialog.is-content-ready .course-hub-action-grid > *:nth-child(4) { animation-delay: .42s; }
.course-dialog.is-content-ready .course-hub-ta { animation-delay: .46s; }
.course-dialog.is-content-ready .course-hub-contact { animation-delay: .51s; }
.course-dialog.is-content-ready .course-hub-latest-card { animation-delay: .56s; }
.course-dialog.is-content-ready .course-dialog-section { animation-delay: .61s; }

.course-hub-primary,
.course-hub-portal-link,
.course-hub-action-grid button,
.course-hub-metric,
.course-portal-tab,
.course-syllabus-download,
.course-material-item {
  font-size: .86rem;
}
.course-hub-primary { min-height: 54px; padding: .68rem 1rem; gap: .62rem; }
.course-hub-primary > span:not(.course-hub-primary-icon) { font-size: .84rem; font-weight: 800; }
.course-hub-portal-link { min-height: 54px; padding: .68rem 1rem; font-size: .84rem; }
.course-hub-metric { min-height: 94px; padding: .92rem; }
.course-hub-metric strong { font-size: 1.08rem; }
.course-hub-metric small { font-size: .68rem; }
.course-hub-metric em { font-size: .62rem; }
.course-hub-action-grid button { min-height: 94px; padding: .9rem 1rem; gap: .72rem; }
.course-hub-action-grid strong { font-size: .82rem; }
.course-hub-action-grid small { font-size: .67rem; }
.course-hub-action-grid > button > svg { width: 17px; height: 17px; }
.course-portal-tab { min-height: 60px; padding: .58rem .82rem; }
.course-tab-copy b { font-size: .78rem; }
.course-tab-copy small { font-size: .62rem; }
.course-tab-count { min-width: 25px; height: 25px; font-size: .58rem; }
.course-material-item { min-height: 64px; padding: .9rem 1rem; }
.course-material-item strong { font-size: .82rem; line-height: 1.35; }
.course-material-item small { font-size: .67rem; line-height: 1.4; }

.pub-year-filter { min-height: 44px; padding-inline: .78rem .7rem; }
.pub-year-filter select { font-size: .82rem; }
.pub-year::before { width: 5px; height: 5px; box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .12); }

@keyframes courseHubElementIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 720px) {
  .course-portal-tab { flex-basis: 148px; min-width: 148px; min-height: 54px; padding: .52rem .7rem; }
  .course-tab-copy b { font-size: .76rem; }
  .course-tab-count { min-width: 23px; height: 23px; }
  .course-hub-metric { min-height: 82px; }
  .course-hub-action-grid button { min-height: 82px; }
}

@media (max-width: 640px) {
  .course-portal-tabs { padding: .55rem .65rem; gap: .38rem; }
  .course-portal-tab { flex-basis: 142px; min-width: 142px; min-height: 52px; }
  .course-tab-copy b { font-size: .74rem; }
  .course-tab-copy small { display: block; font-size: .59rem; }
  .course-tab-icon { width: 28px; height: 28px; }
  .course-hub-primary,
.course-hub-primary-row .course-hub-portal-link { min-height: 52px; font-size: .84rem; }
  .course-hub-metric { min-height: 86px; padding: .78rem; }
  .course-hub-action-grid button { min-height: 88px; padding: .82rem .9rem; }
  .course-hub-action-grid strong { font-size: .8rem; white-space: normal; }
  .course-hub-action-grid small { font-size: .65rem; }
  .course-material-item { min-height: 68px; }
  .pub-year-filter { min-height: 42px; border-radius: 14px; padding: .35rem .65rem .35rem .8rem; }
  .pub-year-filter select { font-size: .8rem; }
  .pub-year { gap: .65rem; margin-bottom: .85rem; font-size: .92rem; }
  .pub-year::before { width: 4px; height: 4px; box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .11); }
}

@media (max-width: 380px) {
  .course-portal-tab { flex-basis: 132px; min-width: 132px; }
  .course-tab-copy b { font-size: .71rem; }
  .course-tab-copy small { font-size: .56rem; }
  .course-hub-metric { padding: .68rem; }
  .course-hub-action-grid button { padding: .72rem .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .course-dialog.is-content-ready .course-dialog-head,
.course-dialog.is-content-ready .course-portal-tabs,
.course-dialog.is-content-ready .course-portal-panel:not([hidden]),
.course-dialog.is-content-ready .course-hub-welcome,
.course-dialog.is-content-ready .course-hub-metrics > *,
.course-dialog.is-content-ready .course-hub-action-grid > *,
.course-dialog.is-content-ready .course-hub-ta,
.course-dialog.is-content-ready .course-hub-contact,
.course-dialog.is-content-ready .course-hub-latest-card,
.course-dialog.is-content-ready .course-dialog-section { animation: none !important; }
}

.course-material-item.is-reference { cursor: default; }
@media (hover: hover) and (pointer: fine) {
.course-material-item.is-reference:hover { transform: none; border-color: var(--gold-line); box-shadow: var(--sh-xs); background: linear-gradient(145deg,#fff,#fffaf0); }
}
.course-material-item.is-reference .course-material-icon { background: var(--gold-soft); color: var(--gold-2); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}
.hero-meta li { margin: 0; min-width: 0; }
.hero-meta a {
  --profile-rgb: 21, 48, 92;
  --profile-ink: #15305c;
  --profile-delay: 0s;
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 54px;
  padding: .6rem .75rem;
  border: 1px solid rgba(var(--profile-rgb), .15);
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, rgba(var(--profile-rgb), .045));
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 12px -8px rgba(var(--profile-rgb), .2);
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform .24s var(--ease-out), border-color .24s ease, box-shadow .24s ease, color .24s ease;
}
.hero-meta a.hero-meta-scholar { --profile-rgb: 66, 133, 244; --profile-ink: #2458a3; --profile-delay: -1.2s; }
.hero-meta a.hero-meta-researchgate { --profile-rgb: 0, 169, 143; --profile-ink: #08745f; --profile-delay: -2.4s; }
.hero-meta a.hero-meta-linkedin { --profile-rgb: 10, 102, 194; --profile-ink: #0a66c2; --profile-delay: -3.6s; }
.hero-meta a.hero-meta-scopus { --profile-rgb: 233, 113, 50; --profile-ink: #a34719; --profile-delay: -4.8s; }
.hero-meta a.hero-meta-orcid { --profile-rgb: 166, 206, 57; --profile-ink: #4b6414; --profile-delay: -6s; }
.hero-meta a.hero-meta-dblp { --profile-rgb: 43, 108, 176; --profile-ink: #2b6cb0; --profile-delay: -7.2s; }
.hero-meta a::before {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  opacity: 0;
  transform: translateX(-160%) skewX(-20deg);
  animation: profileSheen 8.6s var(--ease-soft) var(--profile-delay) infinite;
  pointer-events: none;
}
.hero-meta a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--profile-rgb), .4), transparent);
  pointer-events: none;
}
.hero-meta .profile-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(var(--profile-rgb), .15);
  border-radius: 50%;
  background: rgba(var(--profile-rgb), .08);
  color: rgb(var(--profile-rgb));
  transition: transform .24s var(--ease-out), background .24s ease;
}
.hero-meta .profile-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  border-top-color: rgba(var(--profile-rgb), .5);
  border-right-color: rgba(var(--profile-rgb), .15);
  border-radius: 50%;
  animation: profileOrbit 12s linear var(--profile-delay) infinite;
  pointer-events: none;
}
.hero-meta .profile-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-meta .hero-meta-linkedin .profile-icon svg { fill: #0a66c2; stroke: #fff; stroke-width: 1.5; }
.hero-meta .profile-icon svg.orcid-mark { fill: none; stroke: none; }
.hero-meta .profile-label { position: relative; z-index: 1; min-width: 0; overflow-wrap: anywhere; }
.hero-meta .profile-arrow { position: relative; z-index: 1; flex: none; width: 13px; height: 13px; margin-left: auto; opacity: .5; transition: transform .24s var(--ease-out), opacity .24s ease; }
.hero-meta a:focus-visible {
  outline: 2px solid var(--profile-ink);
  outline-offset: 3px;
  color: var(--profile-ink);
  border-color: rgba(var(--profile-rgb), .5);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .hero-meta a:hover {
    transform: translateY(-3px);
    color: var(--profile-ink);
    border-color: rgba(var(--profile-rgb), .4);
    box-shadow: 0 1px 0 #fff inset, 0 12px 24px -12px rgba(var(--profile-rgb), .3);
    text-decoration: none;
  }
  .hero-meta a:hover .profile-icon { transform: scale(1.06); background: rgba(var(--profile-rgb), .12); }
  .hero-meta a:hover .profile-arrow { transform: translate(1px, -1px); opacity: 1; }
}
.hero-meta a:active { transform: scale(.98); color: var(--profile-ink); border-color: rgba(var(--profile-rgb), .5); }
.hero-meta.is-motion-paused a::before,
.hero-meta.is-motion-paused .profile-icon::before,
.hero-meta:focus-within a::before,
.hero-meta:focus-within .profile-icon::before { animation-play-state: paused; }
@keyframes profileOrbit { to { transform: rotate(360deg); } }
@keyframes profileSheen {
  0%, 65% { transform: translateX(-160%) skewX(-20deg); opacity: 0; }
  70% { transform: translateX(-160%) skewX(-20deg); opacity: .8; }
  87%, 100% { transform: translateX(420%) skewX(-20deg); opacity: 0; }
}

.header-right { flex: none; }
.search-trigger { min-width: 44px; min-height: 44px; }
.brand-name { min-width: 0; }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.contact-card { min-width: 0; padding-inline: clamp(1rem, 3vw, 1.7rem); overflow-wrap: anywhere; }
.pub-search input { padding-right: 3.25rem; }
.pub-search-clear { width: 44px; height: 44px; right: .25rem; }
.palette-esc { min-height: 44px; }
.course-modal { --modal-gutter: clamp(.8rem, 3vw, 2rem); padding: var(--modal-gutter); }
.course-modal-close { width: 44px; height: 44px; }

@supports (height: 100dvh) {
  .primary-nav { max-height: var(--nav-available-height, calc(100dvh - var(--header-h) - 16px)); }
  .palette { max-height: min(86dvh, 700px); }
  .course-dialog { max-height: min(820px, calc(100dvh - 2 * var(--modal-gutter))); }
}
@media (min-width: 1141px) {
  .primary-nav { max-height: none; }
}
@media (max-width: 1140px) {
  .search-trigger { width: 46px; height: 46px; justify-content: center; }
  .primary-nav .nav-cta { padding-left: .9rem; }
  .primary-nav .nav-cta:focus-visible { transform: none; }@media (hover: hover) and (pointer: fine) {
.primary-nav .nav-cta:hover { transform: none; }
}
  .primary-nav .nav-cta:active { transform: scale(.99); }
  .primary-nav a:focus-visible { outline-color: var(--accent); outline-offset: -3px; }
  .no-js .primary-nav { max-height: none; }
}
@media (max-width: 680px) {
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .search-trigger { width: 44px; height: 44px; }
  .section-head { flex-wrap: wrap; }
  .section-head > * { min-width: 0; max-width: 100%; }
  .pub-toolbar > *,
  .courses-toolbar-v2 > * { flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .pub-year-filter { min-height: 48px; }
  .pub-search input,
  .courses-search input,
  .pub-year-filter select,
  .palette-input { font-size: 16px; }
  .pub-year-filter select { min-height: 44px; }
  .course-modal { --modal-gutter: .5rem; }
  .course-dialog-head { padding-right: 4.1rem; }
}
@media (max-width: 460px) {
  .hero-meta a { gap: .5rem; min-height: 52px; padding: .6rem .65rem; font-size: .8rem; }
  .hero-meta .profile-icon { width: 28px; height: 28px; }
  .hero-meta .profile-arrow { display: none; }
}
@media (max-width: 380px) {
  .brand-divider { display: none; }
  .brand { gap: .5rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark img { width: 33px; height: 33px; }
  .brand-full { font-size: .98rem; }
  .hero-meta { gap: .5rem; }
  .hero-meta a { padding-inline: .5rem; font-size: .76rem; }
}
@media (hover: none), (pointer: coarse) {
  a, button, summary { touch-action: manipulation; }
  .pub-filters button,
  .alumni-filters button,
  .courses-tabs-v2 button,
  .courses-active-toggle,
  .lab-subnav a,
  .lab-director-links a,
  .socials a,
  .student-links a,
  .course-card-links a,
  .course-syllabus-download,
  .footer-col a { min-height: 44px; }
  .student-links a { min-width: 44px; }
  .alumni-entry-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-card .copy-email { width: 44px; height: 44px; }
  .search-trigger:active,
  .nav-toggle:active,
  .pub-filters button:active,
  .alumni-filters button:active,
  .courses-tabs-v2 button:active { background: var(--accent-soft); border-color: var(--accent-line); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-meta a::before { display: none; animation: none !important; }
  .hero-meta .profile-icon::before { animation: none !important; opacity: .5; }
  .hero-meta a,
  .hero-meta .profile-icon,
  .hero-meta .profile-arrow { transition: none; }
  .hero-meta a:active { transform: none; }@media (hover: hover) and (pointer: fine) {
.hero-meta a:hover,
.hero-meta a:hover .profile-icon,
.hero-meta a:hover .profile-arrow { transform: none; }
}
}
@media print {
  .hero-meta { display: flex; flex-wrap: wrap; }
  .hero-meta a { border: 0; background: none; box-shadow: none; min-height: 0; padding: .3rem .5rem; }
  .hero-meta a::before,
  .hero-meta a::after,
  .hero-meta .profile-icon::before,
  .hero-meta .profile-arrow { display: none; }
}
