:root {
  color-scheme: dark;
  --bg: #03060d;
  --bg-soft: #07111d;
  --panel: rgba(11, 21, 34, 0.68);
  --panel-strong: rgba(12, 24, 40, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7fbff;
  --muted: #9fb0c4;
  --cyan: #52e5ff;
  --aqua: #5fffd6;
  --orange: #ff8a2a;
  --orange-strong: #ff6f1a;
  --violet: #8c7dff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
  --header-h: 78px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(13, 35, 61, 0.13);
  --line-strong: rgba(13, 35, 61, 0.24);
  --text: #081321;
  --muted: #536579;
  --cyan: #007c9e;
  --aqua: #008f78;
  --orange: #e96f12;
  --orange-strong: #d95d07;
  --violet: #5d55d8;
  --shadow: 0 24px 80px rgba(20, 42, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 138, 42, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 28%, rgba(82, 229, 255, 0.12), transparent 30rem),
    linear-gradient(135deg, #020409 0%, #06111c 44%, #03060d 100%);
  color: var(--text);
  overflow-x: hidden;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 138, 42, 0.16), transparent 28rem),
    radial-gradient(circle at 8% 24%, rgba(0, 124, 158, 0.13), transparent 30rem),
    linear-gradient(135deg, #f8fbff 0%, #edf4fb 48%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 86%);
}

:root[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(12, 31, 54, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 31, 54, 0.055) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 88%);
}

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

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

button {
  font: inherit;
}

.signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  pointer-events: none;
}

:root[data-theme="light"] .signal-canvas {
  opacity: 0.2;
}

.page-shell {
  min-height: 100vh;
  position: relative;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(3, 7, 13, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  left: 50%;
  max-width: min(1380px, calc(100% - 32px));
  padding: 10px 12px 10px 16px;
  position: fixed;
  top: 16px;
  transform: translateX(-50%);
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
  width: 100%;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(3, 8, 14, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(13, 35, 61, 0.12);
  box-shadow: 0 18px 70px rgba(20, 42, 68, 0.13);
}

:root[data-theme="light"] .site-header.is-scrolled,
:root[data-theme="light"] .content-page .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 35, 61, 0.16);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  border-radius: 7px;
  color: #06111a;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand-mark.brand-logo {
  background: transparent;
  object-fit: contain;
  padding: 2px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 760;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 3px;
}

.nav-panel {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  justify-content: flex-end;
  min-width: 0;
  order: 2;
}

.header-controls {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  margin-left: 0;
  order: 3;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item::before {
  content: "";
  display: block;
  height: 18px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  width: max(100%, 160px);
}

.nav-item:hover::before,
.nav-item:focus-within::before {
  pointer-events: auto;
}

.nav-item > button,
.nav-direct .nav-link {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(247, 251, 255, 0.78);
  cursor: pointer;
  display: block;
  padding: 12px 8px;
  transition: color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

:root[data-theme="light"] .nav-item > button,
:root[data-theme="light"] .nav-direct .nav-link {
  color: rgba(8, 19, 33, 0.72);
}

.nav-item > button::after,
.nav-direct .nav-link::after {
  background: var(--orange);
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  margin: 6px auto -8px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  width: 20px;
}

.nav-item:hover > button,
.nav-item:focus-within > button,
.nav-item.is-open > button,
.nav-direct .nav-link:hover,
.nav-direct .nav-link:focus {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

:root[data-theme="light"] .nav-item:hover > button,
:root[data-theme="light"] .nav-item:focus-within > button,
:root[data-theme="light"] .nav-item.is-open > button,
:root[data-theme="light"] .nav-direct .nav-link:hover,
:root[data-theme="light"] .nav-direct .nav-link:focus {
  background: rgba(13, 35, 61, 0.06);
}

.nav-item:hover > button::after,
.nav-item:focus-within > button::after,
.nav-item.is-open > button::after,
.nav-direct .nav-link:hover::after,
.nav-direct .nav-link:focus::after {
  transform: scaleX(1);
}

.mega-menu {
  background: linear-gradient(180deg, rgba(10, 20, 33, 0.98), rgba(8, 14, 24, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  left: 50%;
  opacity: 0;
  padding: 12px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 10px);
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
  width: min(520px, calc(100vw - 32px));
  z-index: 2;
}

:root[data-theme="light"] .mega-menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.94));
}

.mega-menu.compact {
  grid-template-columns: 1fr;
  width: min(320px, calc(100vw - 32px));
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu a {
  align-items: center;
  border-radius: 7px;
  color: rgba(247, 251, 255, 0.82);
  display: flex;
  gap: 10px;
  min-height: 44px;
  padding: 10px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

:root[data-theme="light"] .mega-menu a {
  color: rgba(8, 19, 33, 0.76);
}

.mega-menu a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

:root[data-theme="light"] .mega-menu a + a {
  border-top-color: rgba(13, 35, 61, 0.08);
}

.mega-menu a span {
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(82, 229, 255, 0.28);
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.mega-menu a b {
  font-size: 0.86rem;
  font-weight: 650;
}

.mega-menu a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  transform: translateX(3px);
}

:root[data-theme="light"] .mega-menu a:hover {
  background: rgba(13, 35, 61, 0.055);
}

.language-switcher,
.theme-switcher {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 3px;
}

.lang-btn,
.theme-btn {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  height: 32px;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.lang-btn {
  width: 36px;
}

.theme-btn {
  font-size: 0;
  min-width: 34px;
  padding: 0;
  position: relative;
  z-index: 1;
}

.theme-btn::before {
  font-size: 0.86rem;
}

.theme-btn[data-theme-choice="dark"]::before {
  content: "D";
}

.theme-btn[data-theme-choice="light"]::before {
  content: "L";
}

.theme-switcher {
  gap: 0;
  overflow: hidden;
  position: relative;
}

.theme-switcher::before {
  background: linear-gradient(135deg, var(--orange), #ffc45c);
  border-radius: 999px;
  bottom: 3px;
  box-shadow: 0 0 24px rgba(255, 138, 42, 0.35);
  content: "";
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 220ms ease;
  width: calc(50% - 3px);
}

:root[data-theme="light"] .theme-switcher::before {
  transform: translateX(100%);
}

:root[data-theme="light"] .language-switcher,
:root[data-theme="light"] .theme-switcher,
:root[data-theme="light"] .nav-toggle {
  background: rgba(13, 35, 61, 0.055);
}

.lang-btn.active,
.theme-btn.active {
  background: var(--orange);
  box-shadow: 0 0 24px rgba(255, 138, 42, 0.35);
  color: #08111a;
}

.theme-btn.active {
  background: transparent;
  box-shadow: none;
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 0 13px;
  width: 50px;
}

:root[data-theme="light"] .nav-toggle span {
  background: var(--text);
}

.nav-toggle span {
  background: var(--text);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 6px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section-band {
  padding: 112px max(22px, calc((100vw - var(--max)) / 2));
  position: relative;
}

.hero {
  align-items: center;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  padding-top: 132px;
}

.hero-media {
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(3, 6, 13, 0.96) 0%, rgba(3, 6, 13, 0.74) 36%, rgba(3, 6, 13, 0.26) 72%, rgba(3, 6, 13, 0.74) 100%),
    linear-gradient(180deg, rgba(3, 6, 13, 0.15), var(--bg) 96%);
  content: "";
  inset: 0;
  position: absolute;
}

:root[data-theme="light"] .hero-media::after {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.8) 38%, rgba(248, 251, 255, 0.34) 72%, rgba(248, 251, 255, 0.82) 100%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.24), var(--bg) 96%);
}

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

.hero-scan {
  background: linear-gradient(90deg, transparent, rgba(82, 229, 255, 0.14), transparent);
  height: 100%;
  left: -20%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 18%;
  animation: scan 7s ease-in-out infinite;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
  max-width: 840px;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-copy {
  color: #d8e4f2;
  font-size: clamp(1.08rem, 2.1vw, 1.45rem);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 620px;
}

:root[data-theme="light"] .hero-copy {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  min-width: 152px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--orange), #ffc45c);
  box-shadow: 0 18px 48px rgba(255, 111, 26, 0.28);
  color: #071018;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn.secondary:hover {
  border-color: rgba(82, 229, 255, 0.45);
  box-shadow: 0 0 30px rgba(82, 229, 255, 0.13);
}

.hero-orbit {
  bottom: 11%;
  height: 240px;
  position: absolute;
  right: 9%;
  width: 240px;
}

.hero-orbit span {
  border: 1px solid rgba(82, 229, 255, 0.22);
  border-radius: 50%;
  inset: 0;
  position: absolute;
  animation: pulseRing 4s ease-in-out infinite;
}

.hero-orbit span:nth-child(2) {
  animation-delay: 1.2s;
  inset: 38px;
}

.hero-orbit span:nth-child(3) {
  animation-delay: 2.2s;
  border-color: rgba(255, 138, 42, 0.3);
  inset: 78px;
}

.scroll-hint {
  background: linear-gradient(var(--cyan), transparent);
  bottom: 22px;
  height: 74px;
  left: 50%;
  opacity: 0.64;
  position: absolute;
  transform: translateX(-50%);
  width: 1px;
}

.content-page .site-header {
  background: rgba(3, 8, 14, 0.78);
}

:root[data-theme="light"] .content-page .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.page-hero {
  align-items: end;
  display: grid;
  min-height: 64svh;
  overflow: hidden;
  padding-top: 150px;
}

.page-hero-bg {
  inset: 0;
  position: absolute;
  z-index: -1;
}

.page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(3, 6, 13, 0.98), rgba(3, 6, 13, 0.72) 48%, rgba(3, 6, 13, 0.9)),
    linear-gradient(180deg, rgba(3, 6, 13, 0.18), var(--bg) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

:root[data-theme="light"] .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.97), rgba(248, 251, 255, 0.82) 48%, rgba(248, 251, 255, 0.92)),
    linear-gradient(180deg, rgba(248, 251, 255, 0.18), var(--bg) 100%);
}

.page-hero-bg img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.82;
  width: 100%;
}

:root[data-theme="light"] .page-hero-bg img {
  opacity: 0.52;
}

.page-hero-content {
  max-width: 860px;
  position: relative;
}

.page-category {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 18px;
  padding: 8px 14px;
}

.page-content-section {
  padding-top: 56px;
}

.page-content-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.page-article {
  padding: 34px;
}

.page-article h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.page-article.has-custom-page-content [data-page-note],
.page-article.has-custom-page-content .page-card-grid {
  display: none;
}

.page-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.page-info-card,
.page-sidebar {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.page-info-card ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
}

.custom-page-content {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.custom-intro,
.custom-note,
.paragraph-stack p {
  color: var(--muted);
  line-height: 1.75;
}

.custom-intro {
  color: var(--text);
  font-size: 1.05rem;
}

.custom-note {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 18px;
}

.page-editable-note {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 28px;
  padding: 18px;
}

.page-editable-note p {
  margin: 0;
}

.page-editable-note p + p {
  margin-top: 1em;
}

.content-block {
  display: grid;
  gap: 16px;
}

.content-block h3 {
  font-size: 1.18rem;
  margin: 0;
}

.role-grid,
.custom-people-grid,
.resource-grid,
.contact-card-grid {
  display: grid;
  gap: 12px;
}

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

.achievement-browser {
  display: grid;
  gap: 14px;
}

.achievement-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.achievement-year-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.achievement-year-btn:hover,
.achievement-year-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 138, 42, 0.24), rgba(82, 229, 255, 0.11));
  border-color: rgba(255, 138, 42, 0.46);
  color: var(--text);
  transform: translateY(-1px);
}

.achievement-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.achievement-table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.achievement-table th,
.achievement-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.achievement-table th {
  background: rgba(82, 229, 255, 0.11);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.achievement-table td {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.achievement-table td:first-child,
.achievement-table td:nth-child(3) {
  color: var(--text);
  font-weight: 750;
}

.achievement-table td:nth-child(2),
.achievement-table td:nth-child(4) {
  white-space: nowrap;
}

.achievement-table td span {
  background: rgba(255, 138, 42, 0.12);
  border: 1px solid rgba(255, 138, 42, 0.28);
  border-radius: 999px;
  color: var(--orange);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 9px;
}

.achievement-table tr:hover td {
  background: rgba(255, 255, 255, 0.045);
}

.achievement-table tr.is-hidden {
  display: none;
}

.achievement-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.achievement-record {
  background:
    radial-gradient(circle at 92% 8%, rgba(82, 229, 255, 0.12), transparent 6rem),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.achievement-record:hover {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 138, 42, 0.13), transparent 6rem),
    rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 138, 42, 0.36);
  transform: translateY(-2px);
}

.achievement-record.is-hidden {
  display: none;
}

.achievement-record-meta {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.achievement-record-meta span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.achievement-record-meta strong {
  color: var(--muted);
  font-size: 0.76rem;
}

.achievement-record h4 {
  font-size: 0.92rem;
  line-height: 1.38;
  margin: 0;
}

.achievement-record p {
  color: var(--text);
  font-weight: 850;
  margin: 0;
}

.achievement-record small {
  color: var(--muted);
  font-size: 0.78rem;
}

.role-card,
.custom-person-card,
.resource-grid a,
.contact-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.role-card {
  padding: 18px;
}

.role-card:hover,
.custom-person-card:hover,
.resource-grid a:hover,
.contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 138, 42, 0.38);
  transform: translateY(-2px);
}

.role-card span {
  color: var(--orange);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.role-card h4,
.custom-person-card h4 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.role-card p,
.custom-person-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.org-chart {
  display: grid;
  gap: 18px;
  position: relative;
}

.org-chart-lead {
  display: flex;
  justify-content: center;
  position: relative;
}

.org-chart-lead::after {
  background: linear-gradient(180deg, rgba(255, 138, 42, 0.72), rgba(82, 229, 255, 0.42));
  bottom: -18px;
  content: "";
  height: 18px;
  left: 50%;
  position: absolute;
  width: 1px;
}

.org-chart-branch {
  background: linear-gradient(90deg, transparent, rgba(82, 229, 255, 0.42), rgba(255, 138, 42, 0.42), transparent);
  height: 1px;
  margin: 0 auto;
  width: min(76%, 720px);
}

.org-chart-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
}

.org-node {
  background:
    radial-gradient(circle at 88% 8%, rgba(82, 229, 255, 0.14), transparent 9rem),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  position: relative;
}

.org-chart-grid .org-node::before {
  background: rgba(82, 229, 255, 0.34);
  content: "";
  height: 18px;
  left: 50%;
  position: absolute;
  top: -18px;
  width: 1px;
}

.org-node.is-lead {
  background:
    linear-gradient(135deg, rgba(255, 138, 42, 0.18), rgba(82, 229, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 138, 42, 0.38);
  box-shadow: 0 18px 55px rgba(255, 138, 42, 0.08);
  max-width: 560px;
  width: min(100%, 560px);
}

.org-node span {
  color: var(--orange);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.org-node h4 {
  font-size: 1.02rem;
  margin: 0 0 8px;
}

.org-node p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

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

.custom-person-card {
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 16px;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 128px;
  padding: 16px;
  text-align: left;
  width: 100%;
}

.custom-person-card:focus-visible {
  border-color: rgba(255, 138, 42, 0.64);
  box-shadow: 0 0 0 3px rgba(255, 138, 42, 0.16);
  outline: 0;
}

.person-photo {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 70% 20%, rgba(82, 229, 255, 0.28), transparent 42%),
    linear-gradient(135deg, rgba(255, 138, 42, 0.95), rgba(82, 229, 255, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #06111e;
  display: flex;
  flex: 0 0 88px;
  font-size: 1rem;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 88px;
}

.person-photo img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.person-photo img.is-hidden {
  display: none;
}

.person-photo span {
  position: relative;
  z-index: 1;
}

.signature-flow {
  background:
    radial-gradient(circle at 18% 8%, rgba(82, 229, 255, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: clamp(18px, 4vw, 34px);
}

.signature-steps {
  display: grid;
  gap: 18px;
}

.signature-step {
  align-items: center;
  color: #06111e;
  display: flex;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0;
  min-height: 82px;
  padding: 18px 58px;
  position: relative;
  text-transform: uppercase;
  width: min(82%, 520px);
}

.signature-step.is-right {
  background: #fffadf;
  clip-path: polygon(0 0, calc(100% - 58px) 0, 100% 50%, calc(100% - 58px) 100%, 0 100%);
  justify-self: end;
  padding-left: 28px;
  padding-right: 76px;
}

.signature-step.is-left {
  background: #d07e70;
  clip-path: polygon(58px 0, 100% 0, 100% 100%, 58px 100%, 0 50%);
  justify-self: start;
  padding-left: 76px;
  padding-right: 28px;
}

.signature-step span {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
}

.signature-step strong {
  font-size: clamp(1.3rem, 4vw, 2.15rem);
  line-height: 1;
}

.signature-notes {
  background: rgba(3, 8, 14, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px;
}

.signature-notes h4 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.signature-notes ol {
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.7;
  margin: 0;
  padding-left: 20px;
}

.profile-modal-open {
  overflow: hidden;
}

.profile-modal-backdrop {
  align-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(82, 229, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 78% 70%, rgba(255, 138, 42, 0.12), transparent 24rem),
    rgba(2, 5, 10, 0.78);
  backdrop-filter: blur(16px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 140;
}

.profile-modal {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  max-height: min(720px, calc(100vh - 48px));
  max-width: 920px;
  overflow: hidden;
  position: relative;
  width: min(100%, 920px);
}

.profile-modal::before {
  background: linear-gradient(90deg, rgba(255, 138, 42, 0.72), rgba(82, 229, 255, 0.3), transparent);
  content: "";
  height: 1px;
  inset: 0 0 auto;
  position: absolute;
}

.profile-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 38px;
  z-index: 2;
}

.profile-modal-close:hover,
.profile-modal-close:focus-visible {
  background: rgba(255, 138, 42, 0.16);
  border-color: rgba(255, 138, 42, 0.44);
  outline: 0;
  transform: rotate(90deg);
}

.profile-modal-visual {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(5, 12, 20, 0.58);
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: 38px;
}

.profile-photo {
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  flex-basis: auto;
  font-size: 2.5rem;
  width: min(100%, 260px);
}

.profile-modal-body {
  overflow-y: auto;
  padding: 46px;
}

.profile-modal-body h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 14px;
  max-width: 92%;
}

.profile-role {
  color: var(--orange);
  font-weight: 850;
  line-height: 1.55;
  margin-bottom: 28px;
}

.profile-modal-section {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.profile-modal-section h3 {
  font-size: 0.82rem;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.profile-modal-section p,
.profile-modal-note {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.profile-modal-note {
  background: rgba(255, 138, 42, 0.08);
  border: 1px solid rgba(255, 138, 42, 0.22);
  border-radius: 8px;
  padding: 16px;
}

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

.resource-grid a {
  color: var(--text);
  font-weight: 850;
  padding: 14px 16px;
}

.curriculum-browser {
  display: grid;
  gap: 14px;
}

.curriculum-tabs {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 6px;
}

.curriculum-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  min-height: 38px;
  padding: 8px 10px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.curriculum-tab:hover,
.curriculum-tab.is-active {
  background: rgba(255, 138, 42, 0.12);
  border-color: rgba(255, 138, 42, 0.38);
  color: var(--text);
}

.curriculum-tab.is-active {
  box-shadow: 0 0 26px rgba(255, 138, 42, 0.1);
}

.curriculum-panels {
  display: grid;
}

.curriculum-semester-panel {
  display: none;
  gap: 12px;
}

.curriculum-semester-panel.is-active {
  display: grid;
}

.curriculum-panel-head {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.14), rgba(255, 138, 42, 0.08)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px;
}

.curriculum-panel-head span,
.course-area {
  color: var(--orange);
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.curriculum-panel-head h4 {
  font-size: 0.98rem;
  line-height: 1.42;
  margin: 6px 0 0;
}

.curriculum-panel-head strong {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  flex: 0 0 auto;
  font-size: 0.76rem;
  padding: 7px 10px;
}

.curriculum-course-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.curriculum-course-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 14px;
  position: relative;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.curriculum-course-card::after {
  background: linear-gradient(90deg, rgba(255, 138, 42, 0), rgba(255, 138, 42, 0.82));
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 2px;
  left: 14px;
  opacity: 0;
  position: absolute;
  right: 14px;
  transition: opacity 180ms ease;
}

.curriculum-course-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 138, 42, 0.38);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.curriculum-course-card:hover::after {
  opacity: 1;
}

.curriculum-course-card h5 {
  font-size: 0.9rem;
  line-height: 1.32;
  margin: 0;
}

.curriculum-course-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.curriculum-course-card strong {
  align-self: end;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
}

.education-semester-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.education-semester-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.education-semester-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.education-semester-head span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.education-semester-head strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.72rem;
  padding: 5px 8px;
}

.education-semester-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.education-semester-card ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.education-semester-card li {
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 7px;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  padding-top: 7px;
}

:root[data-theme="light"] .education-semester-card li {
  border-top-color: rgba(13, 35, 61, 0.08);
}

.education-semester-card li span,
.education-semester-card li em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.education-semester-card li b {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.3;
}

.media-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.media-preview {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.media-preview img {
  background: rgba(255, 255, 255, 0.04);
  display: block;
  height: auto;
  max-height: 900px;
  object-fit: contain;
  width: 100%;
}

.media-preview figcaption {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 850;
  padding: 14px 16px 0;
}

.media-fallback {
  color: var(--muted);
  display: none;
  line-height: 1.65;
  margin: 0;
  padding: 14px 16px 16px;
}

.media-preview.is-missing img {
  display: none;
}

.media-preview.is-missing .media-fallback {
  display: block;
}

.embed-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: min(72vh, 720px);
  min-height: 520px;
  overflow: hidden;
}

.embed-panel iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.compact-resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
}

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

.contact-card {
  color: var(--text);
  display: block;
  min-height: 112px;
  padding: 18px;
  text-decoration: none;
}

.contact-card span {
  color: var(--orange);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.schedule-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.schedule-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.schedule-table th,
.schedule-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  background: rgba(255, 255, 255, 0.07);
  color: var(--orange);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.schedule-table td {
  color: var(--muted);
  line-height: 1.55;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.history-detail {
  display: grid;
  gap: 26px;
}

.history-detail section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.history-detail section:first-child {
  border-top: 0;
  padding-top: 0;
}

.history-detail p,
.history-detail li {
  color: var(--muted);
  line-height: 1.82;
}

.history-detail ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.history-highlight {
  background: rgba(255, 138, 42, 0.08);
  border: 1px solid rgba(255, 138, 42, 0.22);
  border-radius: var(--radius);
  padding: 24px !important;
}

.history-highlight blockquote {
  border-left: 3px solid var(--orange);
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.7;
  margin: 18px 0 0;
  padding-left: 18px;
}

.page-sidebar {
  align-self: start;
  position: sticky;
  top: 108px;
}

.page-sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.related-list {
  display: grid;
  gap: 8px;
}

.related-link {
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  padding: 12px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.related-link:hover,
.related-link.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 138, 42, 0.36);
  color: var(--text);
}

.page-back {
  margin-top: 18px;
  width: 100%;
}

.section-heading {
  max-width: 860px;
}

.section-heading-row {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  max-width: none;
}

.section-heading-row > div {
  max-width: 760px;
}

.home-snapshot,
.home-gateway,
.home-research,
.home-media,
.compact-news {
  padding-bottom: 76px;
  padding-top: 76px;
}

.snapshot-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 420px;
}

.compact-actions {
  margin-top: 28px;
}

.mini-stat-grid {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.mini-stat-grid div {
  min-height: 128px;
  padding: 24px;
}

.mini-stat-grid div:nth-child(2),
.mini-stat-grid div:nth-child(4) {
  border-left: 1px solid var(--line);
}

.mini-stat-grid div:nth-child(3),
.mini-stat-grid div:nth-child(4) {
  border-top: 1px solid var(--line);
}

.mini-stat-grid strong,
.mini-stat-grid span {
  display: block;
}

.mini-stat-grid strong {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  margin-bottom: 12px;
}

.mini-stat-grid span {
  color: var(--muted);
  font-weight: 750;
}

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

.gateway-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(6, 13, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 210px;
  padding: 22px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

:root[data-theme="light"] .home-gateway {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 124, 158, 0.055), rgba(255, 255, 255, 0));
}

:root[data-theme="light"] .gateway-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.78)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 35, 61, 0.13);
  box-shadow: 0 22px 70px rgba(20, 42, 68, 0.1);
  color: var(--text);
}

.gateway-card:hover {
  border-color: rgba(255, 138, 42, 0.45);
  box-shadow: 0 26px 80px rgba(255, 138, 42, 0.1);
  transform: translateY(-5px);
}

:root[data-theme="light"] .gateway-card:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 248, 241, 0.82)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(233, 111, 18, 0.36);
  box-shadow: 0 24px 70px rgba(233, 111, 18, 0.14);
}

.gateway-card span {
  color: var(--orange);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 42px;
}

.gateway-card p {
  color: var(--muted);
  line-height: 1.6;
}

:root[data-theme="light"] .gateway-card h3 {
  color: var(--text);
}

.focus-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 38px;
  overflow: hidden;
}

.focus-strip a {
  background: rgba(255, 255, 255, 0.045);
  min-height: 140px;
  padding: 24px;
  transition: background 180ms ease, color 180ms ease;
}

.focus-strip a + a {
  border-left: 1px solid var(--line);
}

.focus-strip a:hover {
  background: rgba(255, 138, 42, 0.1);
}

.focus-strip span,
.focus-strip strong {
  display: block;
}

.focus-strip span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  margin-bottom: 34px;
}

.focus-strip strong {
  line-height: 1.3;
}

.youtube-panel,
.instagram-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 24px;
  overflow: hidden;
}

.home-media .youtube-panel {
  margin-top: 38px;
}

.youtube-panel {
  display: grid;
  grid-template-columns: 1fr;
}

.instagram-panel-live {
  padding: 24px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 138, 42, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(82, 229, 255, 0.12), rgba(255, 255, 255, 0.025));
  min-height: 100%;
}

.video-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.instagram-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.instagram-panel {
  padding: 18px;
}

.instagram-header {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.instagram-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  border-radius: 7px;
  color: #071018;
  display: flex;
  font-weight: 950;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.instagram-header strong,
.instagram-header small {
  display: block;
}

.instagram-header small {
  color: var(--muted);
  margin-top: 2px;
}

.instagram-live-feed {
  width: 100%;
}

.instagram-photo {
  border-radius: 7px;
  margin-bottom: 16px;
  overflow: hidden;
}

.instagram-photo img {
  display: block;
  height: 230px;
  object-fit: cover;
  width: 100%;
}

.instagram-visual {
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 138, 42, 0.34), transparent 11rem),
    linear-gradient(135deg, rgba(82, 229, 255, 0.18), rgba(140, 125, 255, 0.12)),
    #07111d;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 230px;
  overflow: hidden;
  padding: 18px;
}

.instagram-visual span {
  align-self: end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(82, 229, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.instagram-visual span:nth-child(1) {
  height: 58%;
}

.instagram-visual span:nth-child(2) {
  height: 84%;
}

.instagram-visual span:nth-child(3) {
  height: 42%;
}

.instagram-actions {
  display: flex;
  gap: 8px;
  margin: 16px 0 18px;
}

.instagram-actions span {
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 14px;
  width: 14px;
}

.gallery-slider {
  border-radius: var(--radius);
  margin-top: 32px;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  transition: transform 600ms ease;
}

.gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
}

.gallery-slide img {
  aspect-ratio: 16 / 7;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.gallery-slide figcaption {
  background: linear-gradient(180deg, transparent, rgba(4, 9, 16, 0.86));
  bottom: 0;
  left: 0;
  padding: 32px 24px 20px;
  position: absolute;
  right: 0;
}

.gallery-slide h3 {
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  margin: 0 0 6px;
}

.gallery-slide p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  margin: 0;
  max-width: 640px;
}

.gallery-dots {
  bottom: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  position: absolute;
  right: 24px;
}

.gallery-dot {
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  transition: background 180ms ease, width 180ms ease;
  width: 9px;
}

.gallery-dot.active {
  background: var(--orange);
  width: 22px;
}

@media (max-width: 640px) {
  .gallery-slide img {
    aspect-ratio: 4 / 3;
  }

  .gallery-dots {
    justify-content: center;
    right: 0;
  }
}

.instagram-panel a {
  color: var(--orange);
  display: inline-flex;
  font-weight: 850;
  margin-top: 6px;
}

.news-archive {
  padding-top: 56px;
}

.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.archive-chip {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.archive-chip:hover,
.archive-chip.active {
  background: rgba(255, 138, 42, 0.14);
  border-color: rgba(255, 138, 42, 0.42);
  color: var(--text);
}

.archive-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.85fr 1.15fr;
}

.archive-feature,
.archive-news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.archive-feature {
  align-self: start;
  min-height: 480px;
  overflow: hidden;
  padding: 30px;
  position: sticky;
  top: 108px;
}

.archive-feature-media {
  aspect-ratio: 16 / 9;
  margin: -30px -30px 24px;
  overflow: hidden;
}

.archive-feature-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.archive-feature span,
.archive-news-card span {
  color: var(--orange);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.archive-feature time,
.archive-news-card time {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  margin-bottom: 46px;
}

.archive-feature h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1;
}

.archive-feature p,
.archive-news-card p {
  color: var(--muted);
  line-height: 1.65;
}

.archive-feature .btn {
  margin-top: 28px;
}

.archive-list {
  display: grid;
  gap: 14px;
}

.archive-news-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.archive-news-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.archive-news-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.archive-news-card-body {
  padding: 24px;
}

.archive-news-card:hover {
  border-color: rgba(255, 138, 42, 0.45);
  box-shadow: 0 26px 80px rgba(255, 138, 42, 0.1);
  transform: translateY(-4px);
}

.archive-feature.is-filtered-out,
.archive-news-card.is-filtered-out {
  display: none;
}

.archive-layout.feature-hidden {
  grid-template-columns: 1fr;
}

.news-detail-section {
  padding-top: 56px;
}

.news-detail-article {
  margin: 0 auto;
  max-width: 920px;
  padding: 36px;
}

.news-detail-article time {
  color: var(--orange);
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
  margin-bottom: 32px;
}

.news-detail-article h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.news-detail-article p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.news-detail-body {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding-top: 28px;
}

.partners-section {
  padding-top: 56px;
}

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

.partner-type-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 260px;
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-type-card:hover {
  border-color: rgba(255, 138, 42, 0.45);
  box-shadow: 0 26px 80px rgba(255, 138, 42, 0.1);
  transform: translateY(-5px);
}

.partner-type-card span {
  color: var(--orange);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 48px;
}

.partner-type-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.partner-type-card p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
}

.about-grid,
.dashboard-grid,
.news-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.glass,
.vision-card,
.metric-panel,
.academic-shell {
  backdrop-filter: blur(20px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vision-card,
.metric-panel {
  min-height: 230px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.vision-card::after,
.metric-panel::after,
.news-card::after {
  background: linear-gradient(135deg, transparent, rgba(82, 229, 255, 0.08), rgba(255, 138, 42, 0.08));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 180ms ease;
}

.vision-card:hover::after,
.metric-panel:hover::after,
.news-card:hover::after {
  opacity: 1;
}

.card-index {
  color: var(--orange);
  display: block;
  font-size: 0.84rem;
  font-weight: 850;
  margin-bottom: 54px;
}

.vision-card p,
.expertise-card p,
.facility-card p,
.person-card p,
.metric-panel p,
.news-card p,
.academic-shell p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.stats-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 18px;
  overflow: hidden;
}

.stats-grid div {
  background: rgba(255, 255, 255, 0.045);
  min-height: 128px;
  padding: 22px;
}

.stats-grid div + div {
  border-left: 1px solid var(--line);
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 12px;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 700;
}

.expertise-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
}

.expertise-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(6, 13, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 238px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.expertise-card::before {
  background: linear-gradient(135deg, rgba(82, 229, 255, 0.2), transparent 55%);
  content: "";
  height: 120px;
  position: absolute;
  right: -40px;
  top: -40px;
  transform: rotate(28deg);
  width: 120px;
}

.expertise-card:hover,
.facility-card:hover,
.person-card:hover {
  border-color: rgba(255, 138, 42, 0.45);
  box-shadow: 0 26px 80px rgba(255, 138, 42, 0.1);
  transform: translateY(-5px);
}

.expertise-card span {
  align-items: center;
  background: rgba(255, 138, 42, 0.13);
  border: 1px solid rgba(255, 138, 42, 0.3);
  border-radius: 999px;
  color: #ffc98c;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 54px;
  min-width: 48px;
  padding: 0 12px;
}

.expertise-card.wide {
  grid-column: span 2;
}

.facility-showcase,
.people-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.facility-card,
.person-card,
.news-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.facility-card {
  padding: 14px 14px 24px;
}

.facility-card h3,
.facility-card p {
  padding: 0 10px;
}

.facility-visual {
  border-radius: 7px;
  height: 220px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.facility-visual::before,
.facility-visual::after {
  content: "";
  position: absolute;
}

.facility-visual.wave {
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(82, 229, 255, 0.16) 25px 26px),
    linear-gradient(135deg, rgba(82, 229, 255, 0.22), rgba(255, 138, 42, 0.09)),
    #07111d;
}

.facility-visual.wave::before {
  border: 1px solid rgba(82, 229, 255, 0.42);
  border-radius: 50%;
  inset: 32px;
  animation: pulseRing 3.8s ease-in-out infinite;
}

.facility-visual.fiber {
  background:
    radial-gradient(circle at 78% 50%, rgba(255, 138, 42, 0.45), transparent 14rem),
    linear-gradient(120deg, transparent 0 24%, rgba(95, 255, 214, 0.38) 25%, transparent 27% 100%),
    #060d16;
}

.facility-visual.fiber::before {
  background: linear-gradient(90deg, transparent, rgba(82, 229, 255, 0.95), transparent);
  height: 3px;
  left: 0;
  top: 50%;
  transform: rotate(-18deg);
  width: 120%;
}

.facility-visual.embedded {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #07111c;
  background-size: 32px 32px;
}

.facility-visual.embedded::before {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 7px;
  box-shadow: 0 0 34px rgba(82, 229, 255, 0.38);
  height: 78px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 118px;
}

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

.person-card {
  padding: 22px;
}

.avatar {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 138, 42, 0.9), rgba(82, 229, 255, 0.84));
  border-radius: 7px;
  color: #071018;
  display: flex;
  font-size: 1rem;
  font-weight: 950;
  height: 92px;
  justify-content: center;
  margin-bottom: 24px;
  width: 92px;
}

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

.metric-panel span {
  color: var(--orange);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 48px;
  text-transform: uppercase;
}

.service-panel {
  background:
    linear-gradient(135deg, rgba(255, 138, 42, 0.14), rgba(82, 229, 255, 0.08)),
    var(--panel);
}

.academic-shell {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 42px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: 54px 1fr;
  padding: 18px;
}

.timeline span {
  color: var(--orange);
  font-weight: 900;
}

.timeline p,
.timeline h3 {
  grid-column: 2;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 264px;
  padding: 0;
  position: relative;
}

.news-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.news-card time {
  color: var(--orange);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.news-card:not(:has(.news-card-media)) time {
  margin-bottom: 52px;
}

.partner-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  overflow: hidden;
}

.partner-strip a,
.partner-strip span {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 251, 255, 0.74);
  display: flex;
  font-weight: 850;
  height: 108px;
  justify-content: center;
}

.partner-strip a {
  transition: background 180ms ease, color 180ms ease;
}

.partner-strip a:hover {
  background: rgba(255, 138, 42, 0.14);
  color: var(--orange);
}

:root[data-theme="light"] .partner-strip a,
:root[data-theme="light"] .partner-strip span {
  background: rgba(13, 35, 61, 0.045);
  color: rgba(8, 19, 33, 0.68);
}

:root[data-theme="light"] .partner-strip a:hover {
  background: rgba(255, 138, 42, 0.16);
  color: #b75112;
}

.site-footer {
  background:
    linear-gradient(180deg, transparent, rgba(255, 138, 42, 0.05)),
    rgba(2, 5, 10, 0.92);
  border-top: 1px solid var(--line);
  padding: 72px max(22px, calc((100vw - var(--max)) / 2));
}

:root[data-theme="light"] .site-footer {
  background:
    linear-gradient(180deg, transparent, rgba(255, 138, 42, 0.08)),
    rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  gap: 46px;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
}

.footer-brand {
  margin-bottom: 22px;
}

.site-footer h3 {
  margin-bottom: 18px;
}

.site-footer a:not(.brand) {
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
  transition: color 180ms ease;
}

.site-footer a:not(.brand):hover {
  color: var(--orange);
}

.footer-credit {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  margin: 32px 0 0;
  padding-top: 18px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex !important;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes scan {
  0%,
  34% {
    left: -22%;
  }
  65%,
  100% {
    left: 112%;
  }
}

@keyframes pulseRing {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .site-header {
    border-radius: 22px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .brand strong {
    max-width: min(240px, 34vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-panel {
    align-items: stretch;
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    justify-content: flex-start;
    padding: 8px 0 4px;
  }

  .header-controls {
    align-self: flex-start;
    margin-left: 0;
    order: 2;
  }

  .nav-toggle {
    order: 3;
  }

  .nav-open .nav-panel {
    display: flex;
    order: 4;
  }

  .main-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-item > button,
  .nav-direct .nav-link {
    display: flex;
    justify-content: space-between;
    padding: 14px 12px;
    width: 100%;
  }

  .nav-item::before {
    display: none;
  }

  .nav-item > button::after,
  .nav-direct .nav-link::after {
    margin: 0;
    transform: scaleX(1);
    width: 8px;
  }

  .mega-menu,
  .mega-menu.compact {
    box-shadow: none;
    display: none;
    grid-template-columns: 1fr;
    margin: 4px 0 10px;
    opacity: 1;
    padding: 8px;
    pointer-events: auto;
    position: static;
    transform: none;
    width: 100%;
  }

  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu,
  .nav-item.is-open .mega-menu {
    left: auto;
    opacity: 1;
    pointer-events: auto;
    top: auto;
    transform: none;
  }

  .nav-item.is-open .mega-menu {
    display: grid;
  }

  .language-switcher {
    align-self: flex-start;
  }

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

  .people-grid,
  .dashboard-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-shell {
    grid-template-columns: 1fr;
  }

  .snapshot-grid,
  .gateway-grid,
  .focus-strip,
  .archive-layout,
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .archive-feature {
    position: static;
  }

  .page-content-grid,
  .page-card-grid,
  .role-grid,
  .org-chart-grid,
  .custom-people-grid,
  .resource-grid,
  .curriculum-course-grid,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

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

  .page-sidebar {
    position: static;
  }

  .profile-modal {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .profile-modal-visual {
    min-height: 260px;
    padding: 34px 72px 22px;
  }

  .profile-photo {
    max-width: 210px;
  }

  .profile-modal-body {
    padding: 34px;
  }

  .signature-step {
    min-height: 74px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: auto 1fr auto auto;
    justify-content: stretch;
    max-width: calc(100% - 12px);
    padding: 8px 8px 8px 10px;
    top: 10px;
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
    grid-column: 1;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .brand strong,
  .brand small {
    display: none;
  }

  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading-row .btn {
    width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .header-controls {
    gap: 6px;
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }

  .language-switcher {
    display: flex;
  }

  .theme-btn {
    font-size: 0;
    min-width: 34px;
    padding: 0;
  }

  .nav-toggle {
    display: block !important;
    grid-column: 4;
    height: 38px;
    justify-self: end;
    width: 44px;
  }

  .nav-panel {
    grid-column: 1 / -1;
  }

  .theme-btn::before {
    font-size: 0.9rem;
  }

  .theme-btn[data-theme-choice="dark"]::before {
    content: "D";
  }

  .theme-btn[data-theme-choice="light"]::before {
    content: "L";
  }

  .section-band {
    padding: 82px 18px;
  }

  .hero {
    min-height: 88svh;
    padding-top: 120px;
  }

  .hero-media img {
    opacity: 0.72;
    object-position: 64% center;
  }

  .hero-orbit {
    display: none;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .about-grid,
  .facility-showcase,
  .people-grid,
  .dashboard-grid,
  .news-grid,
  .snapshot-grid,
  .gateway-grid,
  .focus-strip,
  .youtube-panel,
  .archive-layout,
  .partners-grid,
  .footer-grid,
  .role-grid,
  .org-chart-grid,
  .custom-people-grid,
  .resource-grid,
  .curriculum-course-grid,
  .contact-card-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-tabs {
    grid-template-columns: 1fr;
  }

  .curriculum-panel-head {
    flex-direction: column;
  }

  .expertise-card.wide {
    grid-column: auto;
  }

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

  .stats-grid div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .mini-stat-grid {
    grid-template-columns: 1fr;
  }

  .mini-stat-grid div:nth-child(2),
  .mini-stat-grid div:nth-child(4) {
    border-left: 0;
  }

  .mini-stat-grid div + div {
    border-top: 1px solid var(--line);
  }

  .focus-strip a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .partner-strip {
    grid-template-columns: 1fr 1fr;
  }

  .partner-strip span:last-child {
    grid-column: 1 / -1;
  }

  .academic-shell {
    padding: 24px;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline p,
  .timeline h3 {
    grid-column: auto;
  }

  .custom-person-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 108px;
  }

  .person-photo {
    flex-basis: 72px;
    width: 72px;
  }

  .profile-modal-backdrop {
    align-items: stretch;
    padding: 14px;
  }

  .profile-modal {
    max-height: calc(100vh - 28px);
  }

  .profile-modal-visual {
    min-height: 190px;
    padding: 28px 58px 18px;
  }

  .profile-photo {
    max-width: 150px;
  }

  .profile-modal-body {
    padding: 26px;
  }

  .profile-modal-body h2 {
    max-width: 100%;
  }

  .signature-step,
  .signature-step.is-left,
  .signature-step.is-right {
    clip-path: none;
    justify-self: stretch;
    padding: 18px;
  }

  .signature-step strong {
    line-height: 1.12;
  }
}

@media (min-width: 1121px) and (max-width: 1360px) {
  .site-header {
    max-width: calc(100% - 18px);
  }

  .brand {
    gap: 8px;
    min-width: 168px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 128px;
  }

  .nav-panel {
    gap: 6px;
  }

  .nav-item > button,
  .nav-direct .nav-link {
    font-size: 0.84rem;
    padding-inline: 6px;
  }
}

@media (max-width: 520px) {
  .brand strong {
    max-width: 128px;
  }

  .site-header {
    padding-left: 8px;
  }

  .theme-btn {
    min-width: 32px;
  }
}

@media (max-width: 430px) {
  .brand {
    flex: 0 0 auto;
  }

  .brand strong,
  .brand small {
    display: none;
  }
}

@media (max-width: 380px) {
  .brand strong {
    max-width: 104px;
  }
}

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

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(13, 35, 61, 0.14) !important;
}

:root[data-theme="light"] .site-header.is-scrolled,
:root[data-theme="light"] .content-page .site-header {
  background: rgba(255, 255, 255, 0.92) !important;
}

/* WordPress integration */
.admin-bar .site-header {
  top: 32px;
}

.wp-content {
  color: var(--muted);
  line-height: 1.75;
}

.wp-content > * + * {
  margin-top: 1.1em;
}

.wp-content h2,
.wp-content h3,
.wp-content h4 {
  color: var(--text);
  line-height: 1.15;
}

.wp-content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.wp-content h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
}

.wp-content a {
  color: var(--cyan);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.wp-content img,
.wp-content video,
.wp-content iframe {
  border-radius: 8px;
  max-width: 100%;
}

.wp-content table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: 100%;
}

.wp-content th,
.wp-content td {
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.wp-content blockquote {
  border-left: 4px solid var(--orange);
  color: var(--text);
  margin-left: 0;
  padding-left: 18px;
}

.itera-imported-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
}

.itera-imported-gallery figure {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.itera-imported-gallery img {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.itera-imported-gallery figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  padding: 10px 12px;
  word-break: break-word;
}

.itera-staff-intro {
  margin-bottom: 1.5rem;
  color: var(--text-secondary, #555);
  line-height: 1.7;
}

.itera-staff-section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2rem 0 0;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
}

.itera-staff-section-desc {
  margin: .5rem 0 0;
  color: var(--text-secondary, #555);
  font-size: .93rem;
  line-height: 1.6;
}

.itera-imported-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-top: 18px;
}

.itera-role-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.itera-role-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.itera-role-card:hover {
  border-color: rgba(82, 229, 255, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.itera-role-tag {
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  border-radius: 999px;
  color: #06111a;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 12px;
  padding: 4px 12px;
}

.itera-role-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.itera-role-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.itera-person-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  padding: 18px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.itera-person-card:hover,
.itera-person-card:focus-visible {
  border-color: rgba(82, 229, 255, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.itera-person-card img {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  height: 96px;
  margin-bottom: 14px;
  object-fit: cover;
  width: 96px;
}

.itera-person-card h3 {
  color: var(--text);
  font-size: 1rem;
  margin: 0 0 4px;
}

.itera-person-card p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

body.itera-modal-open {
  overflow: hidden;
}

.itera-person-modal {
  align-items: center;
  background: rgba(4, 9, 16, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 999;
}

.itera-person-modal[hidden] {
  display: none;
}

.itera-person-modal-box {
  background: var(--panel-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 86vh;
  max-width: 420px;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  width: 100%;
}

.itera-person-modal-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px;
  position: absolute;
  right: 14px;
  top: 14px;
}

.itera-person-modal-close:hover {
  color: var(--text);
}

.itera-person-modal-photo {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  display: block;
  height: 120px;
  margin: 0 auto 18px;
  object-fit: cover;
  width: 120px;
}

.itera-person-modal-box h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin: 0 0 4px;
  text-align: center;
}

.itera-person-modal-role {
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 16px;
  text-align: center;
}

.itera-person-modal-bio {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.itera-embed-frame {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.itera-embed-frame iframe {
  display: block;
}

.itera-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.itera-document-link {
  font-size: 0.92rem;
  min-height: 44px;
  min-width: 0;
  text-align: center;
}

.wp-caption,
.wp-block-image figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0.4rem 1.2rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.4rem 0 1rem 1.2rem;
}

.pagination-nav {
  margin-top: 34px;
  text-align: center;
}

.pagination-nav .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pagination-nav .page-numbers {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 850;
  min-width: 42px;
  padding: 10px 14px;
}

.pagination-nav .page-numbers.current,
.pagination-nav .page-numbers:hover {
  background: rgba(255, 138, 42, 0.14);
  border-color: rgba(255, 138, 42, 0.42);
  color: var(--text);
}

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

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 1rem 0;
  }
}

/* Stable Polylang language controls */
.header-controls {
  flex-shrink: 0;
  white-space: nowrap;
}

.language-switcher {
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  height: 40px;
}

.lang-btn {
  align-items: center;
  display: inline-flex;
  flex: 0 0 36px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  width: 36px;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--text);
  outline: 0;
}

.lang-btn.active:hover {
  color: #08111a;
}

@media (max-width: 1120px) {
  .header-controls {
    align-items: center;
    display: flex;
    gap: 6px;
  }

  .language-switcher {
    align-self: center;
  }
}

/* Final alignment pass for language buttons rendered as links. */
.language-switcher {
  align-items: center !important;
  box-sizing: border-box;
  display: grid !important;
  gap: 2px !important;
  grid-template-columns: 36px 36px;
  height: 40px !important;
  justify-items: center;
  padding: 3px !important;
}

.language-switcher .lang-btn {
  align-items: center !important;
  box-sizing: border-box;
  display: flex !important;
  flex: 0 0 36px !important;
  font-size: 0 !important;
  height: 32px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 32px !important;
  min-width: 36px !important;
  padding: 0 !important;
  text-align: center;
  transform: none !important;
  width: 36px !important;
}

.language-switcher .lang-btn::before {
  content: attr(data-lang);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
