:root {
  --ink: #11131f;
  --muted: #5b6075;
  --paper: #f7f5f0;
  --white: #ffffff;
  --purple-900: #211153;
  --purple-800: #321876;
  --purple-700: #4a27b2;
  --purple-500: #7858f2;
  --purple-200: #ddd5ff;
  --cyan: #20c7e6;
  --red: #e23136;
  --gold: #f5c84c;
  --line: rgba(30, 18, 74, 0.12);
  --shadow: 0 22px 80px rgba(18, 12, 50, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(74, 39, 178, 0.12) 1px, transparent 0) 0 0 / 22px 22px,
    var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

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

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: auto;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 14px 0 14px clamp(20px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
}

.brand img {
  display: block;
  width: clamp(168px, 16vw, 230px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
  opacity: 0.94;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  white-space: nowrap;
}

.nav-cta {
  color: var(--ink);
  background: var(--gold);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 118px 0 80px;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 12, 67, 0.96) 0%, rgba(38, 17, 92, 0.82) 48%, rgba(38, 17, 92, 0.22) 100%),
    radial-gradient(circle at 76% 24%, rgba(32, 199, 230, 0.24), transparent 30%),
    radial-gradient(circle at 26% 76%, rgba(226, 49, 54, 0.18), transparent 28%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(34px, 6vw, 76px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-deep .eyebrow,
.section-brand .eyebrow,
.section-contact .eyebrow {
  color: var(--cyan);
}

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

h1 {
  margin-bottom: 24px;
  max-width: 900px;
  font-size: clamp(48px, 9vw, 116px);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.12;
}

.hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.62;
}

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

.hero-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(17, 10, 48, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel div {
  min-height: 84px;
  padding: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel span,
.proof-grid span,
.track-card span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-panel strong.class-schedule {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
}

.hero-panel .class-day {
  color: var(--white);
  font-size: 1em;
  line-height: 1;
}

.hero-panel .class-times {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-size: 0.68em;
  line-height: 1.08;
}

.hero-panel .class-times span {
  color: var(--white);
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.proof-strip {
  color: var(--white);
  background: var(--ink);
}

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

.proof-grid div {
  min-height: 118px;
  padding: 26px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1;
}

.section {
  padding: clamp(82px, 11vw, 142px) 0;
}

section[id] {
  scroll-margin-top: 96px;
}

.section-light {
  background: var(--paper);
}

.section-deep {
  color: var(--white);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.18) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(135deg, #321876 0%, #241156 55%, #130927 100%);
}

.section-brand {
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(32, 199, 230, 0.16), transparent 30%),
    linear-gradient(180deg, #4a27b2 0%, #241156 100%);
}

.section-contact {
  color: var(--white);
  background:
    linear-gradient(rgba(28, 13, 68, 0.9), rgba(28, 13, 68, 0.96)),
    url("./assets/hero-field.jpg") center / cover;
}

.two-column,
.split-heading,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.split-heading {
  align-items: end;
  margin-bottom: 46px;
}

#mentors .split-heading {
  grid-template-columns: max-content minmax(0, 720px);
  justify-content: start;
  gap: clamp(28px, 4vw, 64px);
}

.split-heading > p,
.rich-copy,
.recognition-card p,
.track-card p,
.award-highlight p,
.mentor-card p,
.contact-lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-deep .split-heading > p,
.section-deep .award-highlight p,
.section-brand .split-heading > p,
.section-contact .contact-lede {
  color: rgba(255, 255, 255, 0.72);
}

.rich-copy p:last-child {
  margin-bottom: 0;
}

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

.recognition-stack {
  display: grid;
  gap: 26px;
  margin-top: 58px;
}

.recognition-card,
.track-card,
.course-panel,
.mentor-card,
.schedule-card,
.award-year,
.qr-card,
.recognition-panel {
  border-radius: var(--radius);
}

.recognition-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(25, 18, 70, 0.08);
}

.recognition-card h3 {
  color: var(--purple-700);
}

.recognition-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(120, 88, 242, 0.16), transparent 38%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(25, 18, 70, 0.12);
}

.company-panel {
  background:
    linear-gradient(135deg, rgba(17, 19, 31, 0.98), rgba(42, 22, 104, 0.92)),
    radial-gradient(circle at 80% 10%, rgba(32, 199, 230, 0.22), transparent 32%);
  border-color: rgba(255, 255, 255, 0.12);
}

.company-panel,
.company-panel h3,
.company-panel p {
  color: var(--white);
}

.recognition-copy h3 {
  margin-top: 20px;
  color: var(--purple-800);
  font-size: clamp(32px, 4vw, 58px);
}

.company-panel .recognition-copy h3 {
  color: var(--white);
}

.recognition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.recognition-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--purple-800);
  background: rgba(120, 88, 242, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.company-panel .recognition-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 22px;
}

.logo-tile {
  display: grid;
  min-height: 94px;
  place-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 12px;
  border: 1px solid rgba(30, 18, 74, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(25, 18, 70, 0.08);
}

.company-wall .logo-tile {
  background: rgba(255, 255, 255, 0.92);
}

.logo-tile.logo-hero {
  grid-column: span 3;
  min-height: 128px;
}

.logo-tile.logo-wide {
  grid-column: span 2;
}

.logo-tile.logo-tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 200px;
}

.logo-tile img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 38px;
  object-fit: contain;
  opacity: 0.96;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.logo-tile.logo-hero img {
  height: 54px;
}

.logo-tile.logo-wide img {
  height: 42px;
}

.logo-tile.logo-tall img {
  height: 76px;
}

.logo-tile:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

.logo-tile figcaption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.accent-card {
  color: var(--white);
  background: var(--ink);
}

.accent-card h3,
.accent-card p {
  color: var(--white);
}

.award-feature {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  margin-bottom: 44px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.awards-heading {
  margin-bottom: 34px;
}

.medal-stage {
  position: relative;
  min-height: 260px;
}

.ribbon {
  position: absolute;
  top: -20px;
  width: 34px;
  height: 190px;
  transform: rotate(-22deg);
  transform-origin: top center;
}

.ribbon.red {
  left: 96px;
  background: var(--red);
}

.ribbon.white {
  left: 135px;
  background: var(--white);
}

.ribbon.blue {
  left: 174px;
  background: #1646f5;
}

.medal {
  position: absolute;
  left: 70px;
  bottom: 6px;
  display: grid;
  width: 186px;
  height: 186px;
  place-items: center;
  border: 14px solid #d9dbe6;
  border-radius: 50%;
  color: #3f4150;
  background: #c5c8d1;
  box-shadow: 22px 22px 0 rgba(0, 0, 0, 0.25);
  font-size: 27px;
  font-weight: 950;
  text-align: center;
  line-height: 1.1;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.award-highlight h3 {
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 52px);
}

.career-duration {
  display: inline-flex;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(245, 200, 76, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(245, 200, 76, 0.12);
  font-size: 15px;
  font-weight: 900;
}

.highlight-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.58;
}

.highlight-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(245, 200, 76, 0.14);
  content: "";
}

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

.award-year {
  position: relative;
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.award-year.is-featured {
  background: linear-gradient(135deg, rgba(245, 200, 76, 0.22), rgba(32, 199, 230, 0.12));
  border-color: rgba(245, 200, 76, 0.55);
}

.award-year h3 {
  margin-bottom: 18px;
  padding-right: 118px;
  color: var(--gold);
  font-size: 36px;
}

.award-year ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.award-year li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.award-year b {
  color: var(--white);
}

.medal-pins {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 7px 5px;
  max-width: 126px;
  z-index: 2;
}

.medal-pin {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 43px;
  border: 0;
  flex: 0 0 auto;
  background: transparent;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.medal-pin::before {
  position: absolute;
  top: 0;
  left: 5px;
  width: 21px;
  height: 19px;
  clip-path: polygon(0 0, 42% 0, 50% 70%, 58% 0, 100% 0, 82% 100%, 50% 75%, 18% 100%);
  background:
    linear-gradient(90deg, var(--red) 0 34%, var(--white) 34% 66%, #1d4df2 66% 100%);
  content: "";
}

.medal-pin::after {
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.22),
    inset -7px -9px 14px rgba(67, 39, 0, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.42);
  content: "";
}

.medal-pin.gold::after {
  background: radial-gradient(circle at 36% 35%, #fff8bf 0 14%, #f8d35c 32%, #d5941a 68%, #8d570a 100%);
}

.medal-pin.silver::after {
  background: radial-gradient(circle at 36% 35%, #ffffff 0 14%, #dce3ed 34%, #a6b0bd 68%, #626c7a 100%);
}

.mentor-grid {
  display: grid;
  gap: 24px;
}

.mentor-section-heading {
  margin-top: 78px;
}

.lead-mentors {
  grid-template-columns: 1fr;
}

.compact-mentors {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.mentor-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
  min-height: 330px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(27, 17, 76, 0.08);
}

.mentor-card.lead {
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 380px;
}

.mentor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.mentor-card.lead img {
  aspect-ratio: auto;
}

.mentor-card img.mentor-photo-peri {
  object-position: 50% 28%;
}

.mentor-body {
  padding: clamp(24px, 3vw, 42px);
}

.mentor-role {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 900;
}

.mentor-card h3 {
  margin-bottom: 8px;
  color: var(--purple-800);
  font-size: clamp(26px, 3vw, 38px);
}

.mentor-headline {
  display: block;
  margin-bottom: 18px;
  color: var(--purple-700);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
}

.mentor-card p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.9;
}

.mentor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mentor-award {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 13px 8px 44px;
  border-radius: 999px;
  color: var(--purple-800);
  background: linear-gradient(135deg, rgba(221, 213, 255, 0.86), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(74, 39, 178, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.mentor-award::before {
  position: absolute;
  top: 5px;
  left: 13px;
  width: 18px;
  height: 16px;
  clip-path: polygon(0 0, 42% 0, 50% 70%, 58% 0, 100% 0, 82% 100%, 50% 75%, 18% 100%);
  background: linear-gradient(90deg, var(--red) 0 34%, var(--white) 34% 66%, #1d4df2 66% 100%);
  content: "";
}

.mentor-award::after {
  position: absolute;
  left: 10px;
  bottom: 7px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.22),
    inset -6px -8px 12px rgba(67, 39, 0, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.42),
    0 6px 12px rgba(17, 10, 48, 0.18);
  background: radial-gradient(circle at 36% 35%, #dffaff 0 14%, #20c7e6 42%, #126c84 100%);
  content: "";
}

.mentor-award.gold::after {
  background: radial-gradient(circle at 35% 30%, #fff8bf 0 14%, #f8d35c 36%, #b8750a 100%);
}

.mentor-award.silver::after {
  background: radial-gradient(circle at 35% 30%, #fff 0 14%, #dce3ed 40%, #77818f 100%);
}

.mentor-award.bronze::after {
  background: radial-gradient(circle at 35% 30%, #ffd5a3 0 14%, #c77832 42%, #74401d 100%);
}

.mentor-award.special::after {
  background: radial-gradient(circle at 35% 30%, #dffaff 0 14%, #20c7e6 42%, #126c84 100%);
}

.mentor-award.world,
.mentor-award.worlds {
  color: var(--white);
  border-color: rgba(245, 200, 76, 0.7);
  background:
    linear-gradient(135deg, rgba(74, 39, 178, 0.96), rgba(17, 10, 48, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(245, 200, 76, 0.26), transparent 42%);
  box-shadow: 0 12px 28px rgba(74, 39, 178, 0.24);
}

.mentor-award.world {
  border-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, #171324, #4a27b2 58%, #11131f),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.28), transparent 36%);
}

.mentor-award.worlds::after {
  background: radial-gradient(circle at 35% 30%, #fff8bf 0 14%, #f8d35c 36%, #b8750a 100%);
}

.mentor-award.world::after {
  background: radial-gradient(circle at 35% 30%, #ffffff 0 14%, #dce3ed 40%, #77818f 100%);
}

.floating-toc {
  position: fixed;
  z-index: 60;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.toc-toggle {
  display: none;
}

.toc-links {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(20, 10, 55, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(17, 10, 48, 0.28);
}

.toc-links a {
  display: grid;
  min-width: 54px;
  min-height: 40px;
  place-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.toc-links a:hover,
.toc-links a.is-active {
  color: var(--ink);
  background: var(--gold);
}

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

.track-card {
  padding: 32px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.track-card span {
  color: var(--purple-700);
}

.track-card h3 {
  margin-top: 12px;
  color: var(--purple-800);
  font-size: clamp(34px, 4.8vw, 58px);
}

.track-card ul,
.lesson-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.track-card li,
.lesson-card li {
  position: relative;
  padding-left: 19px;
  margin-bottom: 10px;
  line-height: 1.55;
}

.track-card li::before,
.lesson-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.track-advanced {
  background: #f6f0ff;
}

.course-switcher {
  margin-top: 28px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.tab-list button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.tab-list button[aria-selected="true"] {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.course-panel {
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
}

.course-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.course-panel-header h3 {
  margin-bottom: 0;
  color: var(--purple-800);
}

.course-note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--purple-800);
  background: rgba(114, 35, 220, 0.08);
  border: 1px solid rgba(114, 35, 220, 0.14);
}

.course-note strong {
  flex: 0 0 auto;
  color: var(--purple-700);
}

.course-note span {
  line-height: 1.7;
}

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

.lesson-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.lesson-card h4 {
  margin: 0 0 12px;
  color: var(--purple-700);
  font-size: 20px;
}

.lesson-card ul {
  margin-top: 0;
}

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

.schedule-card {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(28, 18, 80, 0.07);
}

.schedule-top {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px;
  color: var(--white);
  background: var(--purple-700);
}

.schedule-top strong {
  font-size: 24px;
  line-height: 1.1;
}

.schedule-time {
  display: grid;
  justify-items: end;
  gap: 4px;
  padding-top: 4px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}

.schedule-time span {
  white-space: nowrap;
}

.schedule-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.schedule-row {
  padding: 14px;
  border-radius: 6px;
  background: #f1edff;
}

.schedule-row.basic {
  background: #fff6d7;
}

.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 900;
}

.track-badge,
.course-discipline {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.track-badge {
  padding: 0 9px;
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(74, 39, 178, 0.12);
}

.track-badge.basic {
  color: #5b3a00;
  background: #ffe49a;
}

.track-badge.advanced {
  color: var(--white);
  background: var(--purple-700);
}

.schedule-row p {
  display: grid;
  gap: 7px;
  margin: 0;
  line-height: 1.42;
  font-weight: 700;
}

.course-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.course-discipline {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.course-discipline.mechanical {
  color: #6c3c00;
  background: #ffd27a;
}

.course-discipline.program {
  color: #06445a;
  background: #bdeffc;
}

.course-title {
  min-width: 0;
  font-weight: 850;
}

.section-gallery {
  padding: 0;
  background: var(--ink);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  min-height: 360px;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.contact-grid {
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list dt {
  color: var(--cyan);
  font-weight: 900;
}

.contact-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.qr-card {
  justify-self: end;
  width: min(360px, 100%);
  margin: 0;
  padding: 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.qr-card img {
  width: 100%;
  border: 1px solid var(--line);
}

.qr-card figcaption {
  padding-top: 12px;
  text-align: center;
  font-weight: 850;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #0e091d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    padding-inline: 20px;
  }

  .hero-grid,
  .two-column,
  .split-heading,
  .contact-grid,
  .award-feature,
  .recognition-panel {
    grid-template-columns: 1fr;
  }

  #mentors .split-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

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

  .lead-mentors,
  .compact-mentors,
  .track-grid,
  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .mentor-card,
  .mentor-card.lead {
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 0;
  }

  .qr-card {
    justify-self: start;
  }
}

@media (min-width: 981px) and (max-width: 1340px) {
  .section-inner {
    width: min(1160px, calc(100% - 220px));
  }
}

@media (max-width: 760px) {
  .recognition-grid,
  .recognition-panel,
  .awards-timeline,
  .lead-mentors,
  .compact-mentors,
  .track-grid,
  .lesson-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .award-year {
    padding: 22px;
  }

  .award-year h3 {
    padding-right: 92px;
  }

  .medal-pins {
    top: 14px;
    right: 14px;
    gap: 5px 3px;
    max-width: 86px;
  }

  .medal-pin {
    width: 25px;
    height: 35px;
  }

  .medal-pin::before {
    left: 4px;
    width: 17px;
    height: 15px;
  }

  .medal-pin::after {
    left: 2px;
    width: 21px;
    height: 21px;
  }

  .mentor-card,
  .mentor-card.lead {
    display: block;
  }

  .mentor-card img,
  .mentor-card.lead img {
    height: min(74vw, 380px);
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

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

  .brand img {
    width: 148px;
  }

  .floating-toc {
    top: auto;
    right: 16px;
    bottom: 16px;
    transform: none;
  }

  .toc-toggle {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 16px 48px rgba(17, 10, 48, 0.28);
    font: inherit;
    font-size: 14px;
    font-weight: 950;
  }

  .toc-links {
    position: absolute;
    right: 0;
    bottom: 58px;
    min-width: 116px;
    transform: translateY(8px);
    border-radius: var(--radius);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .floating-toc.is-open .toc-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .toc-links a {
    min-width: 96px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  section[id] {
    scroll-margin-top: 78px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(24, 12, 67, 0.94) 0%, rgba(38, 17, 92, 0.9) 58%, rgba(38, 17, 92, 0.7) 100%);
  }

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

  .recognition-grid,
  .awards-timeline,
  .lead-mentors,
  .compact-mentors,
  .track-grid,
  .lesson-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }

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

  .logo-tile.logo-hero,
  .logo-tile.logo-wide,
  .logo-tile.logo-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 76px;
  }

  .logo-tile {
    min-height: 76px;
    padding: 10px 8px;
  }

  .logo-tile img,
  .logo-tile.logo-hero img,
  .logo-tile.logo-wide img,
  .logo-tile.logo-tall img {
    height: 28px;
  }

  .mentor-card p {
    font-size: 16px;
    line-height: 1.78;
  }

  .course-panel-header {
    display: block;
  }

  .course-note {
    display: block;
  }

  .course-note strong {
    display: block;
    margin-bottom: 6px;
  }

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

  .gallery-strip img {
    min-height: 250px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner a {
    display: inline-block;
    margin-top: 12px;
  }
}
