/* ==========================================================================
   ALOM 랜딩 페이지
   - GNB 배경 전환, 스크롤 등장 애니메이션, 리뷰 드래그 스크롤은
     js/index.js (Vanilla JS)가 클래스를 토글하는 방식으로 제어함
   ========================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 112.5%; /* 18px 기준 — 전체 텍스트 가독성 상향 */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Pretendard",
    "Malgun Gothic",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #0d0d10;
  --bg-soft: #141417;
  --bg-card: #1a1a1e;
  --border: rgba(255, 255, 255, 0.1);

  --text: #ffffff;
  --text-dim: #c7c7d1;
  --text-faint: #94949e;

  --accent: #8b5cf6; /* neon purple */
  --accent-2: #22d3ee; /* neon cyan   */
  --accent-gradient: linear-gradient(90deg, var(--accent), var(--accent-2));

  --section-pad: clamp(4rem, 10vw, 8rem);
  --container: min(1200px, 92vw);
}

.section__head {
  max-width: var(--container);
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.section__eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.section__title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   1. GNB
   기법: position: fixed + backdrop-filter(blur)
   최상단에서는 배경이 투명하고, js/index.js의 scroll 이벤트 리스너가
   일정 거리 이상 스크롤되면 .gnb--scrolled 클래스를 붙여 배경/그림자를 켠다.
   ========================================================================== */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.gnb--scrolled {
  background: rgba(13, 13, 16, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 15px 40px -25px rgba(0, 0, 0, 0.7);
}

.gnb__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gnb__logo {
  display: flex;
  align-items: center;
}

.gnb__logo img {
  height: 50px;
  width: auto;
  display: block;
}

.gnb__nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.gnb__nav a {
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dim);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

/* hover 시 부드럽게 채워지는 밑줄 애니메이션 */
.gnb__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.gnb__nav a:hover {
  color: var(--text);
}

.gnb__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   2. HERO
   기법: background-attachment: fixed 로 패럴랙스,
         타이포그래피 인트로(ALOM -> 2줄 카피)는 아래 2-1. 섹션 참고
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(139, 92, 246, 0.28),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(34, 211, 238, 0.24),
      transparent 45%
    ),
    linear-gradient(180deg, #0d0d10 0%, #141417 100%);
  background-attachment: fixed; /* 스크롤 시 배경이 고정되어 패럴랙스 느낌 */
  animation: blobFloat 12s ease-in-out infinite alternate; /* 항상 살아있는 앰비언트 움직임 */
}

/* 스크롤과 무관하게 배경 빛 덩어리가 계속 유영하는 효과 */
@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2%, 2%) scale(1.08);
  }
  100% {
    transform: translate(2%, -2%) scale(1.02);
  }
}

/* 스크롤해서 히어로를 벗어날 때 텍스트가 위로 밀려 올라가며 축소/페이드 */
@supports (animation-timeline: scroll()) {
  .hero-intro {
    animation: heroExit linear forwards;
    animation-timeline: scroll(root);
    animation-range: 0 85vh;
  }
}

@keyframes heroExit {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-140px) scale(0.92);
    opacity: 0.1;
  }
}

/* ==========================================================================
   2-1. HERO 타이포그래피 인트로 (ALOM -> ALpha to OMega)
   기법: "Alpha"의 앞 두 글자(AL)와 "Omega"의 앞 두 글자(OM)가 정확히
   ALOM의 네 글자와 같다는 점을 이용한다. .hero-intro__char에는 "AL"/"OM"만
   두고, 나머지 철자(pha/ega)와 접속어 "to"는 .hero-intro__rest/__connector로
   숨겨 둔다. 초기 상태에서는 rest/connector의 max-width가 0이라 화면에는
   "AL" + "OM" = "ALOM"만 보이고, .is-expanded가 붙으면 그 자리에서 그대로
   펼쳐지며 "ALpha to OMega"가 완성된다.
   - 크기 축소는 font-size가 아니라 transform: scale()로 처리한다. 큰
     글자(최대 15rem급)의 font-size를 직접 애니메이션하면 매 프레임 텍스트
     레이아웃을 다시 계산해야 해서 버벅거림의 주 원인이 된다. scale은
     합성(compositing) 단계에서만 처리되어 훨씬 부드럽다.
   - flex-wrap은 nowrap으로 고정해 펼쳐지는 도중 폭이 바뀌며 줄바꿈이
     튀는 현상을 막는다.
   - 정렬은 align-items: baseline 대신 flex-end(바닥 정렬)를 쓴다.
     overflow: hidden이 걸린 inline-block은 CSS 스펙상 자체 baseline이
     "박스의 아래쪽 여백 경계"로 재정의되어, AL/OM과 나란히 baseline
     정렬하면 pha/ega/to가 실제 텍스트 기준선과 어긋나 위로 들뜨거나
     디센더(p, g)가 잘려 보이는 원인이 된다. flex-end는 이 문제와
     무관하게 각 요소의 실제 바닥을 그대로 한 줄에 맞춘다.
   ========================================================================== */
.hero-intro {
  position: relative;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-intro__stage {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 5.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  transform: scale(2.4);
  transition: transform 2.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-intro.is-expanded .hero-intro__stage {
  transform: scale(1);
  font-weight: 800;
}

.hero-intro__word {
  display: inline-flex;
  align-items: flex-end;
  margin-right: 0;
  transition: margin 2.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-intro.is-expanded .hero-intro__word {
  margin-right: 0.14em;
}

/* ALOM의 네 글자(AL / OM)는 항상 크고 두꺼운 대문자로 고정 */
.hero-intro__char {
  display: inline-block;
  font-weight: 900;
}

/* 알파벳 옆에 숨겨진 나머지 스펠링(pha/ega): 펼쳐질 때도 AL/OM보다 작고
   가벼운 글씨로 남아, 어떤 글자가 ALOM 출신인지 계속 구분되게 한다 */
.hero-intro__rest {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  /* g/p 등 디센더가 overflow:hidden의 줄 높이 기준 클리핑 영역에 잘리지
     않도록, padding-bottom으로 클리핑 영역만 아래로 넓히고 동일한 값만큼
     margin-bottom을 음수로 상쇄해 레이아웃상 차지하는 높이/위치는 그대로
     유지한다 */
  padding-bottom: 0.3em;
  margin-bottom: -0.3em;
  white-space: nowrap;
  font-size: 0.62em;
  font-weight: 750;
  transform: translateX(-8px);
  transition:
    max-width 2.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.8s ease 0.3s,
    transform 2s ease 0.3s;
}

.hero-intro.is-expanded .hero-intro__rest {
  max-width: 6em;
  opacity: 1;
  transform: translateX(0);
}

/* "to" 접속어: 글자 자체가 아니라 최종 카피를 완성하기 위해 덧붙는
   연결어라서, 두꺼운 알파벳들과 구분되도록 얇고 톤 다운된 색으로 처리 */
.hero-intro__connector {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.5em;
  font-weight: 650;
  color: var(--text-faint);
  margin: 0;
  transition:
    max-width 2.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.8s ease 0.35s,
    margin 2.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-intro.is-expanded .hero-intro__connector {
  max-width: 4em;
  opacity: 0.7;
  margin: 0 0.35em;
}

/* 태그라인: 타이포그래피 전개가 끝난 뒤 .is-detail-visible이 붙으면 페이드인 */
.hero-intro__detail {
  margin-top: clamp(1.25rem, 3.5vw, 2rem);
  max-width: 62ch;
}

.hero-intro__detail p {
  opacity: 0;
  transform: translateY(24px);
  color: var(--text-dim);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.8;
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-intro.is-detail-visible .hero-intro__detail p {
  opacity: 1;
  transform: translateY(0);
}

/* JS 비활성 시 폴백: 접혀 있던 요소를 즉시 펼친 최종 상태로 보여준다 */
.no-js .hero-intro__stage {
  transform: scale(1);
}
.no-js .hero-intro__word {
  margin-right: 0.14em;
}
.no-js .hero-intro__rest,
.no-js .hero-intro__connector {
  max-width: none;
  opacity: 1;
  transform: none;
}
.no-js .hero-intro__connector {
  margin: 0 0.35em;
  opacity: 0.7;
}
.no-js .hero-intro__detail p {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   공통 스크롤 등장 애니메이션 (reveal)
   기법: js/index.js의 IntersectionObserver가 요소가 뷰포트에 일정 비율
   보이면 .is-visible 클래스를 추가한다. 여기서는 그 전/후 상태를
   transition으로 정의한다. JS가 없어도 기본 상태가 보이는 값(opacity:1)이면
   콘텐츠가 사라지지 않으므로, 시작 상태는 JS가 최초 실행되기 전까지만 잠깐
   유지된다.
   ========================================================================== */
.reveal {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal--up {
  transform: translateY(90px) scale(0.92);
}

.reveal--left {
  transform: translateX(-140px) rotate(-6deg) scale(0.92);
}

.reveal--right {
  transform: translateX(140px) rotate(6deg) scale(0.92);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}

/* JS가 비활성화된 경우를 대비한 안전장치: 3초 뒤에도 관찰이 시작되지 않았다면
   콘텐츠가 계속 숨겨진 채로 남지 않도록 최종적으로 보이게 처리 */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   3. CURRICULUM
   기법: Grid 레이아웃 + reveal--left/right (사선/좌우 슬라이드 인)
         카드 hover 시 입체감 있는 translate + border glow
   ========================================================================== */
.curriculum {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
}

.curriculum__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.curri-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.curri-card:hover {
  transform: translateY(-12px) scale(1.015);
}

.curri-card--junior:hover {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 20px 50px -20px rgba(34, 211, 238, 0.35);
}

.curri-card--senior:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 50px -20px rgba(139, 92, 246, 0.4);
}

.curri-card__head {
  margin-bottom: 1.75rem;
}

.curri-card__badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.curri-card--junior .curri-card__badge {
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
}

.curri-card--senior .curri-card__badge {
  color: var(--accent);
  background: rgba(139, 92, 246, 0.14);
}

.curri-card__head h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.curri-card__head p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

.curri-card__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
  font-size: 1.15rem;
  font-weight: 500;
  transition:
    transform 0.3s ease,
    color 0.3s ease,
    padding-left 0.3s ease;
}

.curri-card__num {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 700;
}

.curri-card__list li:hover {
  color: var(--text);
  padding-left: 0.5rem;
}

.curri-card--junior .curri-card__list li:hover .curri-card__num {
  color: var(--accent-2);
}
.curri-card--senior .curri-card__list li:hover .curri-card__num {
  color: var(--accent);
}

/* ==========================================================================
   4. ACTIVITIES
   기법: 좌측 텍스트 리스트 + 우측 position: sticky 이미지 패널.
   js/index.js의 IntersectionObserver가 뷰포트 중앙(rootMargin으로 상하 45%씩
   제외한 얇은 띠)에 걸리는 .activity-item을 감지해 .active를 토글하면,
   여기서는 텍스트 강조/설명 펼침과 이미지 크로스페이드를 transition으로 재생한다.
   ========================================================================== */
.activities {
  padding: var(--section-pad) 0;
}

.activities__scroll {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 5fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.activities__text-col {
  display: flex;
  flex-direction: column;
}

.activity-item {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0;
  opacity: 0.32;
  transition: opacity 0.5s ease;
}

.activity-item.active {
  opacity: 1;
}

.activity-item__icon {
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.activity-item.active .activity-item__icon {
  filter: grayscale(0);
}

.activity-item__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dim);
  transition:
    color 0.5s ease,
    transform 0.5s ease;
}

.activity-item.active .activity-item__title {
  color: var(--text);
  transform: translateX(6px);
}

/* 기본은 접힌 상태(max-height:0)에서, active일 때만 펼쳐진다 */
.activity-item__desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42ch;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition:
    max-height 0.6s ease,
    opacity 0.45s ease,
    margin-top 0.5s ease;
}

.activity-item.active .activity-item__desc {
  max-height: 220px;
  opacity: 1;
  margin-top: 1rem;
}

.activities__image-col {
  position: sticky;
  top: 6.5rem; /* GNB 높이 + 여백 */
  height: 70vh;
  align-self: start;
}

.activities__image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

/* 두 이미지를 같은 자리에 겹쳐두고 opacity만 트랜지션하는 크로스페이드 */
.activity-image {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.activity-image.active {
  opacity: 1;
}

.activity-image__icon {
  font-size: 4rem;
}

.activity-image__label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  font-weight: 700;
}

/* 실제 사진 자산이 들어오기 전까지 활동별로 톤을 달리한 그라디언트 플레이스홀더 */
.activity-image:nth-child(1) {
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.35),
    rgba(34, 211, 238, 0.08)
  );
}
.activity-image:nth-child(2) {
  background: linear-gradient(
    145deg,
    rgba(34, 211, 238, 0.32),
    rgba(139, 92, 246, 0.1)
  );
}
.activity-image:nth-child(3) {
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.22),
    rgba(34, 211, 238, 0.22)
  );
}
.activity-image:nth-child(4) {
  background: linear-gradient(
    145deg,
    rgba(34, 211, 238, 0.3),
    rgba(139, 92, 246, 0.18)
  );
}
.activity-image:nth-child(5) {
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.3),
    rgba(34, 211, 238, 0.14)
  );
}

/* ==========================================================================
   5. REVIEWS
   기법: 폴라로이드처럼 살짝 회전된 카드가 두 세트 이어붙여진 채
   CSS keyframes(translateX)로 끊임없이 흘러가는 Infinite Marquee.
   래퍼(overflow:hidden) 안에서 트랙 전체 너비의 절반(-50%)만큼만 이동시키면
   두 세트가 동일하므로 이음새 없이 반복된다. 호버 시 잠시 멈춰 읽을 수 있다.
   ========================================================================== */
.reviews {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
  overflow: hidden;
}

.reviews__marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.reviews__track {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: max-content;
  padding: 1.5rem 0 2.5rem;
  animation: marquee 32s linear infinite;
}

.reviews__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    /* 카드 세트가 정확히 두 번 반복되므로 -50% 지점이 첫 세트 끝과 맞물린다 */
    transform: translateX(-50%);
  }
}

.review-card {
  flex: 0 0 clamp(240px, 26vw, 300px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.65);
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.review-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.04);
  box-shadow: 0 25px 50px -20px rgba(139, 92, 246, 0.4);
  z-index: 2;
}

.review-card__quote {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-card__name {
  font-weight: 700;
  color: var(--accent-2);
}

.review-card__meta {
  font-size: 0.9rem;
  color: var(--text-faint);
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 2rem;
}

.footer__logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer__brand p {
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 1rem;
}

.footer__contact p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.footer__sns {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.footer__icon:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-3px);
}

.footer__copyright {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ==========================================================================
   반응형 (Media Query)
   ========================================================================== */

/* 태블릿 */
@media (max-width: 1024px) {
  .curriculum__grid {
    grid-template-columns: 1fr;
  }
}

/* 모바일: sticky 2단 구성을 접고, 이미지가 위에서 얇게 고정된 채
   텍스트 리스트가 그 아래로 스크롤되는 형태로 전환 */
@media (max-width: 860px) {
  .activities__scroll {
    grid-template-columns: 1fr;
  }

  .activities__image-col {
    order: -1;
    top: 4.5rem;
    height: 38vh;
    margin-bottom: 1rem;
  }

  .activity-item {
    min-height: auto;
    padding: 2.25rem 0;
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .gnb__nav {
    gap: 1rem;
  }
  .gnb__nav a {
    font-size: 0.85rem;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .gnb__inner {
    height: 60px;
  }
  .review-card {
    flex-basis: 78vw;
  }
  /* 좁은 화면에서는 확대 배율을 낮춰 "ALOM"이 여유 있게 들어오게 한다 */
  .hero-intro__stage {
    transform: scale(1.8);
  }
}

/* 모션 최소화 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* 무한 마퀴는 완전히 정지시켜 어지러움을 유발하지 않도록 한다 */
  .reviews__track {
    animation: none;
    transform: translateX(0);
  }
}
