/* ═══════════════════════════════════════════════
   CAMPUS LIFE PAGE — Immersive Storytelling CSS
   Mobile-first approach
   ═══════════════════════════════════════════════ */

/* ── Animation utilities ── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-animate] .cl-showcase__card:nth-child(2),
[data-animate] .cl-calendar__event:nth-child(2) {
  transition-delay: 0.1s;
}
[data-animate] .cl-showcase__card:nth-child(3),
[data-animate] .cl-calendar__event:nth-child(3) {
  transition-delay: 0.2s;
}
[data-animate] .cl-calendar__event:nth-child(4) {
  transition-delay: 0.3s;
}
[data-animate] .cl-calendar__event:nth-child(5) {
  transition-delay: 0.4s;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.cl-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cl-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: cl-hero-zoom 20s ease-out forwards;
}

@keyframes cl-hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.cl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(13, 27, 42, 0.15) 0%,
      rgba(13, 27, 42, 0.35) 40%,
      rgba(13, 27, 42, 0.92) 85%
    );
}

.cl-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 56px;
  color: #fff;
  max-width: 720px;
}

.cl-hero__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.18);
  border: 1px solid rgba(240, 165, 0, 0.4);
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 18px;
  color: #fff;
}

.cl-hero__title em {
  color: var(--gold);
  font-style: italic;
}

.cl-hero__lead {
  max-width: 560px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.cl-hero__scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: cl-bounce 2.4s ease-in-out infinite;
}

@keyframes cl-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════ */
.cl-stats {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 40px 0;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}

.cl-stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cl-stats__item {
  text-align: center;
  min-width: 120px;
}

.cl-stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.cl-stats__plus {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.cl-stats__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cl-stats__divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════
   CHAPTER SECTIONS
   ═══════════════════════════════════════════════ */
.cl-chapter {
  padding: 72px 0 0;
  background: var(--cream);
}

.cl-chapter--alt {
  background: #f7f3e8;
}

.cl-chapter__header {
  max-width: 720px;
  margin-bottom: 44px;
}

.cl-chapter__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e89200);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(240, 165, 0, 0.3);
}

.cl-chapter__kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cl-chapter__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 16px;
}

.cl-chapter__title em {
  color: var(--gold);
  font-style: italic;
}

.cl-chapter__desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   SHOWCASE — Photo Gallery Components
   ═══════════════════════════════════════════════ */
.cl-showcase {
  padding: 0 0 72px;
}

/* ── Shared Image Wrapper ── */
.cl-showcase__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
}

.cl-showcase__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.cl-showcase__img-wrap:hover img {
  transform: scale(1.04);
}

/* ── Tags ── */
.cl-showcase__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.14);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── Featured (single hero image + caption) ── */
.cl-showcase__featured {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 32px;
}

.cl-showcase__featured .cl-showcase__img-wrap {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.cl-showcase__caption {
  padding: 24px 4px 0;
}

.cl-showcase__caption h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.2;
}

.cl-showcase__caption p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.65;
}

/* ── Card Row (3-col on desktop) ── */
.cl-showcase__row {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.cl-showcase__card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cl-showcase__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cl-showcase__card .cl-showcase__img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.cl-showcase__card-text {
  padding: 18px 20px 22px;
}

.cl-showcase__card-text h4 {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.25;
}

.cl-showcase__card-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Mosaic Layout (hero + 2 side) ── */
.cl-showcase__mosaic {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 32px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.cl-showcase__mosaic-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cl-showcase__mosaic-hero .cl-showcase__img-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.cl-showcase__mosaic-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, transparent 100%);
  color: #fff;
  z-index: 2;
}

.cl-showcase__mosaic-overlay h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.15;
}

.cl-showcase__mosaic-overlay p {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.cl-showcase__mosaic-overlay .cl-showcase__tag {
  background: rgba(240, 165, 0, 0.25);
}

.cl-showcase__mosaic-side {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.cl-showcase__mosaic-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cl-showcase__mosaic-item .cl-showcase__img-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.cl-showcase__mosaic-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.85) 0%, transparent 100%);
  color: #fff;
  z-index: 2;
}

.cl-showcase__mosaic-label h4 {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.cl-showcase__mosaic-label .cl-showcase__tag {
  background: rgba(240, 165, 0, 0.25);
  margin-bottom: 4px;
}

/* ── 2-col row ── */
.cl-showcase__row--2col {
  grid-template-columns: 1fr;
}

/* ── Split Layout (image + text side by side) ── */
.cl-showcase__split {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 32px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}

.cl-showcase__split-img .cl-showcase__img-wrap {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.cl-showcase__split-text {
  padding: 8px 0;
}

.cl-showcase__split-text h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.15;
}

.cl-showcase__split-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.cl-showcase__split-text p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   QUOTE BREAK
   ═══════════════════════════════════════════════ */
.cl-quote-break {
  padding: 56px 0;
  background: var(--green);
  color: #fff;
  text-align: center;
}

.cl-quote-break blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 48px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
  position: relative;
}

.cl-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.5;
  color: rgba(240, 165, 0, 0.5);
  margin-bottom: 12px;
  font-style: normal;
}

.cl-quote-break cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════
   ANNUAL CALENDAR
   ═══════════════════════════════════════════════ */
.cl-calendar {
  padding: 72px 0;
  background: var(--navy);
  color: #fff;
}

.cl-calendar .cl-chapter__kicker {
  color: var(--gold);
}

.cl-calendar .cl-chapter__title {
  color: #fff;
  margin-bottom: 36px;
}

.cl-calendar__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cl-calendar__event {
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cl-calendar__event:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240, 165, 0, 0.3);
}

.cl-calendar__month {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.16);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cl-calendar__event h3 {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.3;
}

.cl-calendar__event p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cl-cta {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cl-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cl-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cl-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(13, 27, 42, 0.82);
}

.cl-cta__content {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  color: #fff;
}

.cl-cta__content h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 600px;
  margin-inline: auto;
}

.cl-cta__content h2 em {
  color: var(--gold);
  font-style: italic;
}

.cl-cta__content p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.cl-cta__content .actions {
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════ */
.cl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cl-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.cl-lightbox[hidden] {
  display: none;
}

.cl-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}

.cl-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.cl-lightbox__body {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cl-lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cl-lightbox.is-active .cl-lightbox__img {
  transform: scale(1);
}

.cl-lightbox__caption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet (600px+)
   ═══════════════════════════════════════════════ */
@media (min-width: 600px) {
  .cl-showcase__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-showcase__row--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-showcase__mosaic-side {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cl-stats__grid {
    gap: 40px;
  }

  .cl-stats__number {
    font-size: 56px;
  }

  .cl-hero__content {
    padding: 0 0 72px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Desktop (900px+)
   ═══════════════════════════════════════════════ */
@media (min-width: 900px) {
  .cl-hero__content {
    padding: 0 0 96px;
  }

  .cl-hero__lead {
    font-size: 18px;
  }

  .cl-chapter {
    padding: 96px 0 0;
  }

  .cl-showcase {
    padding: 0 0 96px;
  }

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

  .cl-showcase__featured {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 32px;
    align-items: end;
  }

  .cl-showcase__caption {
    padding: 0 0 16px;
  }

  .cl-showcase__caption h3 {
    font-size: 34px;
  }

  .cl-showcase__mosaic {
    grid-template-columns: 1.3fr 0.7fr;
    min-height: 480px;
  }

  .cl-showcase__mosaic-hero .cl-showcase__img-wrap {
    aspect-ratio: auto;
    height: 100%;
  }

  .cl-showcase__mosaic-side {
    grid-template-columns: 1fr;
  }

  .cl-showcase__mosaic-item .cl-showcase__img-wrap {
    aspect-ratio: auto;
    height: 100%;
  }

  .cl-showcase__split {
    grid-template-columns: 0.5fr 0.5fr;
    gap: 56px;
  }

  .cl-showcase__split-text h3 {
    font-size: 38px;
  }

  .cl-calendar {
    padding: 96px 0;
  }

  .cl-calendar__track {
    grid-template-columns: repeat(5, 1fr);
  }

  .cl-calendar__event {
    text-align: center;
  }

  .cl-stats {
    padding: 48px 0;
  }

  .cl-stats__grid {
    gap: 56px;
  }

  .cl-stats__number {
    font-size: 64px;
  }

  .cl-quote-break {
    padding: 80px 0;
  }

  .cl-quote-mark {
    font-size: 100px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Large Desktop (1200px+)
   ═══════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .cl-showcase__mosaic {
    min-height: 540px;
  }

  .cl-showcase__split-img .cl-showcase__img-wrap {
    aspect-ratio: 4 / 5;
  }
}

/* ═══════════════════════════════════════════════
   SMALL MOBILE (max-width: 520px)
   ═══════════════════════════════════════════════ */
@media (max-width: 520px) {
  .cl-hero__content {
    padding: 0 0 44px;
  }

  .cl-stats__grid {
    flex-direction: column;
    gap: 20px;
  }

  .cl-stats__divider {
    width: 48px;
    height: 1px;
  }

  .cl-chapter {
    padding: 56px 0 0;
  }

  .cl-showcase {
    padding: 0 0 56px;
  }

  .cl-showcase__featured .cl-showcase__img-wrap {
    border-radius: 12px;
  }

  .cl-showcase__split-img .cl-showcase__img-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .cl-cta__content .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cl-cta__content .btn {
    width: 100%;
  }

  .cl-calendar__event {
    padding: 18px 20px;
  }
}
