/* ---------------------------------------------------------------- */
/*  Recruit 페이지 전용 스타일                                         */
/* ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--main-white);
  padding: var(--nav-height) 20px 40px;
  position: relative;
}

/* ---- Section 1: Hero ---- */
.recruit-phrase { text-align: center; margin-top: -4vh; }

.recruit-year {
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 9rem);
  color: var(--font-black);
  line-height: 1;
}

.recruit-title {
  font-weight: 800;
  font-family: var(--english-font);
  font-size: clamp(2.2rem, 11vw, 11rem);
  color: var(--font-blue);
  line-height: 1.05;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vh, 48px);
}

.hero-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 210px;
  height: 62px;
  padding: 0 34px;
  border: 1px solid var(--main-blue);
  background: var(--main-blue);
  color: var(--font-white);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 32px rgba(31, 74, 173, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-join-button:hover {
  background: var(--main-black);
  color: var(--font-white);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.hero-join-button:focus-visible {
  outline: 3px solid rgba(31, 74, 173, 0.28);
  outline-offset: 4px;
}

.hero-join-arrow {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.gradient-line { width: 100vw; height: 2px; display: flex; margin: 6px 0; }
.gradient-line.left  { background: linear-gradient(to right, var(--main-black), var(--main-white)); width: 45%; }
.gradient-line.right { background: linear-gradient(to left, var(--main-black), var(--main-white)); width: 70%; margin-left: auto; }
.gradient-line.middle {
  width: clamp(13rem, 30vw, 40rem);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--main-black), transparent);
  margin: 8px auto;
}

.scroll-arrow {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--main-light-black);
  opacity: 0.6;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.scroll-arrow svg {
  width: clamp(40px, 5vw, 56px);
  height: auto;
  animation: float 2s ease-in-out infinite;
}
.scroll-arrow:hover {
  color: var(--main-blue);
  opacity: 1;
}
.scroll-arrow:focus-visible {
  outline: 3px solid rgba(31, 74, 173, 0.28);
  outline-offset: 2px;
  border-radius: 50%;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@media (max-width: 640px) {
  .recruit-phrase { margin-top: -2vh; }
  .hero-cta { margin-top: 30px; }
  .hero-join-button {
    width: min(240px, 76vw);
    height: 58px;
    font-size: 16px;
  }
  .scroll-arrow { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-arrow svg { animation: none; }
}

/* ---- Section 2: Countdown ---- */
.countdown-wrap { width: min(80%, 900px); text-align: center; }
.recruit-range {
  font-weight: var(--weight-extra-light);
  font-size: clamp(0.85rem, 2vw, 1.8rem);
  color: var(--main-black);
  margin-bottom: 2vh;
}
.recruit-notice {
  max-width: 640px;
  margin: 0 auto 5vh;
  color: var(--main-light-black);
  font-weight: var(--weight-light);
  line-height: 1.7;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
}
.countdown {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.time-box {
  width: 22%;
  aspect-ratio: 1;
  background: var(--main-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.time-number {
  font-weight: var(--weight-light);
  font-size: clamp(1.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--font-black);
}
.time-label {
  font-size: clamp(0.55rem, 1.4vw, 1.1rem);
  font-weight: var(--weight-light);
  color: var(--font-grey);
  margin-top: 8px;
}
.time-split {
  font-size: clamp(1rem, 4vw, 3rem);
  color: var(--font-black);
  width: 4%;
  text-align: center;
}
.status-message {
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: var(--weight-light);
  color: var(--font-black);
  padding: 4rem 0;
}

/* ---- Section 3: What We Do ---- */
.section-heading {
  font-family: var(--english-font);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  color: var(--font-black);
  text-align: center;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 3rem);
  width: min(90%, 1100px);
  margin: 0 auto;
}
@media (max-width: 768px) { .card-grid { grid-template-columns: 1fr; } }

.activity-card {
  position: relative;
  border-radius: 30px;
  /* 내부 테두리(inset)보다 넉넉하게 여백을 줘 글자가 테두리 밖으로 나가지 않게 함 */
  padding: clamp(1.8rem, 4.5vw, 3rem);
  min-height: clamp(130px, 17vw, 210px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--font-white);
  font-weight: bold;
  font-size: clamp(0.95rem, 1.8vw, 1.7rem);
  line-height: 1.4;
  text-align: center;
  white-space: pre-line;
  word-break: keep-all;
  overflow: hidden;
}
.activity-card:nth-child(odd)  { background: var(--main-blue); }
.activity-card:nth-child(even) { background: var(--main-black); }
.activity-card::before {
  content: "";
  position: absolute;
  inset: clamp(0.7rem, 1.5vw, 1.4rem);
  border: 2px solid var(--font-white);
  border-radius: 20px;
  opacity: 0.9;
}

/* ---- Section: Achievements ---- */
#achievements { min-height: 100vh; height: auto; padding-top: calc(var(--nav-height) + 40px); padding-bottom: 80px; }
.ach-wrap { width: min(92%, 820px); text-align: center; }
.ach-sub {
  color: var(--font-grey);
  font-weight: var(--weight-light);
  margin: 14px 0 40px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}
.ach-timeline { text-align: left; margin-top: 40px; }

.ach-year-head {
  font-family: var(--english-font);
  font-weight: var(--weight-extra-bold);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--font-blue);
  margin: 34px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(12, 46, 134, 0.15);
}
.ach-year-head:first-child { margin-top: 0; }

.ach-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 4px;
  border-bottom: 1px solid #f0f1f3;
}
.ach-row::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--main-blue);
  transform: translateY(-3px);
}
.ach-text {
  color: var(--font-black);
  font-weight: var(--weight-light);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
}

/* ---- nav auth ---- */
.nav-auth-slot { display: inline-flex; align-items: center; gap: 44px; }
.nav-user {
  font-family: var(--english-font);
  font-weight: var(--weight-medium);
  font-size: 15px;
  color: var(--main-blue);
}
@media (max-width: 640px) { .nav-auth-slot { gap: 18px; } }
