:root {
  --lpc-purple: #4a205c;
  --lpc-purple-deep: #2d153c;
  --lpc-purple-soft: #f3edf6;
  --lpc-gold: #d8a82f;
  --lpc-gold-light: #f2d77c;
  --lpc-ink: #28222d;
  --lpc-muted: #665e6d;
  --lpc-paper: #fffdf8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100%;
  height: auto;
  background: var(--lpc-paper);
  color: var(--lpc-ink);
  font-family: "Noto Sans HK", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
}

body.theme1,
body.theme2,
body.theme3,
body.theme4,
body.theme52 {
  background: var(--lpc-paper);
}

body .headerColor,
body.theme1 .headerColor,
body.theme2 .headerColor,
body.theme3 .headerColor,
body.theme4 .headerColor {
  background: var(--lpc-purple-deep);
}

body > .col-sm-7 img,
body .col-sm-7 img {
  max-width: min(420px, 88vw);
  height: auto;
}

.navbar.headerColor {
  border-bottom: 3px solid var(--lpc-gold);
}

.navbar.headerColor .nav-link {
  padding: 1rem .9rem;
  font-size: .94rem;
  letter-spacing: .02em;
}

.navbar.headerColor .nav-link:hover,
.navbar.headerColor .nav-link:focus-visible {
  color: var(--lpc-gold-light);
}

.anniversary-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 7vw, 6.8rem) max(1.25rem, calc((100vw - 1180px) / 2)) 4.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 83% 12%, rgba(132, 83, 150, .4), transparent 34%),
    linear-gradient(125deg, #291438 0%, #482259 52%, #30163f 100%);
}

.anniversary-hero::before,
.anniversary-hero::after {
  position: absolute;
  z-index: 0;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(242, 215, 124, .22);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.anniversary-hero::before {
  top: -21rem;
  right: 2%;
  box-shadow: 0 0 0 2rem rgba(242, 215, 124, .035), 0 0 0 4rem rgba(242, 215, 124, .025);
}

.anniversary-hero::after {
  right: 18%;
  bottom: -28rem;
  width: 35rem;
  height: 35rem;
  opacity: .45;
}

.anniversary-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1180px;
  margin: 0 auto;
}

.anniversary-hero__copy {
  max-width: 650px;
}

.anniversary-kicker,
.anniversary-eyebrow {
  margin: 0 0 1rem;
  color: var(--lpc-gold-light);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.anniversary-kicker span {
  display: inline-block;
  margin-right: .7rem;
  padding: .38rem .7rem;
  border: 1px solid rgba(242, 215, 124, .56);
  border-radius: 999px;
  color: var(--lpc-gold-light);
  font-size: .73rem;
  letter-spacing: .12em;
}

.anniversary-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: .025em;
}

.anniversary-hero h1 em {
  color: var(--lpc-gold-light);
  font-style: normal;
}

.anniversary-intro {
  max-width: 560px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
}

.anniversary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.anniversary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.anniversary-button:hover,
.anniversary-button:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
}

.anniversary-button--gold {
  color: #2c1b16;
  background: linear-gradient(135deg, #f4dc8a, #d4a333);
  box-shadow: 0 8px 18px rgba(14, 7, 18, .16);
}

.anniversary-button--gold:hover,
.anniversary-button--gold:focus-visible {
  color: #24151a;
  box-shadow: 0 10px 24px rgba(14, 7, 18, .24);
}

.anniversary-button--outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.anniversary-button--outline:hover,
.anniversary-button--outline:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.anniversary-hero__mark {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 3px double var(--lpc-gold);
  border-radius: 48px 12px 48px 12px;
  background: var(--lpc-paper);
  box-shadow: 0 25px 70px rgba(12, 5, 18, .22), inset 0 0 0 10px rgba(255, 255, 255, .025);
}

.anniversary-hero__mark img {
  display: block;
  width: min(100%, 445px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .22));
}

.anniversary-hero__ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.2rem);
  color: #36203e;
  background: linear-gradient(90deg, #d8aa42, #f2d77c 50%, #d1a039);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.anniversary-hero__ribbon i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lpc-purple);
}

.anniversary-invitations,
.school-film-section,
.campus-stories-section,
.school-partners-section {
  padding: clamp(3.4rem, 7vw, 6rem) max(1.25rem, calc((100vw - 1180px) / 2));
}

.anniversary-invitations {
  background:
    linear-gradient(90deg, rgba(74, 32, 92, .035) 1px, transparent 1px),
    linear-gradient(rgba(74, 32, 92, .035) 1px, transparent 1px),
    var(--lpc-paper);
  background-size: 28px 28px;
}

.anniversary-section-heading {
  max-width: 740px;
  margin: 0 auto 2.3rem;
  text-align: center;
}

.anniversary-section-heading .anniversary-eyebrow {
  margin-bottom: .65rem;
  color: #9b7427;
  font-size: .72rem;
}

.anniversary-section-heading h2 {
  margin: 0;
  color: var(--lpc-purple);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.35;
}

.anniversary-section-heading > p:last-child {
  margin: .85rem auto 0;
  color: var(--lpc-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.anniversary-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.anniversary-card {
  overflow: hidden;
  border: 1px solid rgba(74, 32, 92, .12);
  border-radius: 9px;
  color: var(--lpc-purple-deep);
  background: #fff;
  box-shadow: 0 12px 35px rgba(50, 28, 57, .08);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.anniversary-card:hover,
.anniversary-card:focus-visible {
  transform: translateY(-4px);
  color: var(--lpc-purple-deep);
  box-shadow: 0 18px 42px rgba(50, 28, 57, .16);
  text-decoration: none;
}

.anniversary-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.4 / 1;
  background: #f7f2ec;
}

.anniversary-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.anniversary-card:hover .anniversary-card__image img,
.anniversary-card:focus-visible .anniversary-card__image img {
  transform: scale(1.025);
}

.anniversary-card__caption {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .8rem 1rem;
  font-weight: 700;
}

.anniversary-card__caption span {
  color: #92702c;
  font-size: .8rem;
  white-space: nowrap;
}

.anniversary-card-note {
  margin: 1rem 0 0;
  color: #77707b;
  font-size: .82rem;
  text-align: center;
}

.school-film-section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: #f4f0f5;
}

.campus-stories-section {
  padding-top: clamp(2.6rem, 5vw, 4rem);
  background: #fff;
}

.school-film-section #playervideo {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 12px;
  background: #170f1b;
  box-shadow: 0 16px 45px rgba(44, 25, 53, .15);
}

.school-film-section #playervideo video {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.campus-stories-section > .container-fluid,
.campus-stories-section > .container-fluid\.full-width {
  max-width: 1240px;
  margin-right: auto !important;
  margin-left: auto !important;
}

.campus-stories-section .carousel-inner {
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 12px !important;
  box-shadow: 0 16px 45px rgba(44, 25, 53, .13) !important;
}

.campus-stories-section #carouselExample .carousel-item img {
  display: block;
  width: 100%;
  height: clamp(280px, 47vw, 620px);
  object-fit: cover;
}

.campus-stories-section .carousel-caption {
  right: 7%;
  bottom: 8%;
  left: 7%;
  padding: 1rem 1.2rem;
  border-radius: 7px;
  background: rgba(37, 17, 52, .72);
}

.campus-stories-section .carousel-caption h1 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  line-height: 1.4;
}

.campus-stories-section #carouselExample2 {
  max-width: 1180px;
  margin: 2.5rem auto 0;
}

.campus-stories-section #carouselExample2 .carousel-inner {
  border-color: #f5f0f6;
  background-color: var(--lpc-purple-soft);
  background-size: cover;
  background-position: center;
}

.campus-stories-section #carouselExample2 .carousel-item {
  min-height: 340px;
}

.campus-stories-section #carouselExample2 .carousel-item .container {
  min-height: 340px;
}

.legacy-hero-card {
  display: flex;
  min-height: 300px;
  align-items: center;
  padding: 2rem max(1.25rem, calc((100vw - 1180px) / 2));
  background-color: var(--lpc-purple-deep);
  background-position: center;
  background-size: cover;
}

.legacy-hero-card__content {
  width: min(100%, 680px);
}

.legacy-hero-card h2 {
  margin: 0 0 1.3rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}

.school-partners-section {
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: 0;
  background: var(--lpc-purple-soft);
}

.school-partners-section .anniversary-section-heading {
  margin-bottom: 1.5rem;
}

.school-partners-section .gallery-container {
  max-width: 1180px;
  margin: 0 auto;
  gap: 1rem;
}

.school-partners-section .gallery-item {
  flex: 1 1 280px;
  padding: 0;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(50, 28, 57, .1);
}

.school-partners-section .gallery-item img {
  display: block;
  width: 100%;
  height: clamp(180px, 20vw, 260px);
  object-fit: contain;
}

footer {
  margin-top: 0;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 3px solid var(--lpc-gold);
  color: rgba(255, 255, 255, .84);
  background: var(--lpc-purple-deep);
}

footer .text-reset,
footer a {
  color: rgba(255, 255, 255, .84) !important;
}

footer a:hover,
footer a:focus-visible {
  color: var(--lpc-gold-light) !important;
}

footer [style*="rebeccapurple"] {
  color: var(--lpc-gold-light) !important;
}

@media (max-width: 767.98px) {
  .anniversary-hero {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .anniversary-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .anniversary-hero__mark {
    width: min(100%, 360px);
    min-height: 200px;
    margin: 0 auto;
    border-radius: 34px 10px 34px 10px;
  }

  .anniversary-hero__mark img {
    width: min(100%, 300px);
  }

  .anniversary-hero__ribbon {
    gap: .7rem;
    font-size: .68rem;
    letter-spacing: .1em;
  }

  .anniversary-hero__ribbon i {
    width: 4px;
    height: 4px;
  }

  .anniversary-card-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .anniversary-card__image {
    aspect-ratio: 1.55 / 1;
  }

  .anniversary-actions {
    align-items: stretch;
  }

  .anniversary-actions .anniversary-button {
    flex: 1 1 190px;
  }

  .campus-stories-section #carouselExample .carousel-item img {
    height: 62vw;
    min-height: 250px;
  }

  .campus-stories-section #carouselExample2 .carousel-item,
  .campus-stories-section #carouselExample2 .carousel-item .container {
    min-height: 480px;
  }

  .campus-stories-section #carouselExample2 .carousel-item .row {
    justify-content: center;
    gap: 1rem;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .campus-stories-section #carouselExample2 .carousel-item .col-lg-6,
  .campus-stories-section #carouselExample2 .carousel-item .col-10 {
    width: 100%;
    max-width: 100%;
  }

  .campus-stories-section #carouselExample2 .carousel-item img {
    max-height: 220px;
  }

  .campus-stories-section #carouselExample2 .carousel-item h1 {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
