/*
 * Refined visual system
 * Editorial grid, restrained motion and a single marine-teal accent.
 */

:root {
  --shell: min(1320px, calc(100vw - 96px));
  --refine-ink: #092d37;
  --refine-ink-2: #315861;
  --refine-muted: #6c898e;
  --refine-line: rgba(9, 57, 68, 0.14);
  --refine-paper: #f1f7f5;
  --refine-mist: #e1efee;
  --refine-teal: #28aaa5;
  --refine-teal-deep: #08777b;
}

body {
  color: var(--refine-ink);
  background: var(--refine-paper);
  font-family: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.utility-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 112;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  color: rgba(232, 250, 249, 0.76);
  background: rgba(1, 24, 33, 0.28);
  border-bottom: 1px solid rgba(214, 249, 246, 0.13);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, opacity 180ms ease;
}

.utility-bar.scrolled {
  opacity: 0;
  transform: translateY(-100%);
}

.utility-bar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-bar b {
  width: 1px;
  height: 10px;
  background: rgba(218, 249, 247, 0.2);
}

.utility-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a5fff4;
}

.utility-status i {
  width: 6px;
  height: 6px;
  background: #63e3d9;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(99, 227, 217, 0.7);
}

.utility-bar a:hover {
  color: #ffffff;
}

.site-header {
  top: 32px;
  height: 72px;
  grid-template-columns: minmax(250px, 1fr) auto minmax(150px, 1fr);
  padding: 0 38px;
  border-bottom-color: rgba(222, 251, 249, 0.12);
  transition: top 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  top: 0;
  height: 68px;
  background: rgba(242, 248, 246, 0.94);
  border-bottom-color: var(--refine-line);
  box-shadow: 0 8px 28px rgba(12, 70, 78, 0.06);
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: #d8fffa;
  background: rgba(218, 255, 250, 0.05);
  border-color: rgba(218, 255, 250, 0.32);
  border-radius: 3px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  border-radius: 0;
}

.brand-mark::before {
  width: 54px;
  height: 13px;
  transform: rotate(-24deg);
}

.brand-mark::after {
  width: 13px;
  height: 54px;
  transform: rotate(24deg);
}

.brand-mark i {
  width: 26px;
  height: 26px;
}

.brand-mark b {
  font-size: 8px;
}

.brand-copy strong {
  color: #f2ffff;
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: rgba(211, 239, 239, 0.58);
  font-size: 7px;
}

.site-header.scrolled .brand-mark {
  color: var(--refine-teal-deep);
  background: rgba(13, 123, 126, 0.05);
  border-color: rgba(13, 123, 126, 0.24);
}

.site-header.scrolled .brand-copy strong {
  color: var(--refine-ink);
}

.site-nav {
  gap: clamp(18px, 2vw, 32px);
}

.site-nav a {
  color: rgba(223, 245, 244, 0.72);
  font-family: Consolas, "Microsoft YaHei", sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.site-nav a::after {
  bottom: 0;
  background: #79e4dc;
}

.nav-cta {
  gap: 12px;
  padding: 9px 11px 9px 15px;
  color: #f0fffd;
  background: rgba(3, 43, 54, 0.48);
  border: 1px solid rgba(221, 250, 248, 0.26);
  border-radius: 3px;
  font-family: Consolas, "Microsoft YaHei", sans-serif;
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.nav-cta span {
  width: 22px;
  height: 22px;
  color: #06343e;
  background: #8be8df;
  border-radius: 2px;
}

.site-header.scrolled .nav-cta {
  color: #efffff;
  background: var(--refine-ink);
  border-color: var(--refine-ink);
}

.hero {
  min-height: 780px;
  background:
    linear-gradient(90deg, rgba(0, 25, 36, 0.9) 0%, rgba(0, 33, 45, 0.77) 32%, rgba(0, 45, 58, 0.31) 58%, rgba(0, 25, 36, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 32, 43, 0.1), rgba(0, 20, 28, 0.3)),
    url("./assets/hero/deep-discoverer.jpg") 58% center / cover no-repeat;
}

.hero-grid {
  opacity: 0.24;
  background-size: 72px 72px;
}

#ocean-canvas {
  opacity: 0.3;
}

.sonar-field,
.hud,
.coordinates,
.hero-note {
  display: none;
}

.hero-content {
  grid-template-columns: minmax(490px, 0.92fr) minmax(400px, 1.08fr);
  gap: 44px;
  padding-top: 126px;
  padding-bottom: 80px;
}

.hero-copy {
  align-self: end;
  padding: 0 0 44px;
}

.eyebrow {
  margin-bottom: 28px;
  color: #a6cece;
  font-size: 9px;
}

.eyebrow > span {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 4px rgba(93, 228, 221, 0.08), 0 0 12px rgba(93, 228, 221, 0.7);
}

.hero h1 {
  max-width: 760px;
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: clamp(70px, 7.3vw, 118px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero h1 span {
  color: #f4ffff;
  white-space: nowrap;
}

.hero h1 em {
  width: max-content;
  margin-top: 18px;
  padding-right: 0.12em;
  color: #86e7df;
  font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 0.82em;
  font-weight: 650;
  font-style: normal;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero-copy > p {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(220, 241, 240, 0.76);
  font-size: 14px;
  line-height: 1.9;
  text-shadow: none;
}

.hero-actions {
  gap: 10px;
  margin-top: 30px;
}

.button {
  min-width: 170px;
  padding: 13px 13px 13px 17px;
  border-radius: 3px;
  font-size: 11px;
}

.button span {
  width: 24px;
  height: 24px;
  border-radius: 2px;
}

.button-primary {
  background: #86e7df;
}

.button-ghost {
  background: rgba(2, 39, 50, 0.34);
  border-color: rgba(226, 250, 248, 0.24);
}

.hero-visual {
  align-self: stretch;
  height: auto;
  min-height: 520px;
}

.rov-spec-card {
  right: 0;
  bottom: 42px;
  width: 360px;
  padding: 20px 0;
  color: #eafffd;
  background: rgba(1, 31, 41, 0.3);
  border: 0;
  border-top: 1px solid rgba(220, 250, 247, 0.3);
  border-bottom: 1px solid rgba(220, 250, 247, 0.3);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.rov-spec-card > span {
  padding-inline: 18px;
  color: #a5d7d4;
  font-size: 7px;
}

.rov-spec-card h3 {
  margin: 12px 0 18px;
  padding-inline: 18px;
  color: #f1fffd;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.rov-spec-card > div {
  gap: 0;
  padding: 14px 18px 0;
  border-color: rgba(222, 250, 248, 0.18);
}

.rov-spec-card p + p {
  padding-left: 13px;
  border-left: 1px solid rgba(222, 250, 248, 0.16);
}

.rov-spec-card small {
  color: #88b4b3;
}

.rov-spec-card strong {
  color: #eafffd;
  font-weight: 500;
}

.hero-photo-credit {
  right: 0;
  bottom: 4px;
  color: rgba(224, 246, 244, 0.48);
  font-size: 7px;
}

.hero-bottom {
  bottom: 21px;
}

.scroll-cue > span {
  width: 24px;
  height: 24px;
}

.ticker {
  padding: 12px 0;
  color: #0a4a53;
  background: #93ddd8;
  border-color: rgba(7, 69, 77, 0.12);
  transform: none;
}

.ticker-track span {
  font-size: 9px;
}

.section {
  padding: clamp(104px, 9vw, 142px) 0;
}

.section-heading {
  grid-template-columns: 180px 1fr;
  gap: 36px;
  margin-bottom: 64px;
}

.section-index {
  padding-top: 11px;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.section-kicker {
  margin-bottom: 16px;
  font-size: 9px;
}

.section h2 {
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.06em;
}

.section h2 em {
  font-family: "Aptos", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 0.88em;
  font-weight: 380;
}

.section-about {
  padding-top: 140px;
}

.about-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 72px;
  margin-left: 216px;
}

.about-copy > .lead {
  max-width: 650px;
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 24px;
  line-height: 1.68;
}

.about-copy > p:not(.lead) {
  font-size: 13px;
}

.principles {
  margin-top: 42px;
}

.principles article {
  grid-template-columns: 36px 116px 1fr;
  padding: 16px 0;
}

.principles strong {
  font-size: 13px;
}

.principles small {
  font-size: 11px;
}

.stats-panel {
  border-radius: 2px;
  box-shadow: none;
}

.stat-card {
  min-height: 160px;
  padding: 23px;
}

.stat-code {
  margin-bottom: 25px;
  font-size: 7px;
}

.stat-value {
  font-size: 46px;
  font-weight: 500;
}

.stat-label {
  font-size: 11px;
}

.section-organization {
  background: #deeceb;
}

.org-chart {
  max-width: 1040px;
}

.org-node {
  padding: 18px 22px;
  border-radius: 2px;
  box-shadow: none;
}

.org-node strong {
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 22px;
}

.org-committee {
  padding: 28px;
  border-radius: 2px;
  box-shadow: none;
}

.tech-committee,
.ops-committee {
  box-shadow: inset 0 2px 0 var(--refine-teal-deep);
}

.committee-title h3 {
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 28px;
}

.org-groups span {
  border-radius: 1px;
}

.section-directions {
  background: #f4f8f6;
}

.direction-grid {
  gap: 12px;
}

.direction-card,
.direction-card[data-accent="blue"],
.direction-card[data-accent="green"],
.direction-card[data-accent="violet"] {
  --accent: var(--refine-teal-deep);
  min-height: 380px;
  padding: 29px;
  border-radius: 2px;
  box-shadow: none;
}

.direction-card::before {
  top: -150px;
  right: -135px;
  background: radial-gradient(circle, rgba(35, 164, 161, 0.11), transparent 68%);
}

.direction-card::after {
  opacity: 0.32;
}

.direction-code {
  margin-top: 54px;
  color: transparent;
  font-size: 76px;
  -webkit-text-stroke: 1px rgba(6, 111, 117, 0.52);
}

.direction-card h3 {
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 23px;
}

.direction-card p {
  max-width: 75%;
  font-size: 12px;
}

.direction-tags span {
  border-radius: 1px;
}

.cross-lab {
  grid-template-columns: 130px 1fr 42px;
  padding: 25px 28px;
  border-radius: 2px;
}

.cross-arrow {
  width: 34px;
  height: 34px;
  border-radius: 2px;
}

.section-projects {
  background: #e9f0ee;
}

.project-toolbar {
  margin-left: 216px;
}

.filter-button {
  padding: 8px 14px;
  border-radius: 2px;
  font-size: 9px;
}

.project-grid {
  gap: 10px;
  margin-left: 216px;
}

.project-card {
  min-height: 330px;
  padding: 25px;
  border-radius: 2px;
  box-shadow: none;
}

.project-card:hover {
  box-shadow: 0 20px 40px rgba(9, 60, 69, 0.06);
}

.project-category {
  border-radius: 1px;
}

.project-card h3 {
  margin-top: 50px;
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 28px;
}

.training-path {
  margin-top: 90px;
  padding: 52px;
  background: #0b3b45;
  border-radius: 2px;
}

.training-intro h3 {
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 38px;
  font-weight: 500;
}

.section-mentors {
  background: #dcebea;
}

.mentor-grid {
  gap: 10px;
  margin-left: 216px;
}

.mentor-card {
  grid-template-columns: 72px 1fr;
  min-height: 260px;
  padding: 30px;
  border-radius: 2px;
  box-shadow: none;
}

.mentor-avatar {
  align-items: start;
  width: 60px;
  height: 72px;
  padding-top: 12px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(8, 109, 113, 0.3);
  border-radius: 0;
}

.mentor-avatar::before,
.mentor-avatar::after,
.mentor-avatar i {
  display: none;
}

.mentor-avatar span {
  color: var(--refine-teal-deep);
  font-family: Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.mentor-card h3 {
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 31px;
}

.mentor-note {
  margin-left: 216px;
}

.section-life {
  background: #f4f8f6;
}

.gallery-grid {
  gap: 8px;
}

.gallery-item {
  border-radius: 2px;
}

.gallery-caption {
  right: 16px;
  bottom: 15px;
  left: 16px;
}

.section-faq {
  background: #dbe9e8;
}

.faq-layout {
  gap: 96px;
}

.faq-title h2 {
  font-size: clamp(45px, 4.5vw, 66px);
}

.faq-item button {
  padding: 23px 0;
}

.faq-toggle {
  border-radius: 2px;
}

.final-cta {
  background: #f4f8f6;
}

.final-cta-inner {
  padding: 68px;
  background: #72d8d1;
  border-radius: 2px;
}

.final-cta-inner::after {
  border-radius: 50%;
}

.button-light {
  border-radius: 2px;
}

.site-footer {
  padding-top: 64px;
  background: #edf5f3;
  border-top: 1px solid var(--refine-line);
}

.footer-brand .brand-copy strong {
  color: var(--refine-ink);
}

.footer-brand .brand-copy small {
  color: var(--refine-muted);
}

.footer-brand .brand-mark {
  color: var(--refine-teal-deep);
  background: rgba(13, 123, 126, 0.05);
  border-color: rgba(13, 123, 126, 0.24);
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 48px, 1000px);
  }

  .site-header {
    top: 32px;
    grid-template-columns: 1fr auto;
  }

  .site-header.scrolled {
    top: 0;
  }

  .site-nav.open {
    top: 68px;
    color: var(--refine-ink);
    background: rgba(242, 248, 246, 0.98);
  }

  .site-nav.open a {
    color: var(--refine-ink);
  }

  .about-layout,
  .project-grid,
  .mentor-grid,
  .project-toolbar,
  .mentor-note {
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  .utility-bar {
    display: none;
  }

  .site-header,
  .site-header.scrolled {
    top: 0;
    height: 68px;
    padding-inline: 18px;
  }

  .site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(1, 25, 35, 0.62), transparent);
    border-bottom-color: transparent;
  }

  .hero {
    min-height: 920px;
    background-position: 58% center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 118px;
  }

  .hero-copy {
    align-self: start;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(57px, 17vw, 82px);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-visual {
    min-height: 350px;
  }

  .rov-spec-card {
    right: 0;
    bottom: 62px;
    width: min(360px, 94%);
  }

  .hero-photo-credit {
    bottom: 24px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

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

  .org-branches {
    grid-template-columns: 1fr;
  }

  .direction-grid,
  .project-grid,
  .mentor-grid {
    grid-template-columns: 1fr;
  }

  .cross-lab {
    grid-template-columns: 1fr auto;
  }

  .training-path,
  .faq-layout,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

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

/* ================================================================
   UNIFIED OCEAN CANVAS
   One continuous water column for the complete page. Sections are
   transparent information layers instead of independent backdrops.
   ================================================================ */

main {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(circle at 86% 17%, rgba(69, 190, 184, 0.18), transparent 18%),
    radial-gradient(circle at 8% 36%, rgba(62, 174, 179, 0.12), transparent 23%),
    radial-gradient(circle at 91% 58%, rgba(34, 145, 155, 0.13), transparent 20%),
    radial-gradient(circle at 12% 77%, rgba(41, 137, 150, 0.13), transparent 24%),
    linear-gradient(
      180deg,
      #edf7f5 0%,
      #e6f3f1 17%,
      #dfefed 34%,
      #d4e9e7 52%,
      #c4dfe0 68%,
      #a7ced1 81%,
      #6d9fa7 92%,
      #123f49 100%
    );
}

/* A single uninterrupted survey grid and sonar field across every chapter. */
main::before {
  content: "";
  position: absolute;
  inset: 720px 0 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(
      ellipse at -8% 22%,
      transparent 0 66px,
      rgba(8, 100, 107, 0.035) 67px 68px
    ),
    repeating-radial-gradient(
      circle at 108% 68%,
      transparent 0 96px,
      rgba(8, 91, 101, 0.03) 97px 98px
    ),
    linear-gradient(rgba(8, 79, 88, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 79, 88, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0, black 5%, black 96%, transparent 100%);
}

/* A continuous depth datum on the right reinforces the top-to-bottom journey. */
main::after {
  content: "SURFACE  000 M  /  100 M  /  500 M  /  1,000 M  /  DEEP SEA";
  position: absolute;
  top: 980px;
  right: 22px;
  bottom: 250px;
  z-index: 0;
  width: 1px;
  color: rgba(7, 76, 84, 0.24);
  background: linear-gradient(to bottom, transparent, rgba(7, 76, 84, 0.18) 8%, rgba(7, 76, 84, 0.18) 92%, transparent);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.18em;
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.hero,
.ticker,
main > .section {
  position: relative;
  z-index: 1;
}

/* Let the photographic opening dissolve into the same water column. */
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 118px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(237, 247, 245, 0.14) 52%, #edf7f5 100%);
}

.hero-content,
.hero-bottom {
  z-index: 3;
}

.ticker {
  color: #07464f;
  background: rgba(139, 226, 219, 0.7);
  border-color: rgba(7, 69, 77, 0.1);
  backdrop-filter: blur(12px);
}

/* All chapters now reveal the same page-level canvas. */
.section-about,
.section-organization,
.section-directions,
.section-projects,
.section-mentors,
.section-life,
.section-faq,
.final-cta {
  background: transparent !important;
}

main > .section {
  border-top: 1px solid rgba(7, 75, 84, 0.055);
}

.section-directions::before,
.section-projects::before,
.section-mentors::before,
.final-cta::before {
  display: none;
}

/* Translucent information surfaces keep the water column visible beneath. */
.stats-panel,
.org-node,
.org-committee,
.cross-lab,
.project-card,
.mentor-card {
  background-color: rgba(248, 252, 251, 0.64);
  border-color: rgba(8, 91, 99, 0.13);
  box-shadow: 0 18px 54px rgba(9, 69, 78, 0.045);
  backdrop-filter: blur(12px) saturate(1.05);
}

.stat-card {
  background: rgba(255, 255, 255, 0.2);
}

.project-card:hover,
.mentor-card:hover,
.org-committee:hover {
  background-color: rgba(252, 255, 254, 0.78);
  border-color: rgba(8, 109, 116, 0.22);
}

.faq-layout {
  padding: 56px;
  background: rgba(237, 247, 246, 0.46);
  border: 1px solid rgba(8, 83, 91, 0.11);
  backdrop-filter: blur(14px);
}

.final-cta-inner {
  background: rgba(89, 213, 204, 0.9);
  box-shadow: 0 34px 90px rgba(4, 44, 53, 0.18);
  backdrop-filter: blur(12px);
}

.site-footer {
  background: #0b3943;
}

@media (max-width: 820px) {
  main::before {
    top: 640px;
    background-size: auto, auto, 54px 54px, 54px 54px;
  }

  main::after {
    display: none;
  }

  .hero::after {
    height: 82px;
  }

  .faq-layout {
    padding: 28px 22px;
  }
}

/* Stronger scene backgrounds: every major section gets a visible identity */
.section-about {
  background:
    linear-gradient(90deg, rgba(239, 248, 246, 0.98) 0%, rgba(239, 248, 246, 0.94) 45%, rgba(231, 245, 243, 0.78) 72%, rgba(224, 241, 240, 0.7) 100%),
    repeating-radial-gradient(ellipse at -4% 112%, transparent 0 34px, rgba(7, 116, 121, 0.07) 35px 36px),
    url("./assets/gallery/field-test.jpeg") center / cover no-repeat;
}

.section-organization {
  background:
    linear-gradient(105deg, rgba(220, 236, 235, 0.94), rgba(215, 233, 232, 0.84)),
    linear-gradient(rgba(7, 84, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 84, 92, 0.06) 1px, transparent 1px),
    url("./assets/gallery/assembly.jpeg") center / cover no-repeat;
  background-size: auto, 72px 72px, 72px 72px, cover;
}

.section-directions::before {
  inset: 0 0 0 33%;
  background:
    linear-gradient(90deg, rgba(241, 247, 245, 0) 0%, rgba(234, 245, 243, 0.08) 24%, rgba(218, 238, 238, 0.2) 100%),
    url("./assets/gallery/rov.jpeg") center / cover no-repeat;
  filter: saturate(0.68) contrast(0.98);
  opacity: 0.23;
}

.section-projects {
  background:
    linear-gradient(90deg, rgba(233, 241, 238, 0.98) 0%, rgba(232, 241, 238, 0.93) 50%, rgba(218, 235, 233, 0.78) 100%),
    linear-gradient(rgba(8, 82, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 82, 90, 0.04) 1px, transparent 1px),
    url("./assets/gallery/usv.jpeg") center / cover no-repeat;
  background-size: auto, 36px 36px, 36px 36px, cover;
}

.section-mentors::before {
  inset: 0 0 0 34%;
  background:
    linear-gradient(90deg, transparent, rgba(219, 236, 234, 0.05)),
    url("./assets/gallery/assembly.jpeg") center 38% / cover no-repeat;
  filter: grayscale(0.4) saturate(0.72) contrast(0.96);
  opacity: 0.22;
}

.section-life {
  background:
    linear-gradient(110deg, rgba(239, 248, 246, 0.95), rgba(224, 242, 240, 0.8)),
    repeating-radial-gradient(ellipse at 52% -10%, transparent 0 52px, rgba(5, 114, 120, 0.06) 53px 54px),
    url("./assets/gallery/pool-test.jpeg") center / cover no-repeat;
}

.section-faq {
  background:
    linear-gradient(105deg, rgba(219, 235, 235, 0.98) 0%, rgba(212, 231, 231, 0.93) 48%, rgba(191, 218, 220, 0.78) 100%),
    repeating-radial-gradient(circle at 92% 12%, transparent 0 54px, rgba(7, 98, 104, 0.06) 55px 56px),
    url("./assets/gallery/field-test.jpeg") center / cover no-repeat;
}

/* Direction cards use their own real-world scene instead of generic fills */
.direction-card {
  background-color: rgba(250, 253, 252, 0.94);
}

.direction-card > * {
  position: relative;
  z-index: 2;
}

.direction-card::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: 1;
  transform: none;
}

.direction-card:hover::before {
  transform: scale(1.018);
}

.direction-card:nth-child(1)::before {
  background:
    linear-gradient(90deg, rgba(250, 253, 252, 0.98) 0%, rgba(250, 253, 252, 0.93) 48%, rgba(242, 250, 249, 0.58) 100%),
    url("./assets/gallery/rov.jpeg") right center / cover no-repeat;
}

.direction-card:nth-child(2)::before {
  background:
    linear-gradient(90deg, rgba(250, 253, 252, 0.98) 0%, rgba(250, 253, 252, 0.92) 48%, rgba(233, 248, 247, 0.54) 100%),
    url("./assets/gallery/pool-test.jpeg") right center / cover no-repeat;
}

.direction-card:nth-child(3)::before {
  background:
    linear-gradient(90deg, rgba(250, 253, 252, 0.98) 0%, rgba(250, 253, 252, 0.92) 48%, rgba(235, 247, 245, 0.54) 100%),
    url("./assets/gallery/usv.jpeg") right center / cover no-repeat;
}

.direction-card:nth-child(4)::before {
  background:
    linear-gradient(90deg, rgba(250, 253, 252, 0.98) 0%, rgba(250, 253, 252, 0.92) 48%, rgba(230, 244, 243, 0.56) 100%),
    url("./assets/gallery/field-test.jpeg") right center / cover no-repeat;
}

.direction-card::after {
  z-index: 1;
  opacity: 0.2;
}

@media (max-width: 820px) {
  .section-about,
  .section-organization,
  .section-projects,
  .section-life,
  .section-faq {
    background-position: center, center, center;
  }

  .section-directions::before,
  .section-mentors::before {
    left: 10%;
    opacity: 0.13;
  }

  .direction-card:nth-child(1)::before,
  .direction-card:nth-child(2)::before,
  .direction-card:nth-child(3)::before,
  .direction-card:nth-child(4)::before {
    background-position: center;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero h1 {
    letter-spacing: -0.08em;
  }

  .rov-spec-card {
    bottom: 72px;
  }

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

  .principles article {
    grid-template-columns: 30px 1fr;
  }

  .direction-card p {
    max-width: 100%;
  }

  .training-path,
  .final-cta-inner {
    padding: 32px 23px;
  }

  .mentor-card {
    grid-template-columns: 50px 1fr;
    padding: 22px;
  }

  .mentor-avatar {
    width: 44px;
  }

  .gallery-grid {
    display: flex;
  }
}

/* Continuous background language across the full story */
.section {
  isolation: isolate;
  overflow: hidden;
}

.section > .shell {
  position: relative;
  z-index: 2;
}

.section-about {
  background-color: #edf7f5;
  background-image:
    radial-gradient(circle at 76% 20%, rgba(78, 189, 184, 0.13), transparent 31%),
    repeating-radial-gradient(ellipse at -4% 112%, transparent 0 34px, rgba(7, 116, 121, 0.055) 35px 36px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.66), transparent 46%);
}

.section-about::after {
  content: "BATHYMETRY / 36°03′N 120°19′E";
  position: absolute;
  top: 80px;
  right: 42px;
  z-index: 1;
  color: rgba(8, 90, 97, 0.34);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.section-organization {
  background-color: #dcebea;
  background-image:
    linear-gradient(rgba(7, 84, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 84, 92, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(7, 84, 92, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 84, 92, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 82% 30%, rgba(51, 171, 168, 0.13), transparent 30%);
  background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px, auto;
}

.section-organization::before {
  content: "02";
  position: absolute;
  top: 4%;
  left: -0.05em;
  z-index: 0;
  color: rgba(7, 83, 91, 0.035);
  font-family: Consolas, monospace;
  font-size: min(34vw, 500px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.12em;
}

.section-organization::after {
  content: "SYSTEM ARCHITECTURE / REV. 2026.08";
  position: absolute;
  right: 42px;
  bottom: 44px;
  color: rgba(8, 76, 84, 0.32);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.18em;
}

.section-directions {
  background-color: #f1f7f5;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(239, 248, 246, 0.54)),
    radial-gradient(circle at 14% 78%, rgba(52, 176, 171, 0.1), transparent 28%);
}

.section-directions::before {
  content: "";
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
  background: url("./assets/gallery/rov.jpeg") center / cover no-repeat;
  filter: saturate(0.45) contrast(0.92);
  opacity: 0.13;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.64) 30%, black 100%);
}

.section-directions::after {
  content: "PLATFORM / PERCEPTION / AUTONOMY / COOPERATION";
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 1;
  color: rgba(8, 83, 91, 0.31);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.18em;
}

.section-projects {
  background-color: #e8f0ed;
  background-image:
    linear-gradient(rgba(8, 82, 90, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 82, 90, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 88% 23%, rgba(46, 168, 165, 0.15), transparent 23%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 54%);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.section-projects::before {
  content: "";
  position: absolute;
  top: 70px;
  right: -220px;
  z-index: 0;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(7, 110, 115, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 74px rgba(7, 110, 115, 0.035),
    0 0 0 148px rgba(7, 110, 115, 0.026),
    0 0 0 222px rgba(7, 110, 115, 0.018);
}

.section-projects::after {
  content: "SONAR RANGE / 240 M";
  position: absolute;
  top: 360px;
  right: 40px;
  z-index: 1;
  color: rgba(8, 83, 91, 0.27);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.16em;
  transform: rotate(90deg);
}

.section-mentors {
  background-color: #dbeae9;
  background-image:
    radial-gradient(circle at 17% 18%, rgba(73, 183, 178, 0.13), transparent 30%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 52%);
}

.section-mentors::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  z-index: 0;
  background: url("./assets/gallery/assembly.jpeg") center 35% / cover no-repeat;
  filter: grayscale(0.65) saturate(0.55);
  opacity: 0.1;
  mask-image: linear-gradient(90deg, transparent 0%, black 42%, black 100%);
}

.section-mentors::after {
  content: "GUIDANCE NETWORK / RESEARCH × ENGINEERING";
  position: absolute;
  right: 42px;
  bottom: 42px;
  z-index: 1;
  color: rgba(8, 83, 91, 0.3);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.17em;
}

.section-life {
  background-color: #eef7f5;
  background-image:
    radial-gradient(ellipse at 15% 14%, rgba(74, 194, 187, 0.15), transparent 27%),
    radial-gradient(ellipse at 80% 25%, rgba(66, 172, 183, 0.11), transparent 28%),
    repeating-radial-gradient(ellipse at 52% -10%, transparent 0 52px, rgba(5, 114, 120, 0.035) 53px 54px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent);
}

.section-life::before {
  content: "FIELD NOTES";
  position: absolute;
  top: 96px;
  right: -0.03em;
  z-index: 0;
  color: rgba(8, 85, 92, 0.035);
  font-family: Consolas, monospace;
  font-size: min(16vw, 230px);
  font-weight: 700;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.section-faq {
  background-color: #d5e7e7;
  background-image:
    linear-gradient(125deg, rgba(255, 255, 255, 0.38), transparent 50%),
    repeating-radial-gradient(circle at 92% 12%, transparent 0 54px, rgba(7, 98, 104, 0.045) 55px 56px),
    linear-gradient(180deg, transparent 38%, rgba(17, 86, 95, 0.08));
}

.section-faq::after {
  content: "ASK / LEARN / BUILD / DIVE";
  position: absolute;
  right: 42px;
  bottom: 40px;
  z-index: 1;
  color: rgba(7, 79, 87, 0.3);
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.2em;
}

.final-cta {
  padding-top: 90px;
  padding-bottom: 130px;
  background:
    radial-gradient(circle at 16% 15%, rgba(98, 218, 209, 0.22), transparent 28%),
    linear-gradient(180deg, #d5e7e7 0%, #6b9da2 52%, #0a3943 100%);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(228, 250, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 250, 247, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, transparent, black);
}

.site-footer {
  color: #dff4f2;
  background: #082f39;
  border-top-color: rgba(209, 246, 242, 0.12);
}

.site-footer .footer-brand .brand-copy strong {
  color: #eafffd;
}

.site-footer .footer-brand .brand-copy small,
.site-footer .footer-grid > div:first-child > p,
.site-footer .footer-meta {
  color: #789da1;
}

.site-footer .footer-brand .brand-mark {
  color: #8be8df;
  background: rgba(139, 232, 223, 0.04);
  border-color: rgba(139, 232, 223, 0.25);
}

.site-footer .footer-links a {
  color: #a9c5c6;
}

@media (max-width: 820px) {
  .section-about::after,
  .section-organization::after,
  .section-directions::after,
  .section-projects::after,
  .section-mentors::after,
  .section-faq::after {
    display: none;
  }

  .section-directions::before,
  .section-mentors::before {
    left: 22%;
    opacity: 0.07;
  }

  .section-organization::before,
  .section-life::before {
    opacity: 0.7;
  }
}

/* ================================================================
   DEEP OCEAN MODE
   Keep the photographic hero intact; every chapter below it shares
   one uninterrupted dark-water environment.
   ================================================================ */

main {
  background:
    radial-gradient(circle at 84% 16%, rgba(60, 160, 235, 0.16), transparent 24%),
    radial-gradient(circle at 9% 38%, rgba(40, 128, 218, 0.14), transparent 27%),
    radial-gradient(circle at 90% 62%, rgba(48, 112, 210, 0.13), transparent 24%),
    radial-gradient(circle at 12% 82%, rgba(42, 145, 220, 0.1), transparent 27%),
    linear-gradient(180deg, #113f6e 0%, #104875 23%, #0d3c68 49%, #0a3158 74%, #082646 100%);
}

main::before {
  background-image:
    repeating-radial-gradient(
      ellipse at -8% 22%,
      transparent 0 66px,
      rgba(155, 211, 250, 0.05) 67px 68px
    ),
    repeating-radial-gradient(
      circle at 108% 68%,
      transparent 0 96px,
      rgba(155, 211, 250, 0.04) 97px 98px
    ),
    linear-gradient(rgba(177, 220, 251, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 220, 251, 0.028) 1px, transparent 1px);
}

main::after {
  color: rgba(182, 220, 248, 0.24);
  background: linear-gradient(to bottom, transparent, rgba(182, 220, 248, 0.15) 8%, rgba(182, 220, 248, 0.15) 92%, transparent);
}

.hero::after {
  background: linear-gradient(to bottom, transparent 0%, rgba(17, 63, 110, 0.2) 52%, #113f6e 100%);
}

.ticker {
  color: #d5f2ff;
  background: rgba(17, 78, 112, 0.84);
  border-color: rgba(179, 222, 251, 0.16);
}

main > .section {
  color: #eaf7f5;
  border-top-color: rgba(184, 222, 249, 0.09);
}

.section-index,
.section-projects .section-index {
  color: rgba(163, 211, 210, 0.48);
}

.section-kicker,
.section-projects .section-kicker {
  color: #75d6f5;
}

.section h2 {
  color: #effbf9;
}

.section h2 em,
.section-projects h2 em {
  color: #9ab8cc;
}

.about-copy > .lead {
  color: #d7e9e7;
}

.about-copy > p:not(.lead),
.principles small,
.committee-title p,
.cross-lab p,
.mentor-card p,
.mentor-note,
.faq-title > p:last-child,
.faq-answer p {
  color: #a5c0d1;
}

.principles {
  border-top-color: rgba(166, 224, 220, 0.13);
}

.principles article {
  border-bottom-color: rgba(166, 224, 220, 0.13);
}

.principles strong,
.org-node strong,
.committee-title h3,
.cross-lab h3,
.project-card h3,
.mentor-card h3 {
  color: #edf9f7;
}

.section-about::after,
.section-organization::after,
.section-directions::after,
.section-projects::after,
.section-mentors::after,
.section-faq::after {
  color: rgba(177, 218, 246, 0.28);
}

.section-organization::before,
.section-life::before {
  color: rgba(178, 219, 247, 0.038);
}

.stats-panel,
.org-node,
.org-committee,
.cross-lab,
.project-card,
.mentor-card {
  color: #eaf7f5;
  background: rgba(7, 36, 67, 0.58) !important;
  border-color: rgba(169, 215, 247, 0.17);
  box-shadow: 0 22px 64px rgba(3, 19, 39, 0.16);
  backdrop-filter: blur(14px) saturate(1.08);
}

.org-presidium {
  background: linear-gradient(135deg, rgba(28, 113, 169, 0.88), rgba(7, 40, 72, 0.86)) !important;
}

.stat-card {
  background: transparent;
  border-color: rgba(153, 220, 216, 0.12);
}

.stat-code,
.project-code,
.project-team,
.org-node span,
.committee-title > span {
  color: #6f969a;
}

.stat-label {
  color: #9bb9ba;
}

.org-groups span {
  color: #a8c7c7;
  background: rgba(132, 211, 205, 0.055);
  border-color: rgba(153, 220, 216, 0.12);
}

.direction-card {
  color: #edf9f7;
  background: #0a3154 !important;
  border-color: rgba(169, 215, 247, 0.17);
}

.direction-card:nth-child(1)::before {
  background:
    linear-gradient(90deg, rgba(7, 32, 59, 0.98) 0%, rgba(7, 32, 59, 0.91) 48%, rgba(7, 32, 59, 0.3) 100%),
    url("./assets/gallery/rov.jpeg") right center / cover no-repeat;
}

.direction-card:nth-child(2)::before {
  background:
    linear-gradient(90deg, rgba(7, 32, 59, 0.98) 0%, rgba(7, 32, 59, 0.91) 48%, rgba(7, 32, 59, 0.3) 100%),
    url("./assets/gallery/pool-test.jpeg") right center / cover no-repeat;
}

.direction-card:nth-child(3)::before {
  background:
    linear-gradient(90deg, rgba(7, 32, 59, 0.98) 0%, rgba(7, 32, 59, 0.91) 48%, rgba(7, 32, 59, 0.3) 100%),
    url("./assets/gallery/usv.jpeg") right center / cover no-repeat;
}

.direction-card:nth-child(4)::before {
  background:
    linear-gradient(90deg, rgba(7, 32, 59, 0.98) 0%, rgba(7, 32, 59, 0.91) 48%, rgba(7, 32, 59, 0.3) 100%),
    url("./assets/gallery/field-test.jpeg") right center / cover no-repeat;
}

.direction-card h3,
.direction-card p {
  color: #dcecea;
}

.direction-en,
.direction-number {
  color: #75999c;
}

.direction-code {
  -webkit-text-stroke-color: rgba(105, 222, 212, 0.7);
}

.direction-tags span {
  color: #9cc1c0;
  background: rgba(1, 17, 23, 0.34);
  border-color: rgba(153, 220, 216, 0.13);
}

.filter-button {
  color: #8fb0b1;
  border-color: rgba(153, 220, 216, 0.18);
}

.filter-button:hover,
.filter-button.active {
  color: #092f52;
  background: #80d9f6;
  border-color: #80d9f6;
}

.project-card > p,
.project-meta-row,
.project-team {
  color: #84a5a7;
}

.project-category {
  color: #80ded6;
  background: rgba(82, 205, 196, 0.08);
}

.project-meta-row strong {
  color: #b7dedb;
}

.project-progress {
  background: rgba(178, 232, 228, 0.1);
}

.training-path {
  background: rgba(5, 28, 54, 0.66);
  border: 1px solid rgba(169, 215, 247, 0.15);
  box-shadow: 0 30px 80px rgba(3, 19, 39, 0.18);
}

.mentor-avatar {
  border-top-color: rgba(122, 221, 212, 0.45);
}

.faq-layout {
  background: rgba(7, 34, 63, 0.45);
  border-color: rgba(169, 215, 247, 0.16);
}

.faq-list,
.faq-item {
  border-color: rgba(153, 220, 216, 0.13);
}

.faq-item button {
  color: #e7f5f3;
}

.faq-toggle {
  border-color: rgba(153, 220, 216, 0.2);
}

.final-cta-inner {
  background: rgba(92, 191, 228, 0.93);
  border: 1px solid rgba(205, 255, 250, 0.22);
  box-shadow: 0 36px 100px rgba(0, 11, 17, 0.26);
}

.site-header.scrolled {
  background: rgba(7, 35, 63, 0.94);
  border-bottom-color: rgba(177, 220, 249, 0.15);
  box-shadow: 0 8px 28px rgba(3, 20, 40, 0.18);
}

.site-header.scrolled .brand-copy strong,
.site-header.scrolled .site-nav a {
  color: #e9f8f6;
}

.site-header.scrolled .brand-mark {
  color: #89e6de;
  background: rgba(137, 230, 222, 0.045);
  border-color: rgba(137, 230, 222, 0.25);
}

.site-header.scrolled .nav-cta {
  color: #092f52;
  background: #88dff8;
  border-color: #88dff8;
}

@media (max-width: 1100px) {
  .site-nav.open {
    color: #eaf8f6;
    background: rgba(7, 35, 63, 0.98);
  }

  .site-nav.open a {
    color: #eaf8f6;
  }
}

.site-footer {
  background: #08294a;
}

/* ================================================================
   ORGANIZATION MAP / POLISHED GOVERNANCE UI
   A clear central spine with two differentiated operating branches.
   ================================================================ */

.section-organization .section-heading {
  margin-bottom: 76px;
}

.section-organization .section-heading::after {
  content: "GOVERNANCE SYSTEM  /  REV. 2026";
  align-self: end;
  justify-self: end;
  padding-bottom: 10px;
  color: rgba(177, 218, 246, 0.36);
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.org-chart {
  max-width: 1180px;
  margin-inline: auto;
  padding: 10px 0 0;
}

.org-node {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(620px, 100%);
  padding: 16px 18px;
  overflow: hidden;
  text-align: left;
  background: rgba(8, 39, 72, 0.72) !important;
  border: 1px solid rgba(172, 219, 249, 0.18);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(4, 18, 39, 0.16), inset 0 1px 0 rgba(220, 244, 255, 0.045);
  backdrop-filter: blur(16px);
}

.org-node::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #78ddf7, #4b8bd8);
}

.org-guidance {
  width: min(550px, 100%);
}

.org-presidium {
  width: min(760px, 100%);
  background:
    radial-gradient(circle at 7% 50%, rgba(117, 217, 246, 0.16), transparent 23%),
    linear-gradient(118deg, rgba(24, 100, 157, 0.92), rgba(8, 45, 82, 0.9)) !important;
  border-color: rgba(151, 222, 250, 0.28);
  box-shadow: 0 22px 58px rgba(4, 18, 39, 0.2), inset 0 1px 0 rgba(226, 248, 255, 0.07);
}

.org-node-mark {
  display: grid !important;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 !important;
  color: #9ee8fb !important;
  background: rgba(104, 203, 235, 0.08);
  border: 1px solid rgba(142, 219, 245, 0.18);
  border-radius: 10px;
  font-family: Consolas, monospace;
  font-size: 10px !important;
  letter-spacing: 0.12em;
}

.org-node-copy {
  min-width: 0;
}

.org-node-copy small {
  display: block;
  margin: 0 0 5px;
  color: #78d9f4;
  font-size: 7px;
}

.org-node-copy strong {
  display: inline;
  color: #f2fbff;
  font-size: 24px;
  line-height: 1.15;
}

.org-node-copy span {
  display: block;
  margin-top: 7px;
  color: #a4c0d2;
  font-size: 10px;
}

.org-node-status {
  padding: 7px 10px;
  color: #a9dff0;
  background: rgba(149, 217, 241, 0.065);
  border: 1px solid rgba(162, 221, 244, 0.13);
  border-radius: 999px;
  font-family: Consolas, "Microsoft YaHei", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.org-line.vertical {
  position: relative;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, rgba(121, 211, 239, 0.22), rgba(129, 173, 239, 0.55));
}

.org-line.vertical::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #78daf5;
  border: 3px solid #14466f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(120, 218, 245, 0.08), 0 0 18px rgba(120, 218, 245, 0.4);
  transform: translate(-50%, 50%);
}

.org-branches {
  gap: 18px;
  margin-top: 86px;
}

.org-branches::before {
  top: -43px;
  height: 43px;
  border-color: rgba(146, 207, 245, 0.28);
  border-radius: 10px 10px 0 0;
}

.org-branches::after {
  top: -86px;
  height: 44px;
  background: linear-gradient(180deg, rgba(130, 178, 237, 0.56), rgba(146, 207, 245, 0.28));
}

.org-committee {
  --committee-accent: #6adcf2;
  position: relative;
  min-height: 386px;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 164, 224, 0.11), transparent 32%),
    rgba(7, 35, 65, 0.6) !important;
  border: 1px solid rgba(164, 213, 247, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(3, 17, 36, 0.16), inset 0 1px 0 rgba(223, 245, 255, 0.045);
  backdrop-filter: blur(18px) saturate(1.08);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.ops-committee {
  --committee-accent: #9aaeff;
}

.org-committee::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--committee-accent), transparent 72%);
}

.org-committee::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--committee-accent);
  border: 3px solid #164870;
  border-radius: 50%;
  box-shadow: 0 0 14px color-mix(in srgb, var(--committee-accent) 48%, transparent);
  transform: translateX(-50%);
}

.org-committee:hover {
  background-color: rgba(9, 43, 78, 0.7) !important;
  border-color: color-mix(in srgb, var(--committee-accent) 34%, transparent);
  transform: translateY(-3px);
}

.committee-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.committee-title > div {
  min-width: 0;
}

.committee-title > div > span {
  color: var(--committee-accent);
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.committee-title h3 {
  margin: 14px 0 12px;
  color: #f2fbff;
  font-size: 31px;
}

.committee-title p {
  min-height: 0;
  max-width: 390px;
  color: #9db9ca;
  font-size: 11px;
  line-height: 1.75;
}

.committee-count {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--committee-accent);
  font-family: Consolas, monospace;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.committee-count small {
  margin-top: 8px;
  color: #6f91a8;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.committee-members {
  margin: 25px 0 0;
  padding: 11px 13px;
  color: #9db7c9;
  background: rgba(155, 211, 247, 0.045);
  border-left: 2px solid var(--committee-accent);
  font-size: 9px;
  line-height: 1.6;
}

.committee-members span {
  margin-right: 10px;
  color: var(--committee-accent);
  font-family: Consolas, "Microsoft YaHei", sans-serif;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.org-groups {
  gap: 8px;
  margin-top: 22px;
}

.org-groups-ops {
  grid-template-columns: repeat(3, 1fr);
}

.org-groups span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 12px;
  color: #d8e9f3;
  background: rgba(119, 190, 232, 0.055);
  border: 1px solid rgba(163, 213, 245, 0.12);
  border-radius: 10px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease;
}

.org-groups span:hover {
  background: rgba(119, 190, 232, 0.1);
  border-color: color-mix(in srgb, var(--committee-accent) 30%, transparent);
}

.org-groups b {
  color: var(--committee-accent);
  font-family: Consolas, monospace;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.org-groups em {
  color: #dcebf4;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.org-footnote {
  max-width: 760px;
  margin-top: 30px;
  color: #8ba9bb;
  font-size: 10px;
}

.org-footnote::before {
  content: "DUAL-TRACK";
  display: block;
  width: max-content;
  margin: 0 auto 9px;
  color: #70cae8;
  font-family: Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.16em;
}

@media (max-width: 1100px) {
  .section-organization .section-heading::after {
    display: none;
  }

  .org-committee {
    padding: 28px;
  }

  .org-groups-ops {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section-organization .section-heading {
    margin-bottom: 56px;
  }

  .org-node {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    padding: 14px;
  }

  .org-node-mark {
    width: 46px;
    height: 46px;
  }

  .org-node-copy strong {
    font-size: 21px;
  }

  .org-node-status {
    display: none;
  }

  .org-branches {
    gap: 16px;
    margin-top: 58px;
  }

  .org-branches::before {
    top: -30px;
    right: 50%;
    left: 50%;
    height: 30px;
    border-top: 0;
    border-right: 0;
    border-left: 1px solid rgba(146, 207, 245, 0.28);
  }

  .org-branches::after {
    top: -58px;
    height: 29px;
  }

  .org-committee {
    min-height: 0;
  }

  .org-groups-ops {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-groups-ops span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .org-committee {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .committee-title h3 {
    font-size: 27px;
  }

  .committee-count {
    font-size: 28px;
  }

  .org-groups,
  .org-groups-ops {
    grid-template-columns: 1fr;
  }

  .org-groups-ops span:last-child {
    grid-column: auto;
  }
}

/* Full-page virtual deep-sea atmosphere. The canvas stays behind content. */
#deep-ocean-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.94;
  pointer-events: none;
  filter: saturate(1.12);
  transform: translateZ(0);
}

main > .hero,
main > .ticker,
main > .section {
  position: relative;
  z-index: 1;
}

@media (max-width: 820px) {
  #deep-ocean-canvas {
    opacity: 0.76;
  }
}

@media (prefers-reduced-motion: reduce) {
  #deep-ocean-canvas {
    opacity: 0.5;
  }
}

/* ================================================================
   TYPOGRAPHY SYSTEM
   Editorial Chinese display type + highly legible interface type.
   ================================================================ */

:root {
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand-copy strong,
.hero h1,
.section h2,
.about-copy > .lead,
.org-node-copy strong,
.committee-title h3,
.project-card h3,
.training-intro h3,
.mentor-card h3,
.final-cta h2 {
  font-family: var(--font-display);
}

.hero h1 {
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-shadow: 0 8px 40px rgba(0, 18, 40, 0.22);
}

.hero h1 em {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.065em;
}

.section h2 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 6px 32px rgba(2, 18, 39, 0.16);
}

.section h2 em {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: -0.035em;
}

.about-copy > .lead {
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.78;
}

.brand-copy strong {
  font-weight: 700;
  letter-spacing: 0.035em;
}

.org-node-copy strong {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.committee-title h3 {
  font-weight: 700;
  letter-spacing: -0.035em;
}

.project-card h3,
.training-intro h3,
.mentor-card h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.project-card > p,
.mentor-card p,
.committee-title p,
.about-copy > p:not(.lead),
.faq-answer p,
.cta-side p {
  letter-spacing: 0.012em;
  line-height: 1.9;
}

.utility-bar,
.site-nav a,
.eyebrow,
.section-index,
.section-kicker,
.ticker-track span,
.direction-number,
.direction-code,
.direction-en,
.project-code,
.project-team,
.stat-code,
.stat-value,
.committee-title > div > span,
.committee-count,
.committee-members span,
.org-node-mark,
.org-footnote::before,
.hero-photo-credit,
.footer-meta {
  font-family: var(--font-mono);
}

.site-nav a,
.section-index,
.section-kicker,
.eyebrow {
  font-weight: 500;
  letter-spacing: 0.105em;
}

.direction-code,
.stat-value {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.org-groups em,
.org-node-status,
.button,
.filter-button,
.faq-item button,
.nav-cta {
  font-family: var(--font-sans);
}

.org-groups em,
.faq-item button strong {
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 520px) {
  .hero h1,
  .section h2 {
    letter-spacing: -0.05em;
  }
}

/* Clickable official faculty profiles */
.mentor-card {
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.mentor-card > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mentor-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #78dcf7, rgba(120, 220, 247, 0));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 220ms ease, transform 320ms ease;
}

.mentor-card:hover {
  background-color: rgba(10, 46, 82, 0.74) !important;
  border-color: rgba(137, 217, 247, 0.32);
  box-shadow: 0 28px 74px rgba(3, 17, 37, 0.24);
  transform: translateY(-4px);
}

.mentor-card:hover::after,
.mentor-card:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.mentor-card:focus-visible {
  outline: 2px solid #8adff6;
  outline-offset: 4px;
}

.mentor-link-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
  color: #86cee7;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mentor-link-label::before {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(137, 212, 240, 0.16);
  order: 2;
}

.mentor-link-label b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #092f52;
  background: #86d9f2;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  order: 3;
  transition: transform 220ms ease, background 220ms ease;
}

.mentor-card:hover .mentor-link-label b {
  background: #a0e8fb;
  transform: translate(2px, -2px);
}

/* ================================================================
   IT-STUDIO-INSPIRED FULL THEME
   Original club content with ribbon canvas, bento glass and neon rails.
   ================================================================ */

:root {
  --studio-dark: #030712;
  --studio-panel: rgba(15, 23, 42, 0.55);
  --studio-panel-strong: rgba(15, 23, 42, 0.76);
  --studio-cyan: #00f2fe;
  --studio-sky: #4f92d6;
  --studio-purple: #7028e4;
  --studio-emerald: #00e676;
  --studio-line: rgba(255, 255, 255, 0.08);
  --studio-muted: #94a3b8;
}

html,
body {
  background: var(--studio-dark);
}

body {
  color: #f3f4f6;
  font-family: Inter, var(--font-sans);
}

main {
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 75, 135, 0.18), transparent 30%),
    radial-gradient(circle at 84% 48%, rgba(112, 40, 228, 0.08), transparent 30%),
    linear-gradient(180deg, #071429 0%, #050d1d 32%, #061329 62%, #030712 100%);
}

main::before {
  opacity: 0.42;
}

#deep-ocean-canvas {
  opacity: 0.95;
  filter: saturate(1.2) contrast(1.04);
}

.utility-bar {
  color: rgba(226, 232, 240, 0.72);
  background: rgba(3, 7, 18, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.utility-status {
  color: var(--studio-emerald);
}

.utility-status i {
  background: var(--studio-emerald);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
}

.site-header,
.site-header.scrolled {
  background: rgba(3, 7, 18, 0.68);
  border-bottom-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(1.12);
}

.site-header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.72), rgba(3, 7, 18, 0.12));
}

.brand-mark,
.site-header.scrolled .brand-mark {
  color: #c5fbff;
  background: linear-gradient(145deg, rgba(0, 242, 254, 0.12), rgba(112, 40, 228, 0.08));
  border-color: rgba(0, 242, 254, 0.32);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.08);
}

.brand-copy strong,
.site-header.scrolled .brand-copy strong {
  color: #f8fafc;
  font-family: Inter, var(--font-sans);
  font-weight: 700;
}

.brand-copy small {
  color: #64748b;
}

.site-nav a,
.site-header.scrolled .site-nav a {
  color: #94a3b8;
}

.site-nav a:hover,
.site-nav a.active {
  color: #eafdff;
}

.site-nav a::after {
  background: var(--studio-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.7);
}

.nav-cta,
.site-header.scrolled .nav-cta {
  color: #031018;
  background: var(--studio-cyan);
  border-color: var(--studio-cyan);
  box-shadow: 0 0 26px rgba(0, 242, 254, 0.18);
}

.nav-cta span,
.site-header.scrolled .nav-cta span {
  color: #031018;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-progress span {
  background: linear-gradient(90deg, var(--studio-cyan), var(--studio-sky), var(--studio-purple));
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.48);
}

/* Left-side chapter rail */
.side-rail {
  position: fixed;
  top: 50%;
  left: 28px;
  z-index: 90;
  display: flex;
  width: 120px;
  height: 330px;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translate(-12px, -50%);
  transition: opacity 420ms ease, transform 420ms ease;
}

.side-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.side-rail-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.side-rail-line i {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: rgba(0, 242, 254, 0.78);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.7);
}

.side-rail-line b {
  position: absolute;
  top: 0;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--studio-cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.8), 0 0 28px rgba(0, 242, 254, 0.3);
  transform: translate(-50%, -50%);
}

.side-rail a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 8px;
  text-decoration: none;
  transition: color 180ms ease;
}

.side-rail a::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--studio-dark);
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 50%;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.side-rail a span {
  color: #64748b;
}

.side-rail a em {
  opacity: 0;
  font-style: normal;
  white-space: nowrap;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.side-rail a:hover,
.side-rail a.active {
  color: #e6fdff;
}

.side-rail a:hover::before,
.side-rail a.active::before {
  background: var(--studio-cyan);
  border-color: var(--studio-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.75);
  transform: scale(1.25);
}

.side-rail a:hover em,
.side-rail a.active em {
  opacity: 1;
  transform: translateX(0);
}

/* Centered hero stage */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 75, 135, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.38), rgba(3, 7, 18, 0.84)),
    linear-gradient(90deg, rgba(3, 7, 18, 0.72), rgba(3, 7, 18, 0.22), rgba(3, 7, 18, 0.62)),
    url("./assets/hero/deep-discoverer.jpg") 58% center / cover no-repeat;
}

.hero::after {
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--studio-dark));
}

.hero-grid {
  opacity: 0.12;
  background-size: 86px 86px;
}

.hero-content {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr;
  place-items: center;
  padding-top: 130px;
  padding-bottom: 130px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  width: min(980px, 100%);
  margin-inline: auto;
  padding: 0;
  text-align: center;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-copy::before {
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  background: rgba(0, 242, 254, 0.055);
  animation: studio-halo 8s ease-in-out infinite;
}

.hero-copy::after {
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  background: rgba(112, 40, 228, 0.055);
  animation: studio-halo 10s ease-in-out -3s infinite reverse;
}

@keyframes studio-halo {
  50% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.eyebrow {
  justify-content: center;
  color: var(--studio-cyan);
  font-weight: 600;
  letter-spacing: 0.24em;
}

.hero h1 {
  max-width: none;
  font-family: Inter, var(--font-sans);
  font-size: clamp(74px, 9vw, 146px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.hero h1 span {
  color: #f8fafc;
  white-space: nowrap;
  text-shadow: 0 0 38px rgba(255, 255, 255, 0.08);
}

.hero h1 em {
  width: max-content;
  margin: 18px auto 0;
  padding-right: 0.08em;
  color: transparent;
  background: linear-gradient(90deg, var(--studio-cyan), #88e1fa 46%, #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: Inter, var(--font-sans);
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.hero-copy > p {
  max-width: 690px;
  margin: 30px auto 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  justify-content: center;
}

.button {
  border-radius: 10px;
  font-weight: 600;
}

.button-primary {
  color: #031018;
  background: var(--studio-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.16);
}

.button-ghost {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.46);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 3;
  min-height: 0;
  pointer-events: none;
}

.rov-spec-card {
  right: 0;
  bottom: 86px;
  width: 310px;
  padding: 18px;
  background: var(--studio-panel);
  border: 1px solid var(--studio-line);
  border-radius: 18px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  backdrop-filter: blur(20px);
}

.hero-photo-credit {
  right: 0;
  bottom: 48px;
}

.hero-bottom {
  color: #64748b;
}

.ticker {
  color: #94a3b8;
  background: rgba(3, 7, 18, 0.78);
  border-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.ticker-track i {
  background: var(--studio-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.75);
}

/* Section language */
.section {
  padding: clamp(104px, 9vw, 150px) 0;
}

.section-heading {
  grid-template-columns: 150px 1fr;
  gap: 34px;
  margin-bottom: 70px;
}

.section-index,
.section-projects .section-index {
  color: rgba(0, 242, 254, 0.7);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-kicker,
.section-projects .section-kicker {
  color: var(--studio-cyan);
  font-weight: 700;
  letter-spacing: 0.24em;
}

.section h2,
.section h2 em,
.about-copy > .lead,
.org-node-copy strong,
.committee-title h3,
.project-card h3,
.training-intro h3,
.mentor-card h3,
.final-cta h2 {
  font-family: Inter, var(--font-sans);
}

.section h2 {
  color: #f8fafc;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section h2 em,
.section-projects h2 em {
  color: transparent;
  background: linear-gradient(90deg, #94a3b8, #4f92d6 58%, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 500;
}

.about-copy > .lead {
  color: #f1f5f9;
  font-weight: 600;
}

.about-copy > p:not(.lead),
.principles small,
.committee-title p,
.cross-lab p,
.mentor-card p,
.mentor-note,
.faq-title > p:last-child,
.faq-answer p,
.project-card > p,
.project-meta-row,
.project-team {
  color: #94a3b8;
}

/* Shared bento surface */
.stats-panel,
.org-node,
.org-committee,
.direction-card,
.cross-lab,
.project-card,
.training-path,
.mentor-card,
.faq-layout {
  color: #f1f5f9;
  background-color: var(--studio-panel) !important;
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(1.08);
}

.org-presidium {
  background:
    radial-gradient(circle at 10% 50%, rgba(0, 242, 254, 0.1), transparent 28%),
    linear-gradient(120deg, rgba(0, 75, 135, 0.72), rgba(15, 23, 42, 0.72)) !important;
  border-color: rgba(0, 242, 254, 0.22);
}

.tech-committee {
  --committee-accent: var(--studio-cyan);
}

.ops-committee {
  --committee-accent: #a78bfa;
}

.stats-panel:hover,
.org-node:hover,
.org-committee:hover,
.direction-card:hover,
.cross-lab:hover,
.project-card:hover,
.mentor-card:hover {
  border-color: rgba(0, 242, 254, 0.38);
  box-shadow: 0 25px 50px -12px rgba(0, 242, 254, 0.16);
}

.stat-value {
  color: transparent;
  background: linear-gradient(90deg, var(--studio-cyan), #88e1fa);
  background-clip: text;
  -webkit-background-clip: text;
}

.principles,
.principles article {
  border-color: rgba(255, 255, 255, 0.09);
}

.principles span,
.cross-label,
.mentor-role {
  color: var(--studio-cyan);
}

.org-node::before {
  background: linear-gradient(180deg, var(--studio-cyan), var(--studio-purple));
}

.org-node-mark {
  color: var(--studio-cyan) !important;
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.18);
}

.org-node-copy small,
.org-footnote::before {
  color: var(--studio-cyan);
}

.org-line.vertical::after,
.org-committee::after {
  background: var(--committee-accent, var(--studio-cyan));
}

.direction-card {
  overflow: hidden;
  border-radius: 20px;
}

.direction-card h3,
.direction-card p,
.project-card h3,
.mentor-card h3,
.committee-title h3,
.org-node-copy strong {
  color: #f8fafc;
}

.direction-code {
  -webkit-text-stroke-color: rgba(0, 242, 254, 0.72);
}

.direction-tags span,
.project-category {
  color: #a5f8fc;
  background: rgba(0, 242, 254, 0.055);
  border-color: rgba(0, 242, 254, 0.13);
}

.cross-arrow,
.filter-button.active,
.filter-button:hover {
  color: #031018;
  background: var(--studio-cyan);
  border-color: var(--studio-cyan);
}

.project-progress i {
  background: linear-gradient(90deg, var(--studio-cyan), var(--studio-sky), var(--studio-purple));
}

.project-meta-row strong,
.project-team strong {
  color: #c7faff;
}

.training-path {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.07), transparent 32%),
    var(--studio-panel-strong) !important;
}

.training-path li {
  border-color: rgba(255, 255, 255, 0.08);
}

.training-path li > span {
  color: var(--studio-cyan);
}

.gallery-item {
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.58);
}

.faq-layout {
  padding: 58px;
}

.faq-list,
.faq-item {
  border-color: rgba(255, 255, 255, 0.09);
}

.faq-item button {
  color: #f1f5f9;
}

.faq-item button > span:first-child {
  color: var(--studio-cyan);
}

.final-cta-inner {
  color: #f8fafc;
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 242, 254, 0.16), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(112, 40, 228, 0.18), transparent 32%),
    rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 28px 70px -20px rgba(0, 242, 254, 0.2);
  backdrop-filter: blur(20px);
}

.final-cta-inner > div:first-child > span {
  color: var(--studio-cyan);
}

.cta-side p {
  color: #94a3b8;
}

.button-light {
  color: #031018;
  background: var(--studio-cyan);
}

.site-footer {
  background: #030712;
  border-top-color: rgba(255, 255, 255, 0.07);
}

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

@media (max-width: 820px) {
  .site-nav.open {
    color: #f1f5f9;
    background: rgba(3, 7, 18, 0.98);
  }

  .hero {
    min-height: 920px;
  }

  .hero-content {
    min-height: 920px;
    padding-top: 120px;
    padding-bottom: 110px;
  }

  .hero h1 {
    font-size: clamp(58px, 16vw, 88px);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-visual {
    position: absolute;
  }

  .rov-spec-card {
    right: 50%;
    bottom: 70px;
    width: min(330px, 90%);
    transform: translateX(50%);
  }

  .hero-photo-credit {
    right: 50%;
    bottom: 42px;
    width: max-content;
    max-width: 90%;
    text-align: center;
    transform: translateX(50%);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    padding: 34px 24px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 860px;
  }

  .hero-content {
    min-height: 860px;
  }

  .hero-copy > p {
    font-size: 13px;
  }

  .rov-spec-card {
    display: none;
  }

  .hero-photo-credit {
    bottom: 52px;
  }

  .section h2 {
    font-size: clamp(40px, 11vw, 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy::before,
  .hero-copy::after {
    animation: none;
  }
}

/* OFFICIAL CLUB IDENTITY */
.brand-mark.brand-mark-official,
.site-header.scrolled .brand-mark.brand-mark-official {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(0, 242, 254, 0.38);
  border-radius: 10px;
  background: #bdeeff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 26px rgba(0, 242, 254, 0.16);
}

.brand-mark-official::before,
.brand-mark-official::after,
.brand-mark-official i,
.brand-mark-official b {
  display: none;
}

.brand-mark-official img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: none;
}

.brand:hover .brand-mark-official {
  border-color: rgba(0, 242, 254, 0.74);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07) inset,
    0 0 34px rgba(0, 242, 254, 0.28);
  transform: translateY(-1px);
}

.hero-club-emblem {
  position: relative;
  width: clamp(104px, 9vw, 126px);
  height: clamp(56px, 4.9vw, 68px);
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 254, 0.42);
  border-radius: 22px;
  background: #bdeeff;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.025),
    0 0 0 12px rgba(0, 242, 254, 0.025),
    0 0 54px rgba(0, 242, 254, 0.24),
    0 20px 60px rgba(0, 0, 0, 0.34);
  animation: club-emblem-float 5.5s ease-in-out infinite;
}

.hero-club-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 34% 70%, rgba(0, 242, 254, 0.1));
  pointer-events: none;
}

.hero-club-emblem img {
  position: absolute;
  top: 70%;
  left: 50%;
  width: 160%;
  max-width: none;
  transform: translate(-50%, -50%);
}

@keyframes club-emblem-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.footer-brand .brand-mark-official {
  width: 62px;
  height: 36px;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .brand-mark.brand-mark-official,
  .site-header.scrolled .brand-mark.brand-mark-official {
    width: 44px;
    height: 44px;
    border-radius: 9px;
  }

  .hero-club-emblem {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-club-emblem {
    animation: none;
  }
}

/* ABOUT / IT-STUDIO-STYLE PROFILE */
.section-about {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-block: clamp(116px, 9vw, 156px);
}

.section-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 16%, rgba(0, 242, 254, 0.1), transparent 32%),
    radial-gradient(circle at 82% 26%, rgba(112, 40, 228, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.2), rgba(3, 12, 30, 0.48));
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.84fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.about-main {
  min-width: 0;
}

.about-main > .section-index {
  margin-bottom: 20px;
}

.about-main > .section-kicker {
  margin-bottom: 12px;
}

.about-main > h2 {
  max-width: 820px;
  margin: 0 0 34px;
  font-size: clamp(50px, 5.3vw, 82px);
  line-height: 1.02;
}

.about-main > h2::after {
  content: "";
  display: block;
  width: clamp(118px, 11vw, 176px);
  height: 4px;
  margin-top: 18px;
  background: linear-gradient(90deg, #00f2fe 0 34%, #ff4fd8 34% 68%, #ffb703 68% 100%);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.28), 55px 0 24px rgba(255, 79, 216, 0.18);
}

.about-copy {
  max-width: 920px;
}

.about-copy > .lead,
.about-copy > p:not(.lead) {
  max-width: none;
  margin: 0 0 25px;
  color: #cbd5e1;
  font-family: Inter, var(--font-sans);
  font-size: clamp(16px, 1.17vw, 20px);
  font-weight: 470;
  line-height: 1.82;
  letter-spacing: 0.005em;
}

.about-copy > .lead {
  color: #f1f5f9;
  font-size: clamp(18px, 1.34vw, 23px);
  font-weight: 620;
  line-height: 1.72;
}

.about-copy mark {
  padding: 0;
  color: inherit;
  background: none;
  font-weight: 760;
}

.about-copy .text-cyan {
  color: var(--studio-cyan);
  text-shadow: 0 0 22px rgba(0, 242, 254, 0.14);
}

.about-copy .text-blue {
  color: #45b7ff;
  text-shadow: 0 0 20px rgba(69, 183, 255, 0.18);
}

.about-copy .text-violet {
  color: #ff72d7;
  text-shadow: 0 0 22px rgba(255, 79, 216, 0.16);
}

.about-main .stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  overflow: visible;
  background: transparent !important;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.about-main .stats-panel:hover {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: none;
}

.about-main .stat-card {
  min-height: 132px;
  padding: 28px 22px 0 0;
  border: 0;
  background: transparent;
}

.about-main .stat-code {
  margin-bottom: 18px;
  color: #52647e;
  font-size: 8px;
  letter-spacing: 0.17em;
}

.about-main .stat-value {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(36px, 3.2vw, 54px);
  font-weight: 760;
  letter-spacing: -0.075em;
}

.about-main .stat-card:nth-child(1) .stat-value {
  color: var(--studio-cyan);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.about-main .stat-card:nth-child(2) .stat-value {
  color: #ffb703;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.about-main .stat-card:nth-child(3) .stat-value {
  color: #ff4fd8;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.about-main .stat-card:nth-child(4) .stat-value {
  color: #39ff88;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.about-main .stat-card:nth-child(1) .stat-code { color: rgba(0, 242, 254, 0.65); }
.about-main .stat-card:nth-child(2) .stat-code { color: rgba(255, 183, 3, 0.68); }
.about-main .stat-card:nth-child(3) .stat-code { color: rgba(255, 79, 216, 0.66); }
.about-main .stat-card:nth-child(4) .stat-code { color: rgba(57, 255, 136, 0.62); }

.about-main .stat-value small {
  margin-left: 3px;
  font-size: 0.48em;
}

.about-main .stat-label {
  margin-top: 10px;
  color: #8291a8;
  font-size: 11px;
}

.about-resources {
  display: grid;
  gap: 20px;
  padding-top: clamp(88px, 9vw, 142px);
}

.resource-card {
  --resource-accent-rgb: 0, 242, 254;
  position: relative;
  min-height: 190px;
  padding: 25px 28px 24px;
  overflow: hidden;
  color: #f1f5f9;
  background:
    linear-gradient(120deg, rgba(8, 28, 53, 0.78), rgba(15, 23, 42, 0.62)),
    rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgb(var(--resource-accent-rgb));
  border-radius: 0 18px 18px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px) saturate(1.1);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.resource-card:nth-child(2) {
  --resource-accent-rgb: 255, 79, 216;
}

.resource-card:nth-child(3) {
  --resource-accent-rgb: 183, 255, 60;
}

.resource-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(var(--resource-accent-rgb), 0.16);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(var(--resource-accent-rgb), 0.09) inset;
}

.resource-card:hover {
  z-index: 2;
  transform: translateX(-8px);
  border-color: rgba(var(--resource-accent-rgb), 0.42);
  box-shadow: 0 24px 58px rgba(var(--resource-accent-rgb), 0.14);
}

.resource-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  color: rgb(var(--resource-accent-rgb));
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
}

.resource-card-top b {
  color: rgb(var(--resource-accent-rgb));
  font-weight: 600;
}

.resource-card h3 {
  margin: 0 0 11px;
  color: #f8fafc;
  font-family: Inter, var(--font-sans);
  font-size: clamp(21px, 1.5vw, 27px);
  line-height: 1.28;
}

.resource-card p {
  max-width: 92%;
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.72;
}

.resource-card small {
  display: block;
  margin-top: 18px;
  color: #44546d;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

@media (max-width: 1120px) {
  .about-showcase {
    grid-template-columns: 1fr;
  }

  .about-resources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 0;
  }

  .resource-card {
    min-height: 230px;
  }
}

@media (max-width: 820px) {
  .about-main > h2 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .about-main .stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-main .stat-card {
    min-height: 122px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .about-main .stat-card:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  .about-resources {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .about-main .stats-panel {
    grid-template-columns: 1fr 1fr;
  }

  .about-main .stat-card {
    padding-right: 10px;
  }

  .about-main .stat-value {
    font-size: 34px;
  }

  .resource-card {
    padding: 22px;
  }
}

/* ADVISORY TEAM / PHOTO-READY FACULTY CARDS */
.section-advisory {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  padding-block: clamp(86px, 7vw, 118px);
}

.section-advisory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 9% 20%, rgba(0, 242, 254, 0.1), transparent 30%),
    radial-gradient(circle at 83% 17%, rgba(112, 40, 228, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(5, 12, 31, 0.24), rgba(5, 15, 36, 0.54));
}

.advisory-heading {
  max-width: 960px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.advisory-heading .section-index {
  margin-bottom: 18px;
}

.advisory-heading .section-kicker {
  margin-bottom: 12px;
}

.advisory-heading h2 {
  margin: 0;
  color: #f8fafc;
  font-family: Inter, var(--font-sans);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

@media (min-width: 1281px) {
  .advisory-grid > .mentor-profile:nth-child(4):last-child {
    grid-column: 2;
  }
}

.mentor-profile {
  position: relative;
  display: grid;
  grid-template-columns: clamp(92px, 7.4vw, 118px) minmax(0, 1fr);
  gap: clamp(15px, 1.3vw, 21px);
  min-height: 220px;
  padding: clamp(16px, 1.35vw, 21px);
  overflow: hidden;
  color: #f1f5f9;
  text-decoration: none;
  background:
    linear-gradient(118deg, rgba(4, 24, 47, 0.86), rgba(15, 23, 42, 0.7)),
    rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.mentor-profile::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.1), transparent 67%);
  pointer-events: none;
}

.mentor-profile:nth-child(2)::before {
  background: radial-gradient(circle, rgba(112, 40, 228, 0.14), transparent 67%);
}

.mentor-profile:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.42);
  box-shadow: 0 22px 48px rgba(0, 242, 254, 0.12);
}

.mentor-photo-placeholder {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(0, 242, 254, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(0, 242, 254, 0.15), transparent 32%),
    linear-gradient(160deg, rgba(8, 48, 78, 0.82), rgba(7, 19, 40, 0.96));
  background-size: 22px 22px, 22px 22px, auto, auto;
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 9px;
}

.mentor-profile:nth-child(2) .mentor-photo-placeholder {
  background:
    linear-gradient(rgba(167, 139, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 28%, rgba(112, 40, 228, 0.18), transparent 32%),
    linear-gradient(160deg, rgba(35, 34, 86, 0.78), rgba(7, 19, 40, 0.96));
  background-size: 22px 22px, 22px 22px, auto, auto;
  border-color: rgba(167, 139, 250, 0.22);
}

.mentor-photo {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(35, 34, 86, 0.78), rgba(7, 19, 40, 0.96));
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 9px;
}

.mentor-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1), filter 260ms ease;
}

.mentor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 56%, rgba(4, 13, 33, 0.56)),
    linear-gradient(90deg, rgba(0, 242, 254, 0.08), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.mentor-photo > span {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 2;
  color: rgba(237, 252, 255, 0.84);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.mentor-profile:hover .mentor-photo img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.02);
}

.mentor-photo-placeholder::before,
.mentor-photo-placeholder::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.mentor-photo-placeholder::before {
  top: 23%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(157, 235, 245, 0.2);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 52px 0 20px rgba(0, 242, 254, 0.04);
}

.mentor-photo-placeholder::after {
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 9px;
}

.mentor-photo-placeholder > span,
.mentor-photo-placeholder > strong,
.mentor-photo-placeholder > small {
  position: absolute;
  z-index: 1;
}

.mentor-photo-placeholder > span {
  top: 11px;
  left: 12px;
  color: rgba(0, 242, 254, 0.66);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.mentor-photo-placeholder > strong {
  top: 50%;
  left: 50%;
  color: rgba(231, 251, 255, 0.86);
  font-family: "Noto Serif SC", serif;
  font-size: 38px;
  font-weight: 600;
  transform: translate(-50%, -46%);
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
}

.mentor-photo-placeholder > small {
  right: 9px;
  bottom: 9px;
  color: #5f728b;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mentor-profile-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mentor-profile-role {
  color: var(--studio-cyan);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.mentor-profile h3 {
  margin: 7px 0 14px;
  color: #f8fafc;
  font-family: Inter, var(--font-sans);
  font-size: clamp(25px, 1.75vw, 31px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.mentor-profile-meta {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
}

.mentor-profile-meta div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.mentor-profile-meta dt {
  color: #53647d;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.mentor-profile-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #a8b5c8;
  font-size: 11px;
  line-height: 1.45;
}

.mentor-profile-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: #8ba3ba;
  font-size: 9px;
}

.mentor-profile-link i {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.55), rgba(0, 242, 254, 0.05));
}

.mentor-profile-link b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #031018;
  background: var(--studio-cyan);
  border-radius: 50%;
  transition: transform 220ms ease;
}

.mentor-profile:hover .mentor-profile-link b {
  transform: rotate(45deg);
}

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

  .advisory-grid > .mentor-profile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - clamp(16px, 1.6vw, 24px)) / 2);
    justify-self: center;
  }

  .mentor-profile {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .advisory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .advisory-grid > .mentor-profile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 12px) / 2);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .section-advisory {
    padding-block: 72px;
  }

  .advisory-heading {
    margin-bottom: 28px;
  }

  .advisory-heading h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .mentor-profile {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 10px;
  }

  .mentor-photo-placeholder,
  .mentor-photo {
    min-height: clamp(150px, 43vw, 184px);
  }

  .mentor-photo-placeholder > strong {
    font-size: 30px;
  }

  .mentor-photo-placeholder > small {
    font-size: 7px;
  }

  .mentor-profile-role {
    font-size: 8px;
    line-height: 1.45;
  }

  .mentor-profile h3 {
    margin: 6px 0 10px;
    font-size: clamp(21px, 6.5vw, 26px);
  }

  .mentor-profile-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .mentor-profile-meta dt {
    font-size: 8px;
  }

  .mentor-profile-meta dd {
    font-size: 10px;
    line-height: 1.4;
  }

  .mentor-profile-link {
    gap: 5px;
    font-size: 8px;
  }

  .mentor-profile-link b {
    width: 22px;
    height: 22px;
  }
}

/* STUDIO VIBES / TWO-WAY INFINITE PHOTO RIVER */
.section-life {
  position: relative;
  overflow: hidden;
}

.motion-gallery {
  display: grid;
  gap: 12px;
  width: 100%;
}

.motion-gallery-row {
  display: flex;
  overflow: hidden;
  margin: -12px 0;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.motion-gallery-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: motion-gallery-scroll var(--gallery-speed, 60s) linear infinite;
  animation-direction: var(--gallery-direction, normal);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.motion-gallery-track.gallery-track-restarting {
  animation: none !important;
}

.motion-gallery-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.motion-gallery-item {
  position: relative;
  display: block;
  width: auto;
  height: clamp(160px, 14.5vw, 208px);
  flex: 0 0 auto;
  padding: 0;
  overflow: visible;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 300ms ease;
}

.motion-gallery-item:hover,
.motion-gallery-item:focus-visible {
  z-index: 10;
  transform: scale(1.03);
  outline: none;
}

.motion-gallery-media {
  position: relative;
  display: block;
  height: 100%;
  aspect-ratio: var(--image-ratio, 4 / 3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  box-shadow: 0 13px 36px rgba(0, 0, 0, 0.22);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.motion-gallery-item:hover .motion-gallery-media,
.motion-gallery-item:focus-visible .motion-gallery-media {
  border-color: rgba(0, 242, 254, 0.36);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42), 0 0 28px rgba(0, 242, 254, 0.13);
}

.motion-gallery-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.92) contrast(1.03);
  transition: opacity 360ms ease, filter 300ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-gallery-media img.is-loaded {
  opacity: 1;
}

.motion-gallery-item:hover img,
.motion-gallery-item:focus-visible img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.025);
}

.motion-gallery-loader {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(0, 242, 254, 0.15);
  border-top-color: rgba(0, 242, 254, 0.72);
  border-radius: 50%;
  animation: gallery-loader-spin 900ms linear infinite;
}

.motion-gallery-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 54%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.motion-gallery-caption {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 11px;
  left: 13px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  text-align: left;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.motion-gallery-caption strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.motion-gallery-caption small {
  color: rgba(200, 248, 255, 0.72);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.motion-gallery-item:hover .motion-gallery-shade,
.motion-gallery-item:focus-visible .motion-gallery-shade,
.motion-gallery-item:hover .motion-gallery-caption,
.motion-gallery-item:focus-visible .motion-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

@keyframes motion-gallery-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes gallery-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 32px;
  color: #f8fafc;
  background: rgba(3, 7, 18, 0.86);
  border: 0;
  backdrop-filter: blur(18px);
}

.gallery-lightbox:not([open]) {
  display: none;
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
}

.gallery-lightbox::backdrop {
  background: transparent;
}

.gallery-lightbox-inner {
  display: flex;
  max-width: min(90vw, 1500px);
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-inner > img {
  display: block;
  max-width: 86vw;
  max-height: 76vh;
  object-fit: contain;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.7);
}

.gallery-lightbox-copy {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.gallery-lightbox-copy strong {
  color: #fff;
  font-size: 18px;
}

.gallery-lightbox-copy span,
.gallery-lightbox-inner > small {
  color: #71819a;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.gallery-lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #c8faff;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .motion-gallery {
    width: calc(100vw - 18px);
    margin-left: calc((100vw - var(--shell)) / -2 + 9px);
  }

  .motion-gallery-caption small {
    display: none;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-inner > img {
    max-width: 92vw;
    max-height: 70vh;
  }

  .gallery-lightbox-copy {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-gallery-row {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-width: thin;
  }

  .motion-gallery-track {
    animation: none;
  }

  .motion-gallery-set[aria-hidden="true"] {
    display: none;
  }

  .motion-gallery-loader {
    animation: none;
  }
}

/* MEMBER ARCHIVE / YEAR + ORGANIZATION FILTERS */
.section-members {
  position: relative;
  overflow: hidden;
  color: #eaf9ff;
  background:
    radial-gradient(circle at 18% 20%, rgba(40, 170, 165, 0.13), transparent 27%),
    radial-gradient(circle at 82% 48%, rgba(65, 110, 225, 0.13), transparent 32%),
    linear-gradient(180deg, #071c35 0%, #082845 52%, #06182c 100%);
}

.section-members::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 148px;
  opacity: 0.28;
  background:
    repeating-linear-gradient(90deg, rgba(105, 104, 255, 0.4) 0 2px, transparent 2px 8px),
    radial-gradient(70% 110px at 18% -10px, #6556c8 0 52%, transparent 53%),
    radial-gradient(62% 100px at 78% -18px, #40389d 0 54%, transparent 55%);
  mask-image: linear-gradient(to bottom, #000 0 70%, transparent 100%);
  pointer-events: none;
}

.section-members::after {
  content: "MEMBER ARCHIVE / OUC UNDERWATER ROBOTICS";
  position: absolute;
  right: 3vw;
  bottom: 28px;
  color: rgba(122, 225, 232, 0.2);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.24em;
  pointer-events: none;
}

.section-members .shell {
  position: relative;
  z-index: 1;
}

.section-members .section-heading {
  align-items: end;
  margin-bottom: 48px;
}

.section-members .section-index,
.section-members .section-kicker {
  color: #51e3e2;
}

.section-members h2 {
  color: #f6fbff;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.28);
}

.members-intro {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(207, 231, 240, 0.66);
  font-size: 15px;
  line-height: 1.8;
}

.member-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.member-year-tabs,
.member-group-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(147, 205, 225, 0.13);
  border-radius: 16px;
  background: rgba(10, 35, 62, 0.76);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.member-group-tabs {
  max-width: 74%;
  overflow-x: auto;
  scrollbar-width: none;
}

.member-group-tabs::-webkit-scrollbar {
  display: none;
}

.member-year-tabs button,
.member-group-tabs button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 11px;
  color: rgba(207, 228, 237, 0.55);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-year-tabs button:hover,
.member-group-tabs button:hover,
.member-year-tabs button:focus-visible,
.member-group-tabs button:focus-visible {
  color: #f5fcff;
  outline: none;
  transform: translateY(-1px);
}

.member-year-tabs button.active,
.member-group-tabs button.active {
  color: #03283b;
  background: linear-gradient(135deg, #55f3d0, #44d7ee);
  box-shadow: 0 9px 28px rgba(67, 224, 219, 0.24);
}

.member-archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(160, 203, 218, 0.5);
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.member-archive-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.member-archive-meta i {
  width: 26px;
  height: 1px;
  background: #4cdbdd;
}

.member-archive-meta b {
  color: rgba(191, 233, 239, 0.72);
  font-weight: 500;
}

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

.member-card {
  position: relative;
  min-height: 322px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 25px 22px;
  overflow: hidden;
  border: 1px solid rgba(139, 201, 222, 0.12);
  border-radius: 5px;
  color: #edfaff;
  background:
    linear-gradient(145deg, rgba(23, 58, 91, 0.9), rgba(10, 35, 65, 0.86)),
    rgba(9, 34, 60, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  animation: member-card-in 420ms both;
  animation-delay: calc(var(--member-order) * 34ms);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(80, 238, 222, 0.08), transparent 28% 72%, rgba(96, 102, 255, 0.08));
  pointer-events: none;
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(81, 227, 226, 0.36);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.23), 0 0 34px rgba(57, 207, 211, 0.08);
}

.member-card-corner {
  position: absolute;
  top: 15px;
  right: 16px;
  color: rgba(129, 211, 224, 0.34);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.member-avatar {
  position: relative;
  width: 106px;
  height: 106px;
  margin-bottom: 20px;
  border: 2px solid rgba(117, 220, 225, 0.35);
  border-radius: 50%;
  overflow: hidden;
  background: #0a2746;
  box-shadow: 0 0 0 7px rgba(80, 226, 224, 0.025), 0 18px 40px rgba(0, 0, 0, 0.25);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(94, 242, 222, 0.35), transparent 24%),
    conic-gradient(from 210deg, #102e56, #1f6373, #22376d, #102e56);
}

.member-avatar-placeholder span {
  color: #8ef4e7;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.member-avatar-placeholder b {
  color: rgba(243, 253, 255, 0.84);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.member-role {
  margin-bottom: 8px;
  color: #51e3e2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.member-card h3 {
  margin: 0;
  color: #f6fbff;
  font-size: 20px;
  font-weight: 760;
}

.member-card > p {
  min-height: 48px;
  margin: 13px 0 22px;
  color: rgba(195, 219, 229, 0.58);
  font-size: 13px;
  line-height: 1.75;
  text-align: center;
}

.member-card-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(134, 199, 219, 0.1);
  color: rgba(173, 214, 225, 0.52);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.member-card-footer b {
  color: rgba(82, 225, 223, 0.74);
}

.member-empty {
  min-height: 330px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 48px 24px;
  border: 1px dashed rgba(114, 213, 220, 0.2);
  border-radius: 8px;
  text-align: center;
  background: rgba(8, 34, 59, 0.46);
}

.member-empty[hidden] {
  display: none;
}

.member-empty span {
  color: #51e3e2;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.member-empty h3 {
  margin: 15px 0 10px;
  color: #f1fbff;
  font-size: 25px;
}

.member-empty p {
  max-width: 530px;
  margin: 0;
  color: rgba(190, 220, 230, 0.58);
  font-size: 14px;
  line-height: 1.8;
}

@keyframes member-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-group-tabs {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .section-members .section-heading {
    margin-bottom: 34px;
  }

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

  .member-year-tabs,
  .member-group-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .member-card {
    min-height: 292px;
    padding: 27px 15px 18px;
  }

  .member-avatar {
    width: 88px;
    height: 88px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .member-card {
    animation: none;
    transition: none;
  }
}

/* DIRECTION CARDS / IMAGE-COPY SEPARATION */
.section-directions .direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.section-directions .direction-card,
.section-directions .direction-card[data-accent="blue"],
.section-directions .direction-card[data-accent="green"],
.section-directions .direction-card[data-accent="violet"] {
  min-height: 0;
  display: grid;
  grid-template-rows: 258px minmax(255px, 1fr);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 204, 226, 0.18);
  border-radius: 18px;
  color: #edfaff;
  background: rgba(7, 29, 54, 0.94) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.section-directions .direction-card::before,
.section-directions .direction-card::after {
  content: none !important;
  display: none !important;
}

.direction-media {
  position: relative;
  min-width: 0;
  height: 258px;
  margin: 0;
  overflow: hidden;
  background: #061b31;
}

.direction-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 17, 34, 0.1) 5%, rgba(4, 21, 42, 0.1) 48%, rgba(4, 23, 44, 0.88) 100%),
    linear-gradient(90deg, rgba(4, 24, 44, 0.4), transparent 58%);
  pointer-events: none;
}

.direction-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.9);
  transform: scale(1.01);
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1), filter 350ms ease;
}

.direction-card:hover .direction-media img {
  filter: saturate(1.02) contrast(1.05) brightness(0.96);
  transform: scale(1.055);
}

.direction-media .direction-number {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 22px;
  color: rgba(215, 244, 249, 0.72);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.17em;
}

.direction-media .direction-code {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  margin: 0;
  color: rgba(4, 25, 45, 0.18);
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(64px, 6vw, 92px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.075em;
  -webkit-text-stroke: 1.5px rgba(89, 236, 232, 0.88);
  text-shadow: 0 0 30px rgba(20, 213, 218, 0.16);
}

.direction-source {
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 48%;
  padding: 7px 10px;
  border: 1px solid rgba(220, 248, 250, 0.18);
  border-radius: 999px;
  color: rgba(235, 251, 252, 0.78);
  background: rgba(3, 20, 39, 0.56);
  backdrop-filter: blur(10px);
  font-family: Consolas, monospace;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.direction-source:hover,
.direction-source:focus-visible {
  color: #031a27;
  border-color: #5de8e4;
  outline: none;
  background: #5de8e4;
}

.direction-source b {
  font-size: 11px;
}

.direction-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 25px 26px 23px;
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 214, 219, 0.08), transparent 35%),
    linear-gradient(145deg, rgba(11, 42, 72, 0.98), rgba(6, 27, 52, 0.98));
}

.direction-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.direction-title-row > b {
  flex: 0 0 auto;
  color: rgba(89, 232, 228, 0.24);
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.direction-body .direction-title-row h3 {
  margin: 0 0 7px;
  color: #f5fbff;
  font-family: "STZhongsong", "Songti SC", SimSun, serif;
  font-size: 25px;
  line-height: 1.25;
}

.direction-body .direction-en {
  display: block;
  color: rgba(132, 190, 205, 0.56);
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.direction-body > p {
  max-width: none;
  margin: 20px 0 22px;
  color: rgba(207, 231, 238, 0.72);
  font-size: 13px;
  line-height: 1.85;
}

.direction-body .direction-tags {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.direction-body .direction-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(86, 216, 219, 0.18);
  border-radius: 999px;
  color: rgba(176, 237, 237, 0.78);
  background: rgba(43, 173, 178, 0.06);
  font-size: 9px;
  line-height: 1;
}

@media (max-width: 820px) {
  .section-directions .direction-grid {
    grid-template-columns: 1fr;
  }

  .section-directions .direction-card,
  .section-directions .direction-card[data-accent="blue"],
  .section-directions .direction-card[data-accent="green"],
  .section-directions .direction-card[data-accent="violet"] {
    grid-template-rows: 230px auto;
  }

  .direction-media {
    height: 230px;
  }
}

@media (max-width: 520px) {
  .direction-media .direction-code {
    font-size: 66px;
  }

  .direction-source {
    max-width: 54%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .direction-body {
    padding: 22px 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .direction-media img,
  .direction-card:hover .direction-media img {
    transform: none;
    transition: none;
  }
}

/* PROJECT MATRIX / ACCENTED DELIVERY SYSTEM */
.section-projects .project-toolbar {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 30px;
  padding: 5px;
  background: rgba(5, 24, 47, 0.72);
  border: 1px solid rgba(148, 210, 255, 0.13);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(2, 12, 27, 0.2);
  backdrop-filter: blur(16px);
}

.section-projects .filter-button {
  position: relative;
  min-width: 78px;
  padding: 10px 17px;
  color: #7893aa;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.section-projects .filter-button:hover {
  color: #eafcff;
  background: rgba(255, 255, 255, 0.055);
}

.section-projects .filter-button.active {
  color: #02131c;
  background: linear-gradient(105deg, #00f2fe, #68d7ff);
  border: 0;
  box-shadow: 0 0 26px rgba(0, 242, 254, 0.27);
}

.section-projects .project-grid {
  gap: 18px;
}

.section-projects .project-card {
  --project-accent: #00f2fe;
  --project-accent-end: #3b82f6;
  --project-accent-rgb: 0, 242, 254;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 4%, rgba(var(--project-accent-rgb), 0.12), transparent 30%),
    linear-gradient(145deg, rgba(7, 34, 64, 0.88), rgba(8, 22, 45, 0.78)) !important;
  border: 1px solid rgba(156, 210, 247, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 65px rgba(1, 13, 29, 0.24);
  isolation: isolate;
}

.section-projects .project-card:nth-child(2) {
  --project-accent: #39ff88;
  --project-accent-end: #00d9f5;
  --project-accent-rgb: 57, 255, 136;
}

.section-projects .project-card:nth-child(3) {
  --project-accent: #ff4fd8;
  --project-accent-end: #8b5cf6;
  --project-accent-rgb: 255, 79, 216;
}

.section-projects .project-card:nth-child(4) {
  --project-accent: #ffb703;
  --project-accent-end: #ff5f6d;
  --project-accent-rgb: 255, 183, 3;
}

.section-projects .project-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--project-accent), var(--project-accent-end), transparent);
  box-shadow: 0 0 24px rgba(var(--project-accent-rgb), 0.32);
}

.section-projects .project-card::after {
  content: attr(data-project-id);
  position: absolute;
  right: 20px;
  bottom: 54px;
  z-index: -1;
  color: rgba(var(--project-accent-rgb), 0.045);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(64px, 6vw, 98px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.section-projects .project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--project-accent-rgb), 0.45);
  box-shadow: 0 28px 70px rgba(1, 13, 29, 0.34), 0 0 38px rgba(var(--project-accent-rgb), 0.09);
}

.section-projects .project-code {
  color: var(--project-accent);
  font-weight: 750;
  letter-spacing: 0.15em;
}

.section-projects .project-category {
  padding: 8px 11px;
  color: var(--project-accent);
  background: rgba(var(--project-accent-rgb), 0.08);
  border: 1px solid rgba(var(--project-accent-rgb), 0.18);
  border-radius: 999px;
  font-weight: 680;
}

.section-projects .project-card h3 {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 48px 0 14px;
  font-size: clamp(27px, 2vw, 34px);
  line-height: 1.2;
}

.section-projects .project-card > p {
  position: relative;
  z-index: 1;
  max-width: 92%;
  color: #94a8bd;
  font-size: 13px;
  line-height: 1.75;
}

.section-projects .project-meta {
  z-index: 2;
}

.section-projects .project-meta-row strong,
.section-projects .project-team strong {
  color: var(--project-accent);
}

.section-projects .project-progress {
  height: 6px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.045);
}

.section-projects .project-progress i {
  background: linear-gradient(90deg, var(--project-accent), var(--project-accent-end));
  box-shadow: 0 0 16px rgba(var(--project-accent-rgb), 0.4);
}

.section-projects .training-path {
  position: relative;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(46px, 5vw, 86px);
  margin-top: 92px;
  padding: clamp(42px, 4vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 242, 254, 0.11), transparent 30%),
    radial-gradient(circle at 93% 88%, rgba(255, 79, 216, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(5, 31, 59, 0.93), rgba(8, 19, 40, 0.9)) !important;
  border: 1px solid rgba(150, 211, 252, 0.17);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(1, 13, 29, 0.3);
}

.section-projects .training-path::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #00f2fe, #3b82f6 34%, #8b5cf6 66%, #ff4fd8);
}

.section-projects .training-intro {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
}

.section-projects .training-intro > span {
  width: max-content;
  padding: 7px 10px;
  color: #041520;
  background: #00f2fe;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.2);
}

.section-projects .training-intro h3 {
  margin-top: 26px;
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.18;
}

.section-projects .training-intro::after {
  content: "05 STAGES  /  ONE GROWTH PATH";
  margin-top: auto;
  color: rgba(150, 201, 221, 0.42);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.section-projects .training-path ol {
  position: relative;
  border-top: 0;
}

.section-projects .training-path ol::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 17px;
  width: 1px;
  background: linear-gradient(#00f2fe, #8b5cf6 55%, #ff4fd8);
  opacity: 0.42;
}

.section-projects .training-path li {
  position: relative;
  grid-template-columns: 36px 150px minmax(0, 1fr);
  gap: 18px;
  min-height: 64px;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  transition: transform 180ms ease, background-color 180ms ease;
}

.section-projects .training-path li:hover {
  transform: translateX(7px);
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.045), transparent 72%);
}

.section-projects .training-path li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #02141d;
  background: #00f2fe;
  border: 4px solid #08233f;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.22);
  font-weight: 800;
}

.section-projects .training-path li:nth-child(4) > span,
.section-projects .training-path li:nth-child(5) > span {
  color: #fff;
  background: #8b5cf6;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.24);
}

.section-projects .training-path li:last-child > span {
  background: #ff4fd8;
}

.section-projects .training-path li strong {
  color: #f5fbff;
  font-size: 14px;
}

.section-projects .training-path li small {
  color: #7f97ad;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .section-projects .project-toolbar,
  .section-projects .project-grid {
    margin-left: 0;
  }

  .section-projects .training-path {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-projects .training-intro {
    min-height: 0;
  }

  .section-projects .training-intro::after {
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  .section-projects .project-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 22px;
  }

  .section-projects .filter-button {
    width: 100%;
  }

  .section-projects .project-grid {
    grid-template-columns: 1fr;
  }

  .section-projects .project-card {
    min-height: 350px;
    padding: 24px;
  }

  .section-projects .training-path {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .section-projects .training-path li {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .section-projects .training-path li small {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-projects .project-card,
  .section-projects .training-path li {
    transition: none;
  }
}

/* RECRUITMENT QR / FINAL JOIN POINT */
.final-cta .final-cta-inner {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.68fr) auto;
  gap: clamp(34px, 4vw, 68px);
  align-items: center;
}

.final-cta .cta-side {
  align-self: center;
}

.cta-qr {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(190px, 15vw, 230px);
  justify-items: center;
  padding: 13px 13px 15px;
  color: #eafcff;
  background: rgba(3, 18, 37, 0.76);
  border: 1px solid rgba(0, 242, 254, 0.26);
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(1, 11, 25, 0.3), 0 0 34px rgba(0, 242, 254, 0.09);
  backdrop-filter: blur(18px);
}

.cta-qr::before {
  content: "SCAN / JOIN";
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 5px 8px;
  color: #03131c;
  background: #00f2fe;
  border-radius: 999px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.22);
}

.cta-qr-frame {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 14px;
}

.cta-qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.cta-qr strong {
  margin-top: 13px;
  color: #f7fdff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.cta-qr small {
  margin-top: 5px;
  color: #6f92aa;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

@media (max-width: 1100px) {
  .final-cta .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .final-cta .cta-side {
    grid-column: 1;
  }

  .final-cta .cta-qr {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .final-cta .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-cta .cta-side,
  .final-cta .cta-qr {
    grid-row: auto;
    grid-column: auto;
  }

  .final-cta .cta-qr {
    width: min(100%, 260px);
    justify-self: center;
  }
}

/* FINAL SITE-WIDE INTEGRATION / CHAPTER SYSTEM */
main > section[id] {
  scroll-margin-top: 106px;
}

.mobile-join-link {
  display: none;
}

main > .section {
  position: relative;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(125, 211, 252, 0.035),
    inset 0 -1px 0 rgba(139, 92, 246, 0.025);
}

main > .section:not(.final-cta) > .shell {
  position: relative;
  z-index: 2;
}

main > .section:not(.final-cta) > .shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(56px, 6vw, 92px);
  height: 2px;
  background: linear-gradient(90deg, #00f2fe, #60a5fa 48%, #8b5cf6);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.22);
  opacity: 0.78;
}

.section-heading,
.advisory-heading,
.members-heading {
  margin-bottom: clamp(46px, 5vw, 76px);
}

.section-heading h2,
.advisory-heading h2,
.faq-title h2 {
  text-wrap: balance;
}

.heading-phrase,
.mobile-heading-line {
  white-space: nowrap;
}

.mobile-heading-line {
  display: inline;
}

.section-index,
.section-kicker,
.advisory-heading .section-index,
.advisory-heading .section-kicker {
  font-family: "JetBrains Mono", Consolas, monospace;
}

.section-index {
  color: rgba(99, 222, 244, 0.72);
}

.section-kicker {
  color: #00eaf7;
  text-shadow: 0 0 18px rgba(0, 234, 247, 0.16);
}

.about-copy .text-yellow {
  color: #ffd23f;
  font-weight: 800;
  text-shadow:
    0 0 18px rgba(255, 210, 63, 0.24),
    0 0 34px rgba(255, 155, 31, 0.1);
}

.mentor-profile,
.org-node,
.org-committee,
.member-card,
.direction-card,
.project-card,
.cross-lab,
.training-path,
.faq-list,
.final-cta-inner {
  border-color: rgba(113, 205, 238, 0.16);
  box-shadow:
    0 24px 62px rgba(0, 7, 22, 0.24),
    inset 0 1px 0 rgba(224, 247, 255, 0.025);
}

.mentor-profile:hover,
.org-committee:hover,
.member-card:hover,
.direction-card:hover,
.project-card:hover {
  border-color: rgba(0, 234, 247, 0.38);
  box-shadow:
    0 28px 72px rgba(0, 7, 22, 0.34),
    0 0 34px rgba(0, 234, 247, 0.065),
    inset 0 1px 0 rgba(224, 247, 255, 0.04);
}

#recruitment {
  scroll-margin-top: 84px;
}

#recruitment .final-cta-inner {
  border-top-color: rgba(0, 242, 254, 0.48);
}

#recruitment:target .final-cta-inner {
  animation: recruitment-focus 1.1s ease-out both;
}

@keyframes recruitment-focus {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.3), 0 24px 62px rgba(0, 7, 22, 0.24);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(0, 242, 254, 0), 0 24px 62px rgba(0, 7, 22, 0.24);
  }
}

@media (max-width: 720px) {
  main > section[id] {
    scroll-margin-top: 78px;
  }

  main > .section:not(.final-cta) > .shell::before {
    top: -4px;
  }

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

  .mobile-heading-line {
    display: block;
  }
}

@media (max-width: 1100px) {
  .site-nav.open .mobile-join-link {
    display: block;
    margin-top: 12px;
    color: #031018;
    background: linear-gradient(105deg, #00f2fe, #68d7ff);
    border: 0;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  #recruitment:target .final-cta-inner {
    animation: none;
  }
}

/* MEMBER DIRECTORY / COMPACT ARCHIVE REVISION */
.section-members {
  padding-block: clamp(96px, 8vw, 128px);
  background:
    radial-gradient(circle at 11% 28%, rgba(255, 77, 143, 0.1), transparent 17%),
    radial-gradient(circle at 80% 40%, rgba(0, 234, 247, 0.11), transparent 28%),
    linear-gradient(180deg, #06162c 0%, #071f3b 47%, #06152a 100%);
}

.section-members::before {
  height: 185px;
  opacity: 0.4;
  background:
    repeating-linear-gradient(90deg, rgba(121, 105, 255, 0.5) 0 2px, transparent 2px 8px),
    radial-gradient(60% 138px at 20% -8px, #6054ce 0 49%, transparent 50%),
    radial-gradient(62% 132px at 78% -22px, #342d92 0 52%, transparent 53%);
  mask-image: linear-gradient(to bottom, #000 0 68%, transparent 100%);
}

.section-members .shell {
  max-width: 1560px;
}

.section-members .members-heading {
  display: block;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.members-title-lockup {
  position: relative;
  width: min(100%, 760px);
  padding-left: 2px;
}

.members-title-lockup::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c9e;
  box-shadow:
    0 0 16px rgba(255, 92, 158, 0.9),
    -7px 11px 0 -2px rgba(255, 92, 158, 0.72),
    -11px 23px 0 -3px rgba(255, 92, 158, 0.48);
}

.section-members .members-title-lockup .section-index {
  padding: 0;
  color: #10e5ee;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.section-members .members-title-lockup h2 {
  margin: 10px 0 0;
  font-size: clamp(52px, 5.5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-members .members-intro {
  max-width: 580px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.75;
}

.member-toolbar {
  position: relative;
  z-index: 2;
  min-height: 46px;
  margin-bottom: 20px;
}

.member-filter {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.member-filter-group {
  max-width: 72%;
  justify-content: flex-end;
}

.member-filter-arrow {
  flex: 0 0 auto;
  color: rgba(136, 180, 206, 0.3);
  font-family: Consolas, monospace;
  font-size: 23px;
  line-height: 1;
}

.member-filter-arrow-next {
  color: #00e8e5;
  text-shadow: 0 0 14px rgba(0, 232, 229, 0.45);
}

.member-year-tabs,
.member-group-tabs {
  min-width: 0;
  gap: 2px;
  padding: 4px;
  border-color: rgba(143, 196, 222, 0.14);
  border-radius: 14px;
  background: rgba(14, 35, 62, 0.88);
  box-shadow:
    0 16px 42px rgba(0, 5, 18, 0.2),
    inset 0 1px 0 rgba(222, 247, 255, 0.025);
}

.member-group-tabs {
  max-width: none;
}

.member-year-tabs button,
.member-group-tabs button {
  min-height: 34px;
  padding-inline: 14px;
  border-radius: 10px;
  font-size: 11px;
}

.member-year-tabs button.active {
  color: #f8fdff;
  background: linear-gradient(135deg, #1266a9, #0879c2);
  box-shadow: 0 8px 24px rgba(0, 119, 196, 0.28);
}

.member-group-tabs button.active {
  color: #03241d;
  background: linear-gradient(135deg, #04f19d, #13df8e);
  box-shadow: 0 8px 24px rgba(4, 241, 157, 0.25);
}

.member-archive-meta {
  margin: 0 0 13px;
  padding-inline: 3px;
  font-size: 8px;
  letter-spacing: 0.19em;
}

.member-archive-meta b {
  padding: 5px 9px;
  border: 1px solid rgba(81, 227, 226, 0.12);
  border-radius: 99px;
  color: rgba(195, 239, 242, 0.62);
  background: rgba(7, 30, 54, 0.58);
}

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

.member-card {
  min-height: 258px;
  padding: 29px 18px 14px;
  border-color: rgba(133, 200, 225, 0.11);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 108, 145, 0.12), transparent 42%),
    linear-gradient(155deg, rgba(21, 49, 80, 0.94), rgba(11, 32, 59, 0.94));
  box-shadow:
    0 22px 52px rgba(0, 6, 21, 0.23),
    inset 0 1px 0 rgba(224, 247, 255, 0.02);
}

.member-card::before {
  background:
    linear-gradient(135deg, rgba(0, 238, 229, 0.06), transparent 30% 74%, rgba(122, 90, 255, 0.06)),
    repeating-linear-gradient(118deg, transparent 0 9px, rgba(139, 220, 239, 0.016) 9px 10px);
}

.member-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(0, 234, 247, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(0, 234, 247, 0.018), 0 0 0 34px rgba(0, 234, 247, 0.012);
  pointer-events: none;
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 234, 247, 0.38);
  box-shadow:
    0 26px 64px rgba(0, 5, 20, 0.34),
    0 0 28px rgba(0, 234, 247, 0.07),
    inset 0 1px 0 rgba(224, 247, 255, 0.04);
}

.member-card-topline {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(116, 202, 217, 0.38);
  font-family: Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.member-card-topline b {
  color: rgba(101, 234, 224, 0.5);
  font-weight: 500;
}

.member-card-corner {
  display: none;
}

.member-avatar {
  width: 84px;
  height: 84px;
  margin: 1px 0 14px;
  overflow: visible;
  border: 1px solid rgba(130, 218, 230, 0.36);
  box-shadow:
    0 0 0 5px rgba(65, 221, 222, 0.025),
    0 14px 32px rgba(0, 0, 0, 0.25);
}

.member-avatar img,
.member-avatar-placeholder {
  border-radius: 50%;
}

.member-avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid transparent;
  border-top-color: rgba(0, 234, 247, 0.4);
  border-right-color: rgba(108, 91, 255, 0.2);
  border-radius: 50%;
  animation: member-sonar-turn 9s linear infinite;
  pointer-events: none;
}

.member-avatar-placeholder {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 33% 26%, rgba(0, 243, 218, 0.28), transparent 24%),
    conic-gradient(from 210deg, #0b294e, #166371, #25346b, #0b294e);
}

.member-avatar-placeholder::before,
.member-avatar-placeholder::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 1px solid rgba(123, 239, 231, 0.12);
  border-radius: 50%;
}

.member-avatar-placeholder::after {
  inset: 23px;
}

.member-avatar-placeholder i {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(76, 247, 226, 0.44), transparent);
  transform-origin: left center;
  animation: member-radar-sweep 6s linear infinite;
}

.member-avatar-placeholder span,
.member-avatar-placeholder b {
  position: relative;
  z-index: 1;
}

.member-avatar-placeholder span {
  font-size: 8px;
}

.member-avatar-placeholder b {
  font-family: Consolas, monospace;
  font-size: 20px;
  font-weight: 600;
}

.member-role {
  margin-bottom: 6px;
  color: #00e9ee;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-shadow: 0 0 16px rgba(0, 233, 238, 0.18);
}

.member-card h3 {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.member-card > .member-quote {
  min-height: 36px;
  margin: 9px 0 12px;
  color: rgba(194, 216, 227, 0.55);
  font-size: 11px;
  font-style: italic;
  line-height: 1.55;
}

.member-card-footer {
  position: relative;
  z-index: 1;
  padding-top: 10px;
  color: rgba(169, 210, 222, 0.4);
  font-size: 8px;
}

.member-card-footer b {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(0, 232, 229, 0.16);
  border-radius: 50%;
  color: #00e8e5;
  font-size: 10px;
}

@keyframes member-sonar-turn {
  to { transform: rotate(360deg); }
}

@keyframes member-radar-sweep {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-filter-group {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .member-group-tabs {
    max-width: calc(100% - 54px);
  }
}

@media (max-width: 780px) {
  .section-members {
    padding-block: 86px;
  }

  .section-members .members-title-lockup h2 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .section-members .members-intro {
    font-size: 12px;
  }

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

  .member-filter,
  .member-year-tabs,
  .member-group-tabs {
    width: 100%;
  }

  .member-filter {
    gap: 6px;
  }

  .member-year-tabs,
  .member-group-tabs {
    max-width: calc(100% - 42px);
    overflow-x: auto;
  }

  .member-card {
    min-height: 244px;
    padding: 27px 13px 12px;
  }

  .member-avatar {
    width: 76px;
    height: 76px;
  }

  .member-card h3 {
    font-size: 17px;
  }

  .member-card > .member-quote {
    font-size: 10px;
  }
}

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

  .member-card {
    min-height: 232px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-avatar::after,
  .member-avatar-placeholder i {
    animation: none;
  }
}

/* Desktop-only inertial scrolling. Touch devices retain their native gesture physics. */
html.inertial-scroll {
  scroll-behavior: auto !important;
}

html.inertial-scroll.is-gliding {
  scroll-behavior: auto !important;
}

/* MOBILE ARCHITECTURE / PRESERVE DESKTOP RELATIONSHIPS
   Peer modules stay aligned in compact grids instead of becoming full-width stacks. */
@media (max-width: 820px) {
  .section-heading:not(.members-heading) {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .section-heading:not(.members-heading) .section-index {
    padding-top: 8px;
    font-size: 7px;
    line-height: 1.55;
  }

  .section-heading:not(.members-heading) h2 {
    font-size: clamp(34px, 7.5vw, 50px);
  }

  .mobile-heading-line {
    display: inline;
  }

  .about-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .about-resources > .resource-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }

  .resource-card {
    min-height: 188px;
    padding: 18px;
  }

  .resource-card h3 {
    font-size: 18px;
  }

  .resource-card p {
    max-width: none;
    font-size: 11px;
  }

  .org-guidance {
    width: min(84%, 550px);
  }

  .org-presidium {
    width: min(94%, 760px);
  }

  .org-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 56px;
  }

  .org-branches::before {
    top: -28px;
    right: 25%;
    left: 25%;
    height: 28px;
    border-top: 1px solid rgba(146, 207, 245, 0.28);
    border-right: 1px solid rgba(146, 207, 245, 0.28);
    border-left: 1px solid rgba(146, 207, 245, 0.28);
  }

  .org-branches::after {
    top: -56px;
    height: 29px;
  }

  .org-committee {
    min-width: 0;
    min-height: 100%;
    padding: 18px 16px;
  }

  .committee-title {
    gap: 8px;
  }

  .committee-title h3 {
    margin-block: 10px 8px;
    font-size: 22px;
  }

  .committee-title p {
    font-size: 10px;
    line-height: 1.6;
  }

  .committee-count {
    font-size: 24px;
  }

  .committee-members {
    margin-top: 16px;
    padding: 8px 9px;
  }

  .org-groups,
  .org-groups-ops {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 14px;
  }

  .org-groups-ops span:last-child {
    grid-column: auto;
  }

  .org-groups span {
    min-height: 42px;
    padding: 8px;
  }

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

  .member-card {
    min-height: 222px;
    padding: 26px 10px 10px;
  }

  .member-avatar {
    width: 62px;
    height: 62px;
    margin-bottom: 10px;
  }

  .member-role {
    font-size: 10px;
  }

  .member-card h3 {
    font-size: 16px;
  }

  .member-card > .member-quote {
    display: -webkit-box;
    min-height: 34px;
    margin-block: 7px 9px;
    overflow: hidden;
    font-size: 9px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .section-directions .direction-grid,
  .section-projects .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .section-directions .direction-card,
  .section-directions .direction-card[data-accent="blue"],
  .section-directions .direction-card[data-accent="green"],
  .section-directions .direction-card[data-accent="violet"] {
    grid-template-rows: 150px minmax(210px, 1fr);
    border-radius: 14px;
  }

  .direction-media {
    height: 150px;
  }

  .direction-media .direction-number {
    top: 12px;
    left: 12px;
    font-size: 7px;
  }

  .direction-media .direction-code {
    left: 12px;
    bottom: 12px;
    font-size: 48px;
  }

  .direction-source {
    top: 10px;
    right: 10px;
    max-width: 48%;
    padding: 5px 7px;
    font-size: 7px;
  }

  .direction-body {
    padding: 16px 14px 14px;
  }

  .direction-title-row {
    gap: 8px;
  }

  .direction-body .direction-title-row h3 {
    font-size: 18px;
  }

  .direction-title-row > b {
    font-size: 22px;
  }

  .direction-body > p {
    display: -webkit-box;
    margin: 13px 0 15px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .direction-body .direction-tags {
    gap: 5px;
  }

  .direction-body .direction-tags span {
    padding: 5px 7px;
    font-size: 8px;
  }

  .cross-lab {
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    gap: 9px;
    padding: 18px 14px;
  }

  .cross-lab h3 {
    font-size: 13px;
  }

  .section-projects .project-card {
    min-height: 278px;
    padding: 18px 14px;
    border-radius: 16px;
  }

  .section-projects .project-card h3 {
    margin: 30px 0 10px;
    font-size: 20px;
  }

  .section-projects .project-card > p {
    display: -webkit-box;
    max-width: none;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .section-projects .project-category {
    padding: 6px 8px;
    font-size: 8px;
  }

  .section-projects .training-path {
    grid-template-columns: minmax(118px, 0.68fr) minmax(0, 1.32fr);
    gap: 18px;
    padding: 26px 20px;
  }

  .section-projects .training-intro h3 {
    font-size: 25px;
  }

  .section-projects .training-path li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
  }

  .section-projects .training-path li strong,
  .section-projects .training-path li small {
    font-size: 10px;
  }

  .section-projects .training-path li small {
    grid-column: 2;
  }

  .faq-layout {
    grid-template-columns: minmax(130px, 0.64fr) minmax(0, 1.36fr);
    gap: 20px;
    padding: 28px 22px;
  }

  .faq-title h2 {
    font-size: 28px;
  }

  .faq-title > p:last-child {
    font-size: 10px;
  }

  .faq-item button {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    padding-block: 18px;
    font-size: 11px;
  }

  .final-cta .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) 152px;
    gap: 18px;
    padding: 32px 24px;
  }

  .final-cta .final-cta-inner > div:first-child,
  .final-cta .cta-side {
    grid-column: 1;
  }

  .final-cta .cta-qr {
    grid-row: 1 / span 2;
    grid-column: 2;
    width: 152px;
    align-self: center;
  }
}

@media (max-width: 520px) {
  .section-heading:not(.members-heading) {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }

  .section-heading:not(.members-heading) h2 {
    font-size: clamp(29px, 8.5vw, 38px);
  }

  .resource-card {
    min-height: 172px;
    padding: 14px 12px;
  }

  .resource-card-top {
    gap: 6px;
    font-size: 8px;
  }

  .resource-card h3 {
    font-size: 15px;
  }

  .resource-card p {
    font-size: 9px;
    line-height: 1.6;
  }

  .resource-card small {
    margin-top: 12px;
    font-size: 6px;
  }

  .org-node {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .org-node-mark {
    width: 38px;
    height: 38px;
  }

  .org-node-copy strong {
    font-size: 17px;
  }

  .org-node-copy span {
    font-size: 8px;
  }

  .org-branches {
    gap: 7px;
  }

  .org-committee {
    padding: 14px 10px;
    border-radius: 12px;
  }

  .committee-title {
    gap: 5px;
  }

  .committee-title > div > span {
    font-size: 6px;
  }

  .committee-title h3 {
    margin-block: 8px 6px;
    font-size: 17px;
  }

  .committee-title p {
    font-size: 8px;
    line-height: 1.55;
  }

  .committee-count {
    font-size: 19px;
  }

  .committee-count small {
    font-size: 6px;
  }

  .committee-members {
    margin-top: 12px;
    padding: 6px 7px;
    font-size: 7px;
  }

  .committee-members span {
    display: block;
    margin: 0 0 3px;
  }

  .org-groups span {
    min-height: 34px;
    gap: 5px;
    padding: 6px;
  }

  .org-groups em {
    font-size: 8px;
    white-space: normal;
  }

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

  .member-card {
    min-height: 198px;
    padding: 23px 7px 8px;
  }

  .member-card-topline {
    top: 9px;
    right: 7px;
    left: 7px;
    font-size: 6px;
  }

  .member-avatar {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }

  .member-avatar-placeholder::before {
    inset: 8px;
  }

  .member-avatar-placeholder::after {
    inset: 16px;
  }

  .member-avatar-placeholder span {
    font-size: 6px;
  }

  .member-avatar-placeholder b {
    font-size: 14px;
  }

  .member-role {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .member-card h3 {
    font-size: 14px;
  }

  .member-card > .member-quote {
    min-height: 29px;
    font-size: 8px;
  }

  .member-card-footer {
    padding-top: 7px;
    font-size: 7px;
  }

  .member-card-footer b {
    display: none;
  }

  .section-directions .direction-grid,
  .section-projects .project-grid {
    gap: 7px;
  }

  .section-directions .direction-card,
  .section-directions .direction-card[data-accent="blue"],
  .section-directions .direction-card[data-accent="green"],
  .section-directions .direction-card[data-accent="violet"] {
    grid-template-rows: 112px minmax(190px, 1fr);
    border-radius: 11px;
  }

  .direction-media {
    height: 112px;
  }

  .direction-media .direction-code {
    font-size: 38px;
  }

  .direction-source {
    display: none;
  }

  .direction-body {
    padding: 12px 10px 10px;
  }

  .direction-body .direction-title-row h3 {
    font-size: 15px;
  }

  .direction-title-row > b {
    font-size: 18px;
  }

  .direction-body .direction-en {
    font-size: 6px;
  }

  .direction-body > p {
    margin-block: 10px 12px;
    font-size: 8px;
  }

  .direction-body .direction-tags span {
    padding: 4px 5px;
    font-size: 7px;
  }

  .cross-lab {
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    padding: 14px 10px;
  }

  .cross-label,
  .cross-lab p {
    font-size: 7px;
  }

  .cross-lab h3 {
    font-size: 10px;
  }

  .section-projects .project-card {
    min-height: 246px;
    padding: 14px 10px;
    border-radius: 12px;
  }

  .section-projects .project-card h3 {
    margin-top: 24px;
    font-size: 17px;
  }

  .section-projects .project-card > p {
    font-size: 8px;
  }

  .section-projects .project-code,
  .section-projects .project-category,
  .section-projects .project-meta {
    font-size: 7px;
  }

  .section-projects .training-path {
    grid-template-columns: minmax(92px, 0.62fr) minmax(0, 1.38fr);
    gap: 11px;
    padding: 18px 12px;
    border-radius: 16px;
  }

  .section-projects .training-intro > span {
    padding: 5px 7px;
    font-size: 7px;
  }

  .section-projects .training-intro h3 {
    margin-top: 15px;
    font-size: 18px;
  }

  .section-projects .training-intro::after {
    margin-top: 18px;
    font-size: 6px;
  }

  .section-projects .training-path li {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 6px;
    min-height: 52px;
    padding: 8px 0;
  }

  .section-projects .training-path li > span {
    width: 26px;
    height: 26px;
    border-width: 3px;
    font-size: 7px;
  }

  .section-projects .training-path li strong,
  .section-projects .training-path li small {
    font-size: 8px;
  }

  .faq-layout {
    grid-template-columns: minmax(92px, 0.58fr) minmax(0, 1.42fr);
    gap: 12px;
    padding: 18px 12px;
  }

  .faq-title h2 {
    font-size: 21px;
  }

  .faq-title > p:last-child {
    font-size: 8px;
  }

  .faq-item button {
    grid-template-columns: 25px minmax(0, 1fr) 18px;
    gap: 5px;
    padding-block: 13px;
    font-size: 9px;
  }

  .faq-item p {
    padding: 0 6px 14px 30px;
    font-size: 8px;
  }

  .final-cta .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    padding: 24px 16px;
  }

  .final-cta .final-cta-inner h2 {
    font-size: 28px;
  }

  .final-cta .cta-side p {
    font-size: 9px;
  }

  .final-cta .cta-qr {
    width: 112px;
    padding: 9px;
    border-radius: 15px;
  }

  .final-cta .cta-qr strong {
    font-size: 10px;
  }

  .final-cta .cta-qr small {
    font-size: 5px;
  }
}

/* MOBILE CROSS-LAB LAYOUT FIX / 20260831 */
@media (max-width: 820px) {
  .cross-lab {
    grid-template-columns: max-content minmax(0, 1fr) 34px;
    gap: 9px;
    padding: 18px 14px;
  }
  .cross-label {
    grid-column: auto;
    white-space: nowrap;
  }
  .cross-lab > div {
    min-width: 0;
  }
  .cross-arrow {
    justify-self: end;
  }
  .cross-lab h3 {
    font-size: 13px;
  }
  .section-directions {
    padding-bottom: 52px;
  }
  .section-projects {
    padding-top: 68px;
  }
}
@media (max-width: 520px) {
  .cross-lab {
    grid-template-columns: max-content minmax(0, 1fr) 30px;
    gap: 9px;
    padding: 14px 10px;
  }
  .cross-label,
  .cross-lab p {
    font-size: 8px;
  }
  .cross-lab h3 {
    font-size: 11px;
    line-height: 1.6;
  }
  .cross-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .section-directions {
    padding-bottom: 40px;
  }
  .section-projects {
    padding-top: 54px;
  }
}
