:root {
  --polyu-red: #a02337;
  --polyu-red-dark: #7f1428;
  --ink: #16171a;
  --muted: #5d6574;
  --soft: #f6f7f9;
  --panel: #ffffff;
  --line: #dde2ea;
  --line-strong: #c8ced8;
  --accent: #0077a7;
  --accent-soft: #e7f5f8;
  --success: #2f7d52;
  --shadow: 0 20px 55px rgba(18, 28, 45, 0.12);
  --radius: 8px;
  --content: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 119, 167, 0.38);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 226, 234, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--content);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 120px;
  height: auto;
  aspect-ratio: 1600 / 1131;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-title {
  font-family: Oxanium, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  color: var(--muted);
  font-family: Oxanium, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1px;
}

.primary-nav a,
.nav-dropdown summary {
  position: relative;
  padding: 10px 9px;
  border-radius: 6px;
  color: var(--muted);
  font-family: Oxanium, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.nav-dropdown:hover summary,
.nav-dropdown[open] summary,
.nav-dropdown summary[aria-current="page"] {
  color: var(--polyu-red);
  background: rgba(160, 35, 55, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.nav-dropdown-menu a {
  padding: 9px 10px;
  white-space: nowrap;
}

.primary-nav .nav-cta {
  margin-left: 6px;
  border: 1px solid var(--polyu-red);
  background: var(--polyu-red);
  color: #ffffff;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta[aria-current="page"] {
  background: var(--polyu-red-dark);
  color: #ffffff;
}

main {
  overflow: hidden;
}

.section,
.page-hero,
.site-footer {
  padding-right: 22px;
  padding-left: 22px;
}

.section-inner,
.hero-inner,
.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section.band {
  background: var(--soft);
}

.page-hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(160, 35, 55, 0.08), rgba(0, 119, 167, 0.08)),
    #ffffff;
}

.home-hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 86px;
  padding-bottom: 48px;
  background:
    linear-gradient(180deg, rgba(17, 18, 23, 0.46), rgba(17, 18, 23, 0.72)),
    url("../../images/club/member-group.jpg") center 42% / cover;
  color: #ffffff;
}

.join-hero {
  background:
    linear-gradient(90deg, rgba(17, 18, 23, 0.82), rgba(160, 35, 55, 0.66)),
    url("../../images/club/promotion-table.jpg") center 44% / cover;
  color: #ffffff;
}

.image-hero {
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 23, 0.82), rgba(17, 18, 23, 0.48)),
    var(--hero-image) center / cover;
  color: #ffffff;
}

.about-hero {
  --hero-image: url("../../images/club/hands-on-training.jpg");
}

.team-hero {
  --hero-image: url("../../images/club/team-exchange.jpg");
}

.projects-hero {
  --hero-image: url("../../images/club/robot-platform.jpg");
}

.competition-hero {
  --hero-image: url("../../images/club/competition-achievement.jpg");
}

.seasons-hero {
  --hero-image: url("../../images/club/team-working.jpg");
}

.events-hero {
  --hero-image: url("../../images/club/promotion-booth.jpg");
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  min-width: 0;
}

.home-hero .hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.home-hero .hero-copy {
  max-width: min(100%, 1120px);
}

.home-hero h1 {
  max-width: none;
  font-size: 4.15rem;
  white-space: nowrap;
}

.home-hero .kicker,
.home-hero .lead,
.join-hero .kicker,
.join-hero .lead,
.image-hero .kicker,
.image-hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.home-hero .lead {
  margin-right: auto;
  margin-left: auto;
}

.home-hero .visual-tags {
  justify-content: center;
}

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

.home-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.home-hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.kicker {
  margin: 0 0 12px;
  color: var(--polyu-red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
.page-title {
  margin: 0;
  max-width: 820px;
  font-family: Orbitron, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  max-width: 900px;
  font-size: 3.75rem;
}

h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-lead {
  max-width: 760px;
}

.visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.home-hero .visual-tag,
.join-hero .visual-tag,
.image-hero .visual-tag {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.join-hero .card {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.join-hero .card h2,
.join-hero .card p,
.join-hero .card li,
.join-hero .card .kicker {
  color: var(--ink);
}

.join-hero .card .contact-list a {
  color: var(--polyu-red);
}

.icon {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.card-icon,
.stat-icon,
.event-icon {
  display: inline-grid;
  width: 38px;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon .icon,
.stat-icon .icon,
.event-icon .icon {
  width: 20px;
  height: 20px;
}

.home-section-projects .card-icon,
.home-section-projects .event-icon,
.home-section-recruitment .card-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid var(--polyu-red);
  border-radius: 6px;
  background: var(--polyu-red);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  background: var(--polyu-red-dark);
  border-color: var(--polyu-red-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--polyu-red);
}

.button.secondary:hover {
  background: rgba(160, 35, 55, 0.08);
}

.button.ghost {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.feature-frame {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(160, 35, 55, 0.92), rgba(22, 23, 26, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 64px);
  box-shadow: var(--shadow);
}

.feature-frame .hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32), transparent 28%);
  content: "";
}

.feature-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.feature-card img {
  width: 160px;
  height: auto;
  margin-bottom: 12px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--content);
  margin: 38px auto 0;
  border-radius: var(--radius);
}

.home-hero .stat-strip {
  width: min(100%, var(--content));
  padding: 0;
}

.home-hero .stat {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(17, 18, 23, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.home-section {
  position: relative;
  isolation: isolate;
  padding-top: 88px;
  padding-bottom: 88px;
}

.home-section::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  z-index: -1;
  height: 96px;
  background: linear-gradient(180deg, rgba(17, 18, 23, 0.34), transparent);
  content: "";
  pointer-events: none;
}

.home-section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 96px;
  background: linear-gradient(180deg, transparent, rgba(17, 18, 23, 0.18));
  content: "";
  pointer-events: none;
}

.home-section-build {
  background: linear-gradient(180deg, #ffffff, #f6f7f9);
}

.home-section-projects {
  background: linear-gradient(180deg, #111217, #243344);
  color: #ffffff;
}

.home-section-activities {
  background: linear-gradient(180deg, #ffffff, #edf5f7);
}

.home-section-recruitment {
  background: linear-gradient(135deg, #111217, var(--polyu-red-dark));
  color: #ffffff;
}

.home-section-projects .kicker,
.home-section-projects .section-heading p,
.home-section-projects .lead,
.home-section-recruitment .kicker,
.home-section-recruitment .lead {
  color: rgba(255, 255, 255, 0.84);
}

.home-section-projects .button.ghost {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-section-projects .button.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.home-section-recruitment .button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: #ffffff;
}

.home-section-recruitment .button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-section-projects .project-card,
.home-section-build .card,
.home-section-activities .photo-panel,
.home-section-recruitment .photo-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.home-section-activities .photo-panel,
.home-section-recruitment .photo-panel {
  border-color: rgba(255, 255, 255, 0.28);
}

.home-section-recruitment .photo-panel figcaption {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(17, 18, 23, 0.7);
}

.stat {
  min-height: 148px;
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
}

.stat-icon {
  margin-bottom: 12px;
  background: rgba(160, 35, 55, 0.09);
  color: var(--polyu-red);
}

.stat strong {
  display: block;
  color: var(--polyu-red);
  font-size: 1.9rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat .stat-icon {
  display: inline-grid;
  width: 42px;
  aspect-ratio: 1 / 1;
  margin-top: 0;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(160, 35, 55, 0.24);
  border-radius: var(--radius);
  background: rgba(160, 35, 55, 0.14);
  color: var(--polyu-red);
}

.home-hero .stat strong {
  color: #ffffff;
  font-size: 2.05rem;
}

.home-hero .stat span:not(.stat-icon) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.home-hero .stat .stat-icon {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--polyu-red);
  color: #ffffff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card,
.project-card,
.event-card,
.person-card,
.tier-card,
.rule-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
}

.card,
.project-card,
.event-card,
.person-card,
.legacy-gallery figure,
.archive-member-card,
.flow-step {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.project-card:hover,
.event-card:hover,
.person-card:hover,
.legacy-gallery figure:hover,
.archive-member-card:hover,
.flow-step:hover {
  border-color: rgba(160, 35, 55, 0.28);
  box-shadow: 0 18px 42px rgba(18, 28, 45, 0.12);
  transform: translateY(-4px);
}

.card,
.tier-card,
.rule-panel {
  padding: 22px;
}

.card.accent,
.tier-card.featured {
  border-top: 4px solid var(--polyu-red);
}

.card h3,
.project-card h3,
.event-card h3,
.person-card h3,
.tier-card h3,
.rule-panel h3 {
  color: var(--ink);
}

.card p,
.project-card p,
.event-card p,
.person-card p,
.tier-card p,
.rule-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.recruitment-guidelines-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f6f7f9, #ffffff);
}

.recruitment-guidelines-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(160, 35, 55, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 119, 167, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.recruitment-guidelines-section .section-inner {
  position: relative;
}

.level-pathway {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.level-pathway::before {
  position: absolute;
  top: 50%;
  right: 9%;
  left: 9%;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--success), var(--accent), var(--polyu-red));
  content: "";
  transform: translateY(-50%);
  opacity: 0.32;
}

.level-pathway::after {
  position: absolute;
  top: 50%;
  left: 9%;
  width: 26%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
  content: "";
  transform: translateY(-50%);
  animation: pathwaySweep 3.6s ease-in-out infinite;
  pointer-events: none;
}

.pathway-tier {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  min-height: 228px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

.pathway-tier::after {
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 148px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(160, 35, 55, 0.18);
  border-radius: 50%;
  content: "";
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.pathway-tier:hover::after,
.pathway-tier.is-active::after {
  opacity: 0.9;
  transform: scale(1.18);
}

.pathway-tier.is-active {
  border-color: rgba(160, 35, 55, 0.42);
  box-shadow: 0 22px 52px rgba(18, 28, 45, 0.14);
}

.level-badge {
  position: relative;
  z-index: 1;
  display: grid;
  width: 74px;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
}

.pathway-tier:nth-child(1) .level-badge {
  background: var(--success);
}

.pathway-tier:nth-child(2) .level-badge {
  background: var(--accent);
}

.pathway-tier:nth-child(3) .level-badge {
  background: var(--polyu-red);
}

.level-badge::after {
  position: absolute;
  inset: -7px;
  border: 1px solid currentColor;
  border-radius: calc(var(--radius) + 6px);
  content: "";
  opacity: 0.34;
  animation: badgePulse 2.8s ease-in-out infinite;
}

.tier-copy {
  position: relative;
  z-index: 1;
}

.promotion-artifact-board {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  margin-top: 18px;
}

.artifact-panel {
  position: relative;
  overflow: hidden;
}

.artifact-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--polyu-red));
  content: "";
}

.featured-artifact-panel::before {
  background: linear-gradient(90deg, var(--polyu-red), var(--ink));
}

.artifact-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.artifact-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

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

.guideline-artifact {
  position: relative;
  min-height: 132px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 247, 249, 0.94));
  box-shadow: 0 10px 26px rgba(18, 28, 45, 0.05);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.guideline-artifact::after {
  position: absolute;
  right: -30px;
  bottom: -38px;
  width: 104px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0, 119, 167, 0.16);
  border-radius: 50%;
  content: "";
}

.guideline-artifact:hover {
  border-color: rgba(0, 119, 167, 0.36);
  box-shadow: 0 16px 34px rgba(18, 28, 45, 0.1);
  transform: translateY(-4px);
}

.guideline-artifact strong,
.guideline-artifact span {
  position: relative;
  z-index: 1;
  display: block;
}

.guideline-artifact strong {
  color: var(--polyu-red);
  font-size: 1.02rem;
  line-height: 1.2;
}

.guideline-artifact span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.review-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.review-timeline::before {
  position: absolute;
  top: 28px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: var(--line-strong);
  content: "";
}

.review-step {
  position: relative;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
}

.review-step span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--polyu-red);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(160, 35, 55, 0.1);
}

.review-step h3 {
  font-size: 1rem;
}

.review-step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.growth-section {
  background:
    linear-gradient(180deg, #ffffff, #f6f7f9);
}

.growth-ladder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.level-node {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(18, 28, 45, 0.08);
}

.level-node::after {
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 140px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(160, 35, 55, 0.14);
  border-radius: 50%;
  content: "";
}

.level-1 {
  border-top: 4px solid var(--polyu-red);
}

.level-2 {
  border-top: 4px solid var(--accent);
}

.level-3 {
  border-top: 4px solid var(--success);
}

.level-number {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
}

.level-1 .level-number {
  background: var(--polyu-red);
}

.level-2 .level-number {
  background: var(--accent);
}

.level-3 .level-number {
  background: var(--success);
}

.level-node p {
  margin: 10px 0 0;
  color: var(--muted);
}

.ladder-arrow {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--polyu-red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promotion-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-top: 18px;
}

.promotion-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
}

.promotion-card.featured {
  border-top: 4px solid var(--polyu-red);
}

.promotion-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.promotion-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.path-badge {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(160, 35, 55, 0.1);
  color: var(--polyu-red);
  font-weight: 900;
}

.milestone-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.milestone-list.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.milestone-list li {
  position: relative;
  padding: 12px 12px 12px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
}

.milestone-list li::before {
  position: absolute;
  top: 18px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--polyu-red);
  content: "";
}

.evaluation-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.evaluation-flow div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.evaluation-flow span,
.evaluation-flow strong {
  display: block;
}

.evaluation-flow span {
  color: var(--polyu-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evaluation-flow strong {
  margin-top: 6px;
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--polyu-red);
  content: "";
}

.previous-club-section {
  background: #ffffff;
}

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

.legacy-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.legacy-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.legacy-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.archive-section {
  background:
    linear-gradient(180deg, #ffffff, #f6f7f9);
}

.archive-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 28, 45, 0.06);
}

.archive-select-wrap span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.archive-select {
  min-height: 38px;
  padding: 7px 36px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.archive-intro {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.archive-panel {
  animation: panelIn 0.34s ease both;
}

.archive-panel[hidden] {
  display: none;
}

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

.archive-member-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
}

.archive-member-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 24%;
}

.archive-member-card div {
  padding: 14px;
}

.archive-member-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.past-seasons-section {
  background:
    linear-gradient(180deg, #ffffff, #f5f8fa);
}

.season-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.season-summary-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--polyu-red);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(18, 28, 45, 0.08);
}

.season-summary-card::after {
  position: absolute;
  right: -54px;
  bottom: -68px;
  width: 180px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(160, 35, 55, 0.16);
  border-radius: 50%;
  content: "";
}

.season-summary-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.season-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.season-metrics div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.season-metrics strong,
.season-metrics span {
  display: block;
}

.season-metrics strong {
  color: var(--polyu-red);
  font-size: 1.6rem;
  line-height: 1;
}

.season-metrics span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.season-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.season-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.season-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--polyu-red);
  content: "";
}

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

.season-gallery figure {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.season-gallery figure:hover {
  border-color: rgba(160, 35, 55, 0.28);
  box-shadow: 0 18px 42px rgba(18, 28, 45, 0.12);
  transform: translateY(-4px);
}

.season-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.season-gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(17, 18, 23, 0.78);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 850;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(160, 35, 55, 0.09);
  color: var(--polyu-red);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.media-placeholder {
  display: grid;
  min-height: 220px;
  place-items: end start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(160, 35, 55, 0.84), rgba(22, 23, 26, 0.72)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.12) 75%, transparent 75%, transparent);
  background-size: auto, 26px 26px;
  color: #ffffff;
}

.media-placeholder strong {
  max-width: 280px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.photo-panel {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-panel img[src*="member-group"],
.photo-panel img[src*="team-exchange"],
.photo-panel img[src*="promotion-table"] {
  object-position: center 44%;
}

.photo-panel.wide img {
  aspect-ratio: 16 / 9;
}

.logo-panel img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 34px;
  background: #ffffff;
}

.photo-panel.wide img[src*="training-room"],
.photo-panel.wide img[src*="team-working"] {
  object-position: center 46%;
}

.photo-panel figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 42px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.timeline-date {
  color: var(--polyu-red);
  font-weight: 850;
}

.timeline-date .card-icon {
  display: grid;
  margin-bottom: 8px;
}

.timeline-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--polyu-red);
  background: rgba(160, 35, 55, 0.08);
  color: var(--polyu-red);
}

.project-card,
.event-card {
  overflow: hidden;
}

.event-list-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.event-card-button {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ffffff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.event-card-button:hover .event-card-cover,
.event-card-button:focus-visible .event-card-cover {
  transform: scale(1.04);
}

.event-card-cover {
  grid-area: 1 / 1;
  min-height: 100%;
  background-position: center 46%;
  background-size: cover;
  transition: transform 0.32s ease;
}

.event-card-content {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.82) 100%);
  color: #ffffff;
}

.event-card-content .eyebrow {
  width: fit-content;
  background: rgba(255, 255, 255, 0.9);
}

.event-icon {
  background: rgba(255, 255, 255, 0.88);
  color: var(--polyu-red);
}

.event-card-content h3,
.event-card-content p {
  color: #ffffff;
}

.event-card-content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.event-card-content .event-meta {
  color: rgba(255, 255, 255, 0.82);
}

.card-media {
  display: grid;
  min-height: 160px;
  place-items: end start;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(0, 119, 167, 0.82), rgba(22, 23, 26, 0.82)),
    var(--soft);
  color: #ffffff;
}

.card-media.photo {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.card-media.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-media.photo img[src*="robot-platform"],
.card-media.photo img[src*="robot-training-bench"] {
  object-position: center 52%;
}

.card-media.photo img[src*="member-group"],
.card-media.photo img[src*="team-working"],
.card-media.photo img[src*="team-exchange"] {
  object-position: center 44%;
}

.card-media.photo strong {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.card-media.photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.68));
  content: "";
}

.card-media.red {
  background:
    linear-gradient(135deg, rgba(160, 35, 55, 0.84), rgba(22, 23, 26, 0.8)),
    var(--soft);
}

.card-media strong {
  max-width: 260px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.card-body {
  padding: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.event-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.event-dialog::backdrop {
  background: rgba(17, 18, 23, 0.62);
}

.event-dialog-panel {
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #ffffff;
}

.event-dialog-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  float: right;
  margin: 12px 12px 0 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.event-detail-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  object-fit: cover;
}

.supervision-layout {
  display: grid;
  gap: 16px;
}

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

.team-hierarchy-section {
  background:
    linear-gradient(180deg, #ffffff, #f7f9fb);
}

.org-chart {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.director-card {
  width: min(100%, 760px);
  border-top: 5px solid var(--polyu-red);
  text-align: left;
}

.director-card .board-photo {
  margin-right: auto;
  margin-left: auto;
}

.secondary-role {
  color: var(--muted);
}

.org-connector {
  position: relative;
  width: min(520px, 78%);
  height: 34px;
}

.org-connector::before,
.org-connector::after {
  position: absolute;
  content: "";
}

.org-connector::before {
  top: 0;
  left: 50%;
  width: 2px;
  height: 34px;
  background: var(--line-strong);
}

.org-connector::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--line-strong);
}

.deputy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 820px);
}

.board-card {
  display: flex;
  flex-direction: column;
}

.board-card.director-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 6px 16px;
  align-items: center;
  padding: 16px 18px;
}

.director-card .board-photo {
  grid-row: 1 / span 6;
  width: 104px;
  height: 118px;
  margin: 0;
}

.director-card .eyebrow {
  width: fit-content;
  margin-bottom: 2px;
}

.director-card h3 {
  font-size: 1.12rem;
}

.director-card .role {
  margin-top: 2px;
}

.director-card p {
  margin-top: 6px;
}

.director-card .text-link {
  margin-top: 6px;
}

.featured-board-card {
  border-top: 4px solid var(--polyu-red);
}

.board-photo {
  width: 112px;
  height: 132px;
  margin-bottom: 16px;
  object-position: center 18%;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--polyu-red);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.taslab-link {
  margin-top: auto;
}

.supervisor-card {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--polyu-red);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
}

.advisor-photo,
.mentor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 28%;
}

.advisor-photo {
  width: 156px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(18, 28, 45, 0.12);
}

.role-avatar {
  display: grid;
  width: 156px;
  aspect-ratio: 1 / 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(160, 35, 55, 0.92), rgba(0, 119, 167, 0.84)),
    var(--soft);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 28, 45, 0.12);
}

.role-avatar .icon {
  width: 42px;
  height: 42px;
}

.role-avatar.compact {
  width: 64px;
  margin-bottom: 14px;
  box-shadow: none;
}

.role-avatar.compact .icon {
  width: 26px;
  height: 26px;
}

.supervisor-card p,
.mentor-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

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

.student-team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.student-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.mentor-photo {
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.mentor-photo[src*="zhao-jiaqi"] {
  object-position: center 18%;
}

.mentor-photo[src*="wang-junzhe"] {
  object-position: center 22%;
}

.event-detail-body {
  padding: 24px;
}

.event-detail-body h2 {
  margin-top: 0;
}

.event-rich-text {
  margin-top: 22px;
}

.event-rich-text h3 {
  margin-top: 24px;
  font-size: 1.2rem;
}

.event-rich-text h4 {
  margin: 20px 0 8px;
}

.event-rich-text p {
  color: var(--muted);
}

.event-rich-text a {
  color: var(--polyu-red);
  font-weight: 800;
}

.person-card {
  padding: 20px;
}

.mentor-card {
  display: flex;
  flex-direction: column;
}

.competition-stage-section {
  background:
    linear-gradient(180deg, #ffffff, #f4f8fa);
}

.competition-track-grid {
  align-items: stretch;
}

.competition-card {
  min-height: 100%;
}

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

.flow-step {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.05);
}

.flow-step::after {
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 132px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0, 119, 167, 0.16);
  border-radius: 50%;
  content: "";
}

.flow-step span {
  display: grid;
  width: 52px;
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.flow-step:nth-child(odd) span {
  background: var(--polyu-red);
}

.flow-step p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.is-enhanced .section,
.is-enhanced .project-card,
.is-enhanced .person-card,
.is-enhanced .card,
.is-enhanced .tier-card,
.is-enhanced .rule-panel,
.is-enhanced .flow-step,
.is-enhanced .guideline-artifact,
.is-enhanced .review-step,
.is-enhanced [data-motion-card] {
  opacity: 0;
  transform: translateY(18px);
}

.is-enhanced .section.is-visible,
.is-enhanced .project-card.is-visible,
.is-enhanced .person-card.is-visible,
.is-enhanced .card.is-visible,
.is-enhanced .tier-card.is-visible,
.is-enhanced .rule-panel.is-visible,
.is-enhanced .flow-step.is-visible,
.is-enhanced .guideline-artifact.is-visible,
.is-enhanced .review-step.is-visible,
.is-enhanced [data-motion-card].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.is-enhanced .project-card.is-visible:hover,
.is-enhanced .person-card.is-visible:hover,
.is-enhanced .card.is-visible:hover,
.is-enhanced .tier-card.is-visible:hover,
.is-enhanced .rule-panel.is-visible:hover,
.is-enhanced .flow-step.is-visible:hover,
.is-enhanced .guideline-artifact.is-visible:hover,
.is-enhanced .review-step.is-visible:hover,
.is-enhanced .legacy-gallery figure.is-visible:hover,
.is-enhanced .archive-member-card.is-visible:hover {
  transform: translateY(-4px);
}

[data-motion-card] {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.is-enhanced [data-motion-card].is-visible:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pathwaySweep {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(218%);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.42;
    transform: scale(1.06);
  }
}

.avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--polyu-red), var(--accent));
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 850;
}

.role {
  display: block;
  margin-top: 6px;
  color: var(--polyu-red);
  font-size: 0.88rem;
  font-weight: 850;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--polyu-red);
  content: "";
}

.faq-icon::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-answer.is-open {
  display: block;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--polyu-red);
  font-weight: 800;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111217;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.footer-brand img {
  width: 106px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

[data-filter-item].is-hidden {
  display: none;
}

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

@media (max-width: 960px) {
  .hero-inner,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .mentor-grid,
  .rule-grid,
  .level-pathway,
  .promotion-artifact-board,
  .six-artifacts,
  .review-timeline,
  .season-layout,
  .season-gallery,
  .legacy-gallery,
  .archive-member-grid,
  .board-grid,
  .deputy-grid,
  .competition-flow,
  .growth-ladder,
  .promotion-board,
  .evaluation-flow,
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ladder-arrow {
    display: none;
  }

  .milestone-list.two-column {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .feature-frame {
    min-height: 360px;
  }

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

  h1 {
    font-size: 3.7rem;
  }

  .home-hero h1 {
    font-size: 3.35rem;
  }

  .page-title {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body.nav-open::before {
    position: fixed;
    inset: 76px 0 0;
    z-index: 30;
    background: rgba(18, 28, 45, 0.28);
    content: "";
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: 98px;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px;
    font-size: 1.08rem;
  }

  .nav-dropdown summary {
    justify-content: space-between;
    padding: 12px;
    font-size: 1.08rem;
  }

  .nav-dropdown-menu {
    position: static;
    margin: 2px 0 6px;
    padding: 6px;
    box-shadow: none;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px;
  }

  .primary-nav .nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }

  .page-hero,
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .home-hero {
    padding-top: 52px;
  }

  .home-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .home-section::before,
  .home-section::after {
    height: 58px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .mentor-grid,
  .rule-grid,
  .level-pathway,
  .promotion-artifact-board,
  .artifact-grid,
  .six-artifacts,
  .review-timeline,
  .season-layout,
  .season-gallery,
  .season-metrics,
  .legacy-gallery,
  .archive-member-grid,
  .board-grid,
  .deputy-grid,
  .competition-flow,
  .growth-ladder,
  .promotion-board,
  .evaluation-flow,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .supervisor-card {
    grid-template-columns: 1fr;
  }

  .board-card.director-card {
    grid-template-columns: 1fr;
  }

  .director-card .board-photo {
    grid-row: auto;
    width: 112px;
    height: 132px;
  }

  .level-pathway::before,
  .level-pathway::after,
  .review-timeline::before {
    display: none;
  }

  .pathway-tier {
    min-height: 0;
  }

  .advisor-photo,
  .role-avatar {
    width: min(156px, 100%);
  }

  .archive-select-wrap {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .archive-select {
    width: 100%;
  }

  .org-connector {
    width: 2px;
  }

  .org-connector::after {
    display: none;
  }

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

  h1,
  .page-title {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .home-hero h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.72rem;
  }
}

@media (max-width: 480px) {
  .section,
  .page-hero,
  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-inner {
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 64px;
  }

  .brand-title {
    font-size: 0.78rem;
  }

  h1,
  .page-title {
    font-size: 2.05rem;
  }

  .home-hero h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
