

:root {
  --honors-gold: #d4a017;
  --honors-gold-light: #f0c14b;
  --honors-gold-dark: #a67c00;
}

body.honors-page {
  background: var(--bg, #fafbfd);
}

.header--honors {
  z-index: 40;
}

.honors-page {
  overflow-x: clip;
}

.gradient-text--gold {
  background: linear-gradient(135deg, var(--honors-gold-dark), var(--honors-gold), var(--honors-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.deco-shape--gold {
  background: linear-gradient(135deg, var(--honors-gold-dark), var(--honors-gold-light));
  opacity: 0.35;
}


.honors-hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(32px, 5vw, 48px);
  overflow: hidden;
}

.honors-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.honors-hero__rays {
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 200deg at 70% 30%,
    transparent 0deg,
    rgba(212, 160, 23, 0.08) 40deg,
    transparent 80deg,
    rgba(175, 26, 21, 0.06) 140deg,
    transparent 200deg
  );
}

.honors-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.honors-hero__label {
  color: var(--honors-gold-dark);
}

.honors-hero__title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  max-width: 16ch;
}

.honors-hero__desc {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-muted, #5a6578);
  max-width: 52ch;
  margin-bottom: 24px;
}

.honors-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.honors-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--honors-gold-dark);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(212, 160, 23, 0.06));
  border: 1px solid rgba(212, 160, 23, 0.25);
  text-decoration: none;
  transition: background 0.3s, transform 0.3s var(--ease-out-expo, ease);
}

.honors-chip:hover {
  background: rgba(212, 160, 23, 0.18);
  transform: translateY(-2px);
}

.honors-trophy {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}

.honors-trophy__cup {
  font-size: 5rem;
  filter: drop-shadow(0 12px 24px rgba(212, 160, 23, 0.35));
  will-change: transform;
  animation: honors-trophy-float 4s ease-in-out infinite;
}

.honors-trophy__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.25), transparent 70%);
}

.honors-trophy__badge {
  position: absolute;
  bottom: 0;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--honors-gold-dark), var(--honors-gold));
  color: #fff;
  box-shadow: 0 6px 16px rgba(212, 160, 23, 0.35);
}

@keyframes honors-trophy-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}


.honors-stats {
  padding-top: 0;
  padding-bottom: clamp(32px, 5vw, 48px);
}

.honors-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), rgba(175, 26, 21, 0.06));
  border: 1px solid rgba(212, 160, 23, 0.18);
}

.honors-stats__item {
  text-align: center;
  padding: 12px 8px;
}

.honors-stats__item strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--honors-gold-dark);
  line-height: 1.2;
}

.honors-stats__item strong::after {
  content: '+';
  font-size: 0.65em;
}

.honors-stats__item span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted, #5a6578);
}


.honors-celebrations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.honors-event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: 20px;
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--border, rgba(26, 122, 140, 0.1));
  box-shadow: 0 12px 40px rgba(14, 74, 86, 0.05);
  transition: transform 0.4s var(--ease-out-expo, ease), box-shadow 0.4s;
}

.honors-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(14, 74, 86, 0.1);
}

.honors-event-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(140px, 200px) 1fr;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(212, 160, 23, 0.06));
  border-color: rgba(212, 160, 23, 0.22);
}

.honors-event-card__visual {
  display: grid;
  place-items: center;
  border-radius: 16px;
  min-height: 100px;
}

.honors-event-card__visual--grad {
  background: linear-gradient(135deg, #1a7a8c, #0e4a56);
}
.honors-event-card__visual--hack {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
}
.honors-event-card__visual--open {
  background: linear-gradient(135deg, #af1a15, #7f1d1d);
}
.honors-event-card__visual--mentor {
  background: linear-gradient(135deg, var(--honors-gold-dark), var(--honors-gold));
}

.honors-event-card__emoji {
  font-size: 2.5rem;
}

.honors-event-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--honors-gold);
  color: #fff;
  margin-bottom: 8px;
}

.honors-event-card time {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted, #5a6578);
  margin-bottom: 6px;
}

.honors-event-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.honors-event-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted, #5a6578);
  margin: 0;
}

.honors-event-card__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.honors-event-card__highlights li {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(26, 122, 140, 0.08);
  color: var(--teal, #1a7a8c);
}


.honors-iso {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft, #f5f8fc) 0%, #fff 100%);
  border-block: 1px solid var(--border, rgba(26, 122, 140, 0.1));
}

.honors-iso__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(212, 160, 23, 0.06), transparent 60%);
}

.honors-iso__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.honors-iso-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border, rgba(26, 122, 140, 0.1));
  box-shadow: 0 12px 36px rgba(14, 74, 86, 0.06);
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo, ease);
}

.honors-iso-card:hover {
  transform: translateY(-5px);
}

.honors-iso-card--featured {
  border-color: rgba(212, 160, 23, 0.3);
  box-shadow: 0 20px 50px rgba(212, 160, 23, 0.12);
}

.honors-iso-card__seal {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: linear-gradient(145deg, #1a2332, #2d3748);
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(26, 35, 50, 0.25);
}

.honors-iso-card__seal span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.honors-iso-card__seal strong {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.1;
}

.honors-iso-card__seal--gold {
  background: linear-gradient(145deg, var(--honors-gold-dark), var(--honors-gold-light));
}

.honors-iso-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.honors-iso-card > p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted, #5a6578);
  margin-bottom: 18px;
}

.honors-iso-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: right;
  padding-top: 16px;
  border-top: 1px solid var(--border, rgba(26, 122, 140, 0.1));
}

.honors-iso-card__meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #5a6578);
  margin-bottom: 2px;
}

.honors-iso-card__meta dd {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
}

.honors-iso__note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-muted, #5a6578);
}


.honors-certificates__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.honors-cert-card {
  text-align: center;
}

.honors-cert-card__frame {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fafc, #eef2f7);
  border: 1px solid var(--border, rgba(26, 122, 140, 0.1));
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease-out-expo, ease);
}

.honors-cert-card:hover .honors-cert-card__frame {
  transform: translateY(-6px) rotate(-1deg);
}

.honors-cert-card__preview {
  aspect-ratio: 3/4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.honors-cert-card__preview--course {
  background: linear-gradient(160deg, #1a7a8c, #0e4a56);
}
.honors-cert-card__preview--skill {
  background: linear-gradient(160deg, #5b21b6, #3730a3);
}
.honors-cert-card__preview--honor {
  background: linear-gradient(160deg, var(--honors-gold-dark), #92400e);
}
.honors-cert-card__preview--partner {
  background: linear-gradient(160deg, #af1a15, #7f1d1d);
}

.honors-cert-card__preview strong {
  font-size: 1.25rem;
  font-weight: 900;
}

.honors-cert-card__preview small {
  font-size: 0.62rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.honors-cert-card__ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  width: 100px;
  padding: 4px 0;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.honors-cert-card__ribbon--gold {
  background: var(--honors-gold-light);
  color: #1a2332;
}

.honors-cert-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.honors-cert-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted, #5a6578);
  margin: 0;
}

.honors-cert-card__preview--upload {
  text-decoration: none;
  color: inherit;
}

.honors-cert-card__upload-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.honors-cert-card__pdf-badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.honors-doc-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-muted, #5a6578);
}

.honors-iso-card__link,
.honors-award__link,
.honors-event-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.honors-iso-card__image-wrap {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 122, 140, 0.15);
  background: #fff;
}

.honors-iso-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.honors-iso-card__seal--pdf {
  background: linear-gradient(160deg, #dc2626, #991b1b);
}

.honors-iso-card__seal--pdf span {
  font-size: 1rem;
  font-weight: 900;
}

.honors-award__thumb-wrap {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(196, 160, 106, 0.35);
}

.honors-award__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.honors-event-card__visual--photo {
  padding: 0;
  overflow: hidden;
}

.honors-event-card__visual--photo .honors-event-card__emoji {
  display: none;
}

.honors-event-card__photo {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  display: block;
}


.honors-awards {
  position: relative;
  background: #1a2332;
  color: #fff;
}

.honors-awards__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 10% 20%, rgba(212, 160, 23, 0.15), transparent 55%),
    radial-gradient(ellipse 35% 40% at 90% 80%, rgba(175, 26, 21, 0.12), transparent 50%);
}

.honors-awards .section-label {
  color: rgba(255, 255, 255, 0.55);
}

.honors-awards h2 {
  color: #fff;
}

.honors-awards__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.honors-award {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease-out-expo, ease), border-color 0.3s;
}

.honors-award:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.35);
}

.honors-award__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.honors-award h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.5;
}

.honors-award p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 12px;
}

.honors-award time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--honors-gold-light);
}


.honors-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}

.honors-timeline__list::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: 72px;
  width: 2px;
  background: linear-gradient(180deg, var(--honors-gold), var(--brand, #af1a15));
  border-radius: 2px;
}

.honors-timeline__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding-bottom: clamp(24px, 4vw, 32px);
}

.honors-timeline__item:last-child {
  padding-bottom: 0;
}

.honors-timeline__year {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--honors-gold-dark);
  padding-top: 4px;
}

.honors-timeline__body {
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 16px;
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--border, rgba(26, 122, 140, 0.1));
  box-shadow: 0 8px 28px rgba(14, 74, 86, 0.05);
  position: relative;
}

.honors-timeline__body::before {
  content: '';
  position: absolute;
  right: -28px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--honors-gold);
  border: 3px solid var(--bg, #fafbfd);
  box-shadow: 0 0 0 2px var(--honors-gold);
}

.honors-timeline__body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.honors-timeline__body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted, #5a6578);
  margin: 0;
}


.honors-verify {
  padding-bottom: clamp(48px, 8vw, 80px);
}

.honors-verify__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(212, 160, 23, 0.06));
  border: 1px solid rgba(212, 160, 23, 0.2);
  overflow: hidden;
}

.honors-verify__glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.12), transparent 60%);
  pointer-events: none;
}

.honors-verify__content {
  position: relative;
  z-index: 1;
}

.honors-verify__content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
  margin: 8px 0 12px;
}

.honors-verify__content > p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted, #5a6578);
  margin-bottom: 20px;
  max-width: 48ch;
}

.honors-verify__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.honors-verify__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.honors-verify__steps li span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--honors-gold);
  color: #fff;
  flex-shrink: 0;
}

.honors-verify__action {
  position: relative;
  z-index: 1;
  text-align: center;
}

.honors-verify__qr {
  width: 120px;
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border, rgba(26, 122, 140, 0.1));
  box-shadow: var(--shadow, 0 8px 24px rgba(14, 74, 86, 0.08));
}

.honors-verify__qr svg {
  width: 100%;
  height: auto;
  display: block;
}

.honors-verify__hint {
  font-size: 0.78rem;
  color: var(--text-muted, #5a6578);
  margin-bottom: 16px;
}


.honors-cert-card,
.honors-event-card,
.honors-iso-card,
.honors-award,
.honors-timeline__item {
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
}

html[data-theme="dark"] .honors-event-card,
html[data-theme="dark"] .honors-iso-card,
html[data-theme="dark"] .honors-timeline__body {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .honors-iso {
  background: linear-gradient(180deg, #121822 0%, var(--bg) 100%);
}


@media (max-width: 1024px) {
  .honors-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .honors-hero__desc,
  .honors-hero__title {
    max-width: none;
    margin-inline: auto;
  }

  .honors-hero__chips {
    justify-content: center;
  }

  .honors-hero__trophy {
    margin-inline: auto;
  }

  .honors-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .honors-iso__grid,
  .honors-awards__grid {
    grid-template-columns: 1fr;
  }

  .honors-certificates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .honors-verify__box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .honors-verify__steps li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .honors-celebrations__grid {
    grid-template-columns: 1fr;
  }

  .honors-event-card,
  .honors-event-card--featured {
    grid-template-columns: 1fr;
  }

  .honors-event-card__visual {
    min-height: 80px;
  }

  .honors-stats__grid {
    grid-template-columns: 1fr;
  }

  .honors-certificates__grid {
    grid-template-columns: 1fr;
  }

  .honors-timeline__list::before {
    right: 56px;
  }

  .honors-timeline__item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .honors-timeline__body::before {
    right: -22px;
    width: 10px;
    height: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .honors-trophy__cup {
    animation: none;
  }

  .honors-event-card:hover,
  .honors-iso-card:hover,
  .honors-award:hover,
  .honors-cert-card:hover .honors-cert-card__frame {
    transform: none;
  }
}

body.is-page-hidden .honors-trophy__cup {
  animation-play-state: paused !important;
}
