:root {
  --ink: #12202f;
  --muted: #5a6878;
  --line: #dbe5ec;
  --surface: #ffffff;
  --soft: #f4f8f7;
  --navy: #0d2436;
  --teal: #16a6b6;
  --green: #72b043;
  --orange: #f08a24;
  --blue: #2f6df6;
  --shadow: 0 18px 60px rgba(16, 36, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(9, 20, 32, 0.78), rgba(9, 20, 32, 0));
}

.solid-header {
  background: rgba(8, 19, 31, 0.94);
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(126, 231, 255, 0.88);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(22, 166, 182, 0.58);
}

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

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 88vh;
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 30, 0.9) 0%, rgba(5, 20, 30, 0.62) 48%, rgba(5, 20, 30, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 20, 30, 0.22) 0%, rgba(5, 20, 30, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 116px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  width: min(680px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.1vw, 25px);
}

.hero-actions,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--orange);
  color: #101820;
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.button.dark {
  background: var(--navy);
  color: #ffffff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 150px));
  gap: 16px;
  margin: 46px 0 0;
}

.hero-metrics div {
  border-left: 3px solid var(--orange);
  padding-left: 14px;
}

.hero-metrics dt {
  font-size: 30px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section,
.intro-band,
.lab-showcase,
.project-showcase,
.team-section,
.roadmap-section,
.cta-section,
.project-detail-section,
.project-visit-section {
  padding: 86px 0;
}

.intro-band {
  background: #eef6f3;
}

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

.intro-grid,
.lab-grid,
.roadmap-grid,
.cta-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.intro-grid p,
.lab-copy > p,
.cta-inner p {
  color: var(--muted);
  font-size: 18px;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.entry-card,
.course-card,
.team-card,
.roadmap-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(16, 36, 54, 0.06);
}

.entry-card {
  padding: 24px;
  min-height: 250px;
}

.entry-card.featured {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.entry-card.featured img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.entry-body {
  padding: 24px;
}

.entry-card p,
.course-card p,
.team-card p,
.team-card span,
.roadmap-list p,
.process-list span {
  color: var(--muted);
}

.entry-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.entry-icon.robot {
  background: var(--green);
}

.entry-icon.maker {
  background: var(--orange);
}

.entry-label {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #24606a;
  background: #e7f6f7;
  font-size: 13px;
  font-weight: 800;
}

.entry-label.live {
  margin: 0 0 14px;
  color: #734000;
  background: #fff1d9;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.entry-actions,
.cta-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.muted-link {
  color: var(--muted);
}

.button.outline {
  color: var(--navy);
  border: 1px solid rgba(13, 36, 54, 0.28);
  background: transparent;
}

.lab-showcase,
.roadmap-section {
  background: #f7fafc;
}

.lab-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.process-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.process-list strong {
  color: var(--ink);
}

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

.course-card {
  overflow: hidden;
}

.course-card img {
  width: 100%;
  aspect-ratio: 1.44;
  object-fit: cover;
}

.course-card div {
  padding: 24px;
}

.project-showcase {
  background: #f7fafc;
}

.project-heading {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 38px;
}

.project-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(16, 36, 54, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 166, 182, 0.5);
  box-shadow: 0 18px 48px rgba(16, 36, 54, 0.14);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: #08131f;
}

.project-card-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.project-tag {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 14px;
}

.project-card p {
  color: var(--muted);
}

.project-mini-steps {
  display: grid;
  gap: 8px;
  margin: auto 0 20px;
  padding: 0;
  list-style: none;
}

.project-mini-steps li {
  position: relative;
  padding-left: 18px;
  color: #32485c;
  font-weight: 800;
}

.project-mini-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
}

.project-card-cta {
  color: var(--blue);
}

.project-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: #102235;
}

.project-more strong,
.project-more span {
  display: block;
}

.project-more span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.project-page-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.project-page-hero-image,
.project-page-hero-shade {
  position: absolute;
  inset: 0;
}

.project-page-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-page-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.92), rgba(5, 15, 27, 0.72) 48%, rgba(5, 15, 27, 0.26)),
    linear-gradient(180deg, rgba(5, 15, 27, 0.2), rgba(5, 15, 27, 0.68));
}

.project-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: end;
  padding: 138px 0 82px;
}

.project-page-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: 0;
}

.project-page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
}

.project-hero-panel {
  display: grid;
  gap: 12px;
}

.project-hero-panel div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 19, 31, 0.68);
  backdrop-filter: blur(12px);
}

.project-hero-panel strong,
.project-hero-panel span {
  display: block;
}

.project-hero-panel strong {
  color: #f4c542;
  font-size: 26px;
}

.project-hero-panel span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.project-detail-section {
  scroll-margin-top: 86px;
  background: #ffffff;
}

.project-detail-section.alternate {
  background: #edf7f4;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.project-detail-grid.reverse .project-detail-copy {
  order: 2;
}

.project-detail-grid.reverse .project-detail-visual {
  order: 1;
}

.project-detail-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.project-outcome-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.project-outcome-list span {
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  color: #32485c;
  background: #f7fafc;
  font-weight: 800;
}

.alternate .project-outcome-list span {
  background: #ffffff;
}

.project-detail-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dark-visual {
  border-radius: 8px;
  background: #08131f;
}

.project-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.project-step-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(16, 36, 54, 0.06);
}

.project-step-grid span {
  color: var(--orange);
  font-weight: 900;
}

.project-step-grid h3 {
  margin-top: 12px;
}

.project-step-grid p,
.project-visit-inner p {
  color: var(--muted);
}

.project-visit-section {
  background: #ecf8f4;
}

.project-visit-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.project-visit-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.team-section {
  background: #102235;
  color: #ffffff;
}

.team-section h2,
.team-section h3 {
  color: #ffffff;
}

.team-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.team-label {
  margin: 0 0 14px;
  color: #f4c542;
  font-weight: 900;
}

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

.team-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  overflow: hidden;
}

.team-link-card {
  display: block;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.team-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 197, 66, 0.72);
  background: rgba(255, 255, 255, 0.11);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card div {
  padding: 20px;
}

.team-card p,
.team-card span {
  color: rgba(255, 255, 255, 0.68);
}

.team-more {
  display: inline-flex;
  margin-top: 16px;
  color: #f4c542;
  font-weight: 900;
}

.mentor-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 8px;
  background: #f4c542;
  color: #172334;
}

.mentor-strip strong {
  white-space: nowrap;
}

.support-team {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) 1fr;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 8px;
  color: #172334;
  background: #f4c542;
}

.support-team strong,
.support-team span {
  display: block;
}

.support-team strong {
  margin-bottom: 6px;
}

.support-team span {
  line-height: 1.7;
}

.support-team p {
  margin: 0;
}

.roadmap-list {
  display: grid;
  gap: 16px;
}

.roadmap-list article {
  padding: 24px;
}

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

.cta-section {
  background: #ecf8f4;
}

.cta-inner {
  grid-template-columns: 1fr auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
  color: #d6e0e8;
  background: #08131f;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: #8fa2b2;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.course-page .site-header {
  background: rgba(8, 19, 31, 0.9);
}

.course-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.course-hero-image,
.course-hero-shade {
  position: absolute;
  inset: 0;
}

.course-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.92), rgba(5, 15, 27, 0.72) 48%, rgba(5, 15, 27, 0.28)),
    linear-gradient(180deg, rgba(5, 15, 27, 0.28), rgba(5, 15, 27, 0.76));
}

.course-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: end;
  padding: 142px 0 86px;
}

.course-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 5.7vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.course-hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.course-hero-panel {
  display: grid;
  gap: 12px;
}

.course-hero-panel div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 19, 31, 0.66);
  backdrop-filter: blur(12px);
}

.course-hero-panel strong,
.course-hero-panel span {
  display: block;
}

.course-hero-panel strong {
  color: #f4c542;
  font-size: 30px;
  line-height: 1;
}

.course-hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.pain-section {
  background: #f7fafc;
}

.pain-grid,
.path-grid,
.outcome-grid {
  display: grid;
  gap: 18px;
}

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

.pain-grid article,
.path-card,
.outcome-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(16, 36, 54, 0.06);
}

.pain-grid span,
.path-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange);
  font-weight: 900;
}

.pain-grid p,
.path-card p,
.outcome-grid p,
.difference-list span,
.agent-section p {
  color: var(--muted);
}

.difference-section {
  padding: 86px 0;
  color: #ffffff;
  background: #102235;
}

.difference-section h2 {
  color: #ffffff;
}

.difference-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
}

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

.difference-list article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.difference-list strong {
  color: #f4c542;
}

.difference-list span {
  color: rgba(255, 255, 255, 0.76);
}

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

.path-card.accent {
  color: #ffffff;
  background: linear-gradient(135deg, #116a74, #183c6c);
  border-color: rgba(255, 255, 255, 0.16);
}

.path-card.accent span,
.path-card.accent p {
  color: rgba(255, 255, 255, 0.82);
}

.agent-section {
  padding: 86px 0;
  background: #edf7f4;
}

.agent-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.agent-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.agent-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.agent-points span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #0b4c55;
  background: #d8f4f1;
  font-weight: 800;
}

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

.profile-page {
  background: #07111d;
}

.profile-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 116px 0 70px;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(22, 166, 182, 0.32), transparent 32%),
    radial-gradient(circle at 24% 20%, rgba(244, 197, 66, 0.2), transparent 28%),
    linear-gradient(135deg, #07111d 0%, #102235 52%, #0c2f3d 100%);
}

.profile-orbit {
  position: absolute;
  inset: 12% 7% auto auto;
  width: min(420px, 44vw);
  aspect-ratio: 1;
  border: 1px solid rgba(126, 231, 255, 0.26);
  border-radius: 999px;
}

.profile-orbit::before,
.profile-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.profile-orbit::before {
  inset: 16%;
  border: 1px dashed rgba(244, 197, 66, 0.34);
}

.profile-orbit::after {
  width: 14px;
  height: 14px;
  right: 18%;
  top: 9%;
  background: #f4c542;
  box-shadow: 0 0 26px rgba(244, 197, 66, 0.8);
}

.profile-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 62px;
  align-items: center;
}

.profile-portrait-card {
  padding: 14px;
  border: 1px solid rgba(126, 231, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.profile-portrait-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.profile-hero-copy h1,
.honors-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: 0;
}

.profile-role {
  margin: 22px 0 0;
  color: #f4c542;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.profile-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.profile-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.profile-stats {
  padding: 28px 0;
  background: #f4c542;
}

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

.stat-grid div {
  padding: 18px;
  border-left: 2px solid rgba(8, 19, 31, 0.18);
}

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

.stat-grid strong {
  color: #08131f;
  font-size: 38px;
  line-height: 1;
}

.stat-grid span {
  margin-top: 6px;
  color: rgba(8, 19, 31, 0.72);
  font-weight: 800;
}

.profile-section {
  padding: 86px 0;
  background: #ffffff;
}

.profile-two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: start;
}

.profile-muted {
  color: var(--muted);
  font-size: 18px;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paper;
}

.profile-list li {
  position: relative;
  padding: 20px 20px 20px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
  counter-increment: paper;
}

.profile-list li::before {
  content: counter(paper, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  color: var(--orange);
  font-weight: 900;
}

.profile-list strong,
.profile-list span {
  display: block;
}

.profile-list span {
  margin-top: 8px;
  color: var(--muted);
}

.dark-profile-section {
  color: #ffffff;
  background: #102235;
}

.dark-profile-section h2,
.dark-profile-section h3 {
  color: #ffffff;
}

.dark-profile-section p,
.dark-profile-section li {
  color: rgba(255, 255, 255, 0.74);
}

.profile-stack {
  display: grid;
  gap: 18px;
}

.profile-stack article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.profile-stack ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.profile-stack li + li {
  margin-top: 10px;
}

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

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

.certificate-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(16, 36, 54, 0.06);
}

.certificate-card button {
  display: block;
  width: 100%;
  height: 230px;
  padding: 0;
  border: 0;
  background: #edf3f6;
  cursor: zoom-in;
}

.certificate-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate-card div {
  padding: 18px;
}

.certificate-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.certificate-card h3 {
  margin-top: 8px;
  font-size: 18px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.honors-hero {
  position: relative;
  padding: 146px 0 92px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(7, 17, 29, 0.94), rgba(12, 47, 61, 0.9)),
    repeating-linear-gradient(90deg, rgba(126, 231, 255, 0.08) 0 1px, transparent 1px 70px);
}

.honors-hero-inner {
  max-width: 980px;
}

.honors-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.honor-chip-row,
.honors-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.honor-chip-row {
  margin-top: 28px;
}

.honor-chip-row span {
  padding: 8px 12px;
  border: 1px solid rgba(126, 231, 255, 0.3);
  border-radius: 999px;
  color: #dffbff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.honors-toolbar {
  justify-content: space-between;
  margin-bottom: 30px;
}

.cert-dialog {
  width: min(1080px, calc(100% - 32px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #07111d;
  color: #ffffff;
}

.cert-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.cert-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #101820;
}

.cert-dialog div {
  padding: 16px 20px 20px;
}

.cert-dialog strong,
.cert-dialog span {
  display: block;
}

.cert-dialog span {
  color: rgba(255, 255, 255, 0.68);
}

.cert-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 19, 31, 0.82);
  font-size: 28px;
  line-height: 1;
}

.placeholder-profile {
  min-height: 680px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 22px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    width: min(320px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(9, 20, 32, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-metrics,
  .intro-grid,
  .lab-grid,
  .project-heading,
  .project-page-hero-grid,
  .project-detail-grid,
  .roadmap-grid,
  .project-visit-inner,
  .cta-inner,
  .course-hero-grid,
  .difference-grid,
  .agent-grid,
  .profile-hero-grid,
  .profile-two-col {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .project-grid,
  .project-step-grid,
  .course-grid,
  .team-grid,
  .pain-grid,
  .path-grid,
  .outcome-grid,
  .stat-grid,
  .certificate-grid,
  .compact-certificate-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-hero-grid {
    align-items: start;
  }

  .entry-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .hero-content,
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero-metrics,
  .platform-grid,
  .project-grid,
  .project-step-grid,
  .course-grid,
  .team-grid,
  .pain-grid,
  .path-grid,
  .outcome-grid,
  .stat-grid,
  .certificate-grid,
  .compact-certificate-grid {
    grid-template-columns: 1fr;
  }

  .entry-card.featured {
    grid-column: auto;
  }

  .process-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mentor-strip,
  .project-more,
  .support-team,
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .project-detail-grid.reverse .project-detail-copy,
  .project-detail-grid.reverse .project-detail-visual {
    order: initial;
  }

  .project-page-hero {
    min-height: auto;
  }

  .project-page-hero-grid {
    padding: 116px 0 58px;
  }

  .project-visit-actions {
    justify-content: flex-start;
  }

  .difference-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .profile-portrait-card {
    max-width: 320px;
  }

  .certificate-card button {
    height: 210px;
  }
}
