/* ================ 홈 =================*/
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px;
  box-sizing: border-box;
  background-image: url("../images/home/main1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-right: clamp(32px, 9vw, 140px);
}

.hero-text h1 {
  margin: 0 0 22px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-title-line {
  display: block;
}

.hero-title-line:first-child {
  animation-delay: 0.35s;
}

.hero-title-line:last-child {
  animation-delay: 1.25s;
}

.hero-text p {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  animation-delay: 2.15s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  animation-delay: 2.15s;
}

.hero-title-line,
.hero-text p,
.hero-actions {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  animation-name: heroSequence;
  animation-duration: 1.85s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
}

.hero-btn {
  display: inline-block;
  padding: 11px 20px;
  background: #B22222;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background: #8f1b1b;
  transform: translateY(-2px);
}

.hero-btn-outline {
  background: transparent;
  border: 1px solid white;
}

.hero-btn-outline:hover {
  background: white;
  color: #B22222;
}

.home-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.home-mission .home-section-inner,
.home-approach .home-section-inner,
.home-activities .home-section-inner,
.home-feature .home-section-inner,
.home-recent .home-section-inner,
.home-join .home-section-inner {
  opacity: 1;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(76px) scale(0.96);
}

.scroll-reveal.from-left {
  transform: translateX(-86px) translateY(24px) scale(0.97);
}

.scroll-reveal.from-right {
  transform: translateX(86px) translateY(24px) scale(0.97);
}

.scroll-reveal.zoom-in {
  transform: translateY(36px) scale(0.9);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

.section-eyebrow {
  margin: 0 0 12px;
  color: #B22222;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-mission,
.home-activities,
.home-recent,
.home-join {
  padding: 92px 20px;
}

.home-mission,
.home-join {
  background: white;
}

.home-approach,
.home-recent {
  padding: 92px 20px;
  background: #f7f7f7;
}

.home-activities,
.home-feature {
  background: white;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 52px;
  align-items: center;
}

.mission-copy h2,
.home-activities h2,
.home-recent h2,
.home-join h2,
.section-heading h2,
.feature-copy h2 {
  margin: 0;
  color: #111;
  font-size: 34px;
  line-height: 1.35;
}

.mission-copy p:not(.section-eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: #444;
  font-size: 19px;
  line-height: 1.75;
}

.mission-note {
  padding: 34px;
  border-left: 4px solid #B22222;
  background: #f8f8f8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mission-note:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.mission-note strong,
.mission-note span {
  display: block;
}

.mission-note strong {
  color: #111;
  font-size: 26px;
  line-height: 1.25;
}

.mission-note span {
  margin-top: 16px;
  color: #555;
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 38px;
}

.approach-grid article {
  padding: 30px;
  background: white;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.approach-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(178, 34, 34, 0.25);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.approach-grid span {
  color: #B22222;
  font-size: 14px;
  font-weight: 700;
}

.approach-grid h3 {
  margin: 16px 0 12px;
  font-size: 24px;
}

.approach-grid p {
  margin: 0;
  color: #555;
  line-height: 1.65;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.text-link,
.work-card a,
.feature-link {
  color: #B22222;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-link:hover,
.work-card a:hover,
.feature-link:hover {
  text-decoration: underline;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.work-card,
.recent-card {
  overflow: hidden;
  background: white;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
}

.work-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.work-card img,
.recent-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.work-card div {
  padding: 24px;
}

.work-card h3,
.recent-card h3 {
  margin: 0;
  font-size: 22px;
}

.work-card p {
  min-height: 78px;
  margin: 12px 0 20px;
  color: #555;
  line-height: 1.6;
}

.home-feature {
  padding: 0 20px 92px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding-top: 92px;
  border-top: 1px solid #e4e4e4;
}

.feature-layout img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.feature-layout img:hover {
  transform: scale(1.02);
}

.feature-copy p:not(.section-eyebrow) {
  margin: 20px 0 24px;
  color: #444;
  font-size: 18px;
  line-height: 1.75;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.recent-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.recent-card span {
  display: block;
  margin: 22px 22px 8px;
  color: #B22222;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.recent-card h3 {
  padding: 0 22px;
  line-height: 1.4;
}

.recent-card p {
  margin: 12px 22px 24px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.join-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 52px;
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 58%, #f2f2f2 100%);
  border: 1px solid #ead8d8;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.join-inner::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  background: rgba(178, 34, 34, 0.11);
  border-radius: 50%;
}

.join-inner::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 72px;
  height: 6px;
  background: #B22222;
  border-radius: 999px;
}

.join-inner>* {
  position: relative;
  z-index: 1;
}

.home-join h2 {
  color: #111;
}

.home-join p:not(.section-eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: #555;
  line-height: 1.7;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.join-actions a {
  display: inline-block;
  padding: 12px 20px;
  background: #B22222;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.join-actions a:hover {
  transform: translateY(-2px);
  background: #8f1b1b;
}

.join-actions a:last-child {
  background: #111;
  color: white;
}

.join-actions a:last-child:hover {
  background: #333;
}

.scroll-reveal {
  transition:
    opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@keyframes heroSequence {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.98);
  }

  60% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .mission-layout,
  .feature-layout,
  .approach-grid,
  .work-grid,
  .recent-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .hero {
    justify-content: center;
  }

  .hero-text {
    margin-right: 0;
    padding: 0 24px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 17px;
  }

  .hero-actions,
  .join-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn,
  .join-actions a {
    text-align: center;
  }

  .home-mission,
  .home-approach,
  .home-activities,
  .home-recent,
  .home-join {
    padding: 70px 20px;
  }

  .home-feature {
    padding: 0 20px 70px;
  }

  .feature-layout {
    padding-top: 70px;
  }

  .mission-copy h2,
  .home-activities h2,
  .home-recent h2,
  .home-join h2,
  .section-heading h2,
  .feature-copy h2 {
    font-size: 28px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-layout img {
    height: 280px;
  }

  .join-inner {
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ============================================== */
