:root {
  --deep-blue: #02045b;
  --light-gray: #ececec;
  --header-bg: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}
@font-face {
    font-family: 'Giants';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Giants';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Giants';
  background: var(--light-gray);
  color: #111;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  z-index: 1000;
  color: #fff;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header.scrolled {
  background: var(--header-bg);
  color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-logo img {
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 400;
}

.nav-list li:hover {
  font-weight: 700;
}

.hero {
  min-height: 100vh;
  background-image: url('banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: relative;
  padding: 120px 16px 80px;
  color: #fff;
}

.hero-logo {
  width: 33%;
  object-fit: contain;
}


.hero h1 {
  font-size: clamp(0.9rem, 4.8vw, 3.2rem);
  font-weight: 700;
  margin: 0px;
  white-space: nowrap;
}

.hero h1 b {
  font-size: 1.15em;
}

.join-button {
  color: #fff;
  text-decoration: none;
  border: 4px solid #fff;
  border-radius: 16px;
  padding: 24px 36px;
  padding-bottom: 24px;
  font-size: clamp(2rem, 1.1rem + 2.8vw, 4rem);
  font-weight: 400;
  line-height: 1;
  background: #00000044;
  transition: background 0.2s;
}

.join-button:hover {
  background: #00000088
  /* font-weight: 700; 왜 안 됨?*/
}


.hero-logo,
.join-button,
.hero h1 {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}
.section-light {
  background: var(--light-gray);
  text-align: center;
  padding: 48px 16px;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 1.6rem + 2vw, 4rem);
  font-weight: 700;
}

.intro p {
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2.25rem);
  margin: 0;
  line-height: 1.3;
}

.intro-lead { 
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.5rem);
  font-weight: 700;
}

.activities {
  padding-top: 12px;
  padding-bottom: 60px;
}

.timeline {
  max-width: 900px;
  margin: 30px auto 0;
  position: relative;
  display: flex;
  flex-direction: column;
  --timeline-indent: 72px;
  --timeline-gap: 14px;
  --timeline-line-width: 4px;
  --timeline-dot-size: 14px;
  --timeline-dot-border: 3px;
  --timeline-dot-left: -48px;
  --timeline-dot-center-offset: calc(
    (var(--timeline-dot-size) / 2) + var(--timeline-dot-border)
  );
  gap: var(--timeline-gap);
  padding-left: var(--timeline-indent);
  z-index: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: calc(
    var(--timeline-indent)
    + var(--timeline-dot-left)
    + var(--timeline-dot-center-offset)
    - (var(--timeline-line-width) / 2)
  );
  top: 0;
  bottom: 0;
  width: var(--timeline-line-width);
  border-radius: 99px;
  background: linear-gradient(to bottom, #2f3c7f, #515151);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 calc(var(--timeline-dot-center-offset) + 2px),
    #000 calc(100% - (var(--timeline-dot-center-offset) + 2px)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 calc(var(--timeline-dot-center-offset) + 2px),
    #000 calc(100% - (var(--timeline-dot-center-offset) + 2px)),
    transparent 100%
  );
  z-index: 0;
}

.timeline-item {
  position: relative;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  font-size: clamp(1.25rem, 0.9rem + 1.2vw, 2rem);
  text-align: left;
  z-index: 1;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: var(--timeline-dot-left);
  top: 50%;
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  border-radius: 50%;
  transform: translateY(-50%);
  background: #2f3c7f;
  border: var(--timeline-dot-border) solid #fff;
  box-shadow: 0 0 0 2px rgba(47, 60, 127, 0.35);
}


.timeline-date {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef1ff;
  color: #2f3c7f;
  font-size: clamp(1.1rem, 0.85rem + 0.9vw, 1.75rem);
  font-weight: 700;
}

.timeline-content {
  color: #303030;
  line-height: 1.4;
}

.work {
  background-image: url('work.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  padding: 40px clamp(10px, 4.5vw, 80px) 80px;
}

.work > h2 {
  text-align: center;
}

.work-grid {
  max-width: min(1500px, calc(100vw - 16px));
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.work-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 3vw, 22px);
}

.work-item > div {
  flex: 1;
  min-width: 0;
}

.work-item.right {
  justify-content: flex-end;
}

.work-item img {
  width: clamp(64px, 12vw, 110px);
  height: clamp(64px, 12vw, 110px);
  object-fit: cover;
}

.work-item h3 {
  margin: 0 0 5px;
  font-size: clamp(2rem, 1.3rem + 1.6vw, 3rem);
  font-weight: 700;
}

.work-item.right h3 {
  text-align: right;
}

.work-item p {
  margin: 0;
  font-size: clamp(1.37rem, 1rem + 0.9vw, 2rem);
}

.no-break {
  white-space: nowrap;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 24px 18px 30px;
}

.site-footer img {
  width: 100px;
  height: 60px;
  object-fit: contain;
}

.site-footer p {
  margin: 12px 0;
  font-size: clamp(1.2rem, 1rem + 0.4vw, 1.5rem);
}

.site-footer small {
  font-size: clamp(0.85rem, 0.75rem + 0.2vw, 1rem);
  color: #9f9f9f;
}

@media (max-width: 1370px) {
  .hero-logo {
    width: 40%;
  }

  .hero h1 {
    font-size: clamp(0.9rem, 4.8vw, 3.05rem);
  }
  .hero h1 b {
    font-size: 1.15em
  }

  .join-button {
    font-size: clamp(2rem, 1.4rem + 1.4vw, 3rem);
    padding: 16px 24px;
    padding-bottom: 16px;
  }

    .work-item h3 {
    font-size: clamp(2rem, 1.4rem + 1.2vw, 2.75rem);
    font-weight: 700;
  }
  .work-item p {
    font-size: clamp(1.3rem, 1rem + 0.8vw, 1.8rem)
  }
}

@media (max-width: 1035px) {
  .hero-logo {
    width: 50%;
  }

  .hero h1 {
    font-size: clamp(0.9rem, 4.8vw, 2.9rem);
  }
  .hero h1 b {
    font-size: 1.15em
  }

  .join-button {
    font-size: clamp(1.8rem, 1.4rem + 0.9vw, 2.5rem);
    padding: 12px 18px;
    padding-bottom: 12px;
  }
}

@media (max-width: 760px) { /* 원래 760px인데 글자 크기를 고려해서 870px로 */
  .nav-list {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
    gap: 8px;
  }

  .header-logo img {
    width: 88px;
    height: 30px;
  }

  .hero-logo {
    width: 60%;
  }

  .hero h1 {
    font-size: clamp(0.85rem, 4.7vw, 2.45rem);
  }
  .hero h1 b {
    font-size: 1.15em
  }

  .join-button {
    font-size: clamp(1.6rem, 1.3rem + 0.7vw, 2rem);
    padding: 12px 18px;
    padding-bottom: 10px;
  }

  .timeline {
    --timeline-indent: 54px;
    --timeline-gap: 10px;
    --timeline-dot-left: -37px;
  }

  .timeline-item {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
    padding: 14px 16px;
  }

  .timeline-item::before {
    left: var(--timeline-dot-left);
  }

  .work-item,
  .work-item.right {
    justify-content: flex-start;
  }

  .work-item h3 {
    font-size: clamp(1.6rem, 1.3rem + 0.7vw, 2rem);
  }

  .work-item p,
  .site-footer p,
  .site-footer small {
    font-size: clamp(1.1rem, 1rem + 0.3vw, 1.37rem);
  }

  .site-footer small {
    font-size: clamp(0.85rem, 0.75rem + 0.2vw, 1rem);
    color: #9f9f9f;
  }
}

@media (max-width: 560px) {
  .hero-logo {
    width: 75%;
  }
}

/* @media (max-width: 555px) {
.hero-logo {
    width: 67%;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 1.14rem + 0.7vw, 1.75rem);
  }
  .hero h1 b {
    font-size: clamp(1.93rem, 1.49rem +  0.97vw, 2.63rem)
  }
}

@media (max-width: 490px) {
.hero-logo {
    width: 67%;
  }

  .hero h1 {
    font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  }
  .hero h1 b {
    font-size: clamp(1.7rem, 1.2rem +  0.85vw, 2.2rem)
  }
}

@media (max-width: 490px) {
.hero-logo {
    width: 70%;
  }

  .hero h1 {
    font-size: clamp(1rem, 0.88rem + 0.5vw, 1.25rem);
  }
  .hero h1 b {
    font-size: clamp(1.4rem, 1rem +  0.6vw, 1.8rem)
  }
}

@media (max-width: 360px) {
.hero-logo {
    width: 75%;
  }

  .hero h1 {
    font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1rem);
  }
  .hero h1 b {
    font-size: clamp(1.1rem, 0.65rem + 0.45vw, 1.4rem)
  }
} */
