.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.heroMedia {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.heroImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
  animation: pan-slow 18s ease-in-out alternate infinite;
}

.heroShade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(7, 17, 31, 0.9) 14%,
      rgba(7, 17, 31, 0.58) 52%,
      rgba(7, 17, 31, 0.3) 100%
    ),
    linear-gradient(to top, rgba(7, 17, 31, 0.78), transparent 46%);
}

.heroContent {
  position: relative;
  z-index: 2;
  width: var(--container);
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - min(1120px, calc(100% - 2.5rem))) / 2));
  margin-right: auto;
  padding: 5.5rem 0 4.5rem;
  animation: rise-in 0.8s ease both;
}

.hero .brand {
  display: block;
  /* Syne이 아닌 본문 폰트(Source Sans 3) — DevTools에서 Syne 해제 시 원하는 형태 */
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: var(--gold-400);
}

.headline {
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: none;
  margin: 0 0 2rem;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .headline {
    white-space: normal;
  }

  .lead {
    white-space: normal;
    max-width: 22rem;
  }
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  max-width: none;
}

.primary,
.primaryLight,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.primary:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}

.secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.primaryLight {
  background: var(--white);
  color: var(--navy-900);
  margin-top: 1.5rem;
}

.primaryLight:hover {
  background: var(--cream-100);
  transform: translateY(-1px);
}

.campus,
.courses,
.reviews,
.community {
  padding: 5rem 0;
}

.eyebrow,
.eyebrowLight {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.eyebrow {
  color: var(--gold-600);
}

.eyebrowLight {
  color: var(--gold-400);
}

.campusStack {
  display: grid;
  gap: 2.75rem;
}

.campusCopy {
  max-width: none;
}

.campusCopy h2,
.sectionHead h2,
.reviews h2,
.community h2,
.mentoring h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.campusHeadline {
  display: grid;
  gap: 0.15em;
}

.campusHeadline span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .campusHeadline span {
    white-space: normal;
  }
}

.campusCopy > p:not(.eyebrow) {
  color: var(--ink-700);
  max-width: none;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.campusBody {
  display: grid;
  gap: 0.2rem;
}

.campusBody span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .campusBody span {
    white-space: normal;
  }
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.points li {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--gold-500);
  background: linear-gradient(90deg, rgba(196, 154, 60, 0.08), transparent 70%);
  animation: rise-in 0.7s ease both;
  transition:
    border-left-width 0.22s ease,
    border-left-color 0.22s ease,
    background 0.22s ease;
}

.points li:hover {
  border-left-width: 5px;
  border-left-color: var(--gold-400);
  background: linear-gradient(90deg, rgba(196, 154, 60, 0.16), transparent 75%);
}

.points li:nth-child(2) {
  animation-delay: 0.08s;
}

.points li:nth-child(3) {
  animation-delay: 0.16s;
}

.points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.points span {
  color: var(--ink-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.textLink {
  font-weight: 600;
  color: var(--navy-800);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.courseGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-card--soon {
  border-style: dashed;
  background: var(--cream-50);
  pointer-events: none;
}

.course-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.course-card__media--soon {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(18, 48, 85, 0.05) 0 12px,
      transparent 12px 24px
    ),
    var(--cream-100);
}

.course-card--soon .course-card__meta,
.course-card--soon .course-card__title,
.course-card--soon .course-card__summary {
  color: var(--ink-500);
}

.course-card--soon .course-card__title {
  font-weight: 600;
}

.mentoring {
  background: var(--navy-900);
  color: var(--white);
  padding: 0;
}

.mentoringInner {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 0.8fr);
  min-height: 28rem;
}

.mentoringInner > div:first-child {
  padding: 4.5rem 0;
  padding-right: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mentoringInner p:not(.eyebrowLight) {
  color: rgba(255, 255, 255, 0.78);
  max-width: none;
  margin-right: 0;
  line-height: 1.7;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.mentoringVisual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}
.mentoringImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.reviewGrid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.reviewCard {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.4rem 1.3rem;
  background: var(--white);
  border-top: 3px solid var(--gold-500);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.reviewCard:hover {
  border-top-color: var(--gold-400);
  border-inline-color: rgba(196, 154, 60, 0.45);
  border-bottom-color: rgba(196, 154, 60, 0.45);
  background: linear-gradient(
    180deg,
    rgba(255, 252, 245, 1),
    rgba(255, 255, 255, 1)
  );
  transform: translateY(-2px);
}

.reviewMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: var(--gold-600);
  font-weight: 600;
}

.reviewCard h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
  line-height: 1.35;
  flex: 1;
}

.reviewFoot {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-500);
}

.reviewFoot p {
  font-weight: 600;
  transition: color 0.22s ease;
}

.reviewCard:hover .reviewFoot p {
  color: var(--gold-600);
}

.reviewFoot a {
  color: var(--navy-800);
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.reviewFoot a:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-500);
}

.reviewTags {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.community {
  padding-top: 0;
}

.communityInner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(214, 179, 92, 0.18), transparent 40%),
    linear-gradient(145deg, var(--cream-100), var(--white));
  border: 1px solid var(--line);
}

.communityInner p:not(.eyebrow):not(.contactLead) {
  color: var(--ink-700);
  max-width: 40ch;
}

.contactLead {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  color: var(--ink-700);
  max-width: none;
  line-height: 1.65;
}

.contactLead span {
  display: block;
  white-space: normal;
  word-break: keep-all;
}

.contactActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.secondaryDark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-900);
  color: var(--navy-900);
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.secondaryDark:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .points,
  .courseGrid,
  .reviewGrid,
  .mentoringInner {
    grid-template-columns: 1fr;
  }

  .course-card--soon {
    display: none;
  }

  .mentoringInner > div:first-child {
    padding: 3.5rem 0 2rem;
    padding-right: 0;
  }

  .communityInner {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .heroContent {
    margin-left: 1.25rem;
    padding: 4rem 0 3.25rem;
  }

  .sectionHead {
    flex-direction: column;
    align-items: start;
  }

  .communityInner {
    padding: 1.5rem;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pan-slow {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.noticePopupOverlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(7, 17, 31, 0.58);
}

.noticePopup {
  width: min(32rem, 100%);
  max-height: min(78vh, 36rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.noticePopupHead {
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream-50);
}

.noticePopupEyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.noticePopupHead h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.noticePopupHead time {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--ink-500);
}

.noticePopupBody {
  padding: 1.15rem 1.35rem;
  overflow: auto;
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.65;
}

.noticePopupBody p {
  margin: 0;
  white-space: pre-line;
}

.noticePopupFoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.35rem 1.1rem;
  border-top: 1px solid var(--line);
}

.noticePopupHide {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--ink-700);
  cursor: pointer;
}

.noticePopupClose {
  min-width: 5.5rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.noticePopupClose:hover {
  background: var(--navy-800);
}
