/**
 * site.css — 베이스에 없는 프로젝트 공통 보조 (푸터 크레딧 등)
 * layout/board/responsive 우회·오버라이드 금지 — 역할별 CSS 정본에 패턴 준수 추가
 */

/* Footer — Water Eyes plan2 (dark #242424) */
#footer.site-footer.plan2-footer {
  padding: 0 0 32px;
  background: #242424;
  color: rgba(255, 255, 255, 0.88);
  border-top: 0;
  text-align: left;
}

#footer.site-footer.plan2-footer .footer-shell {
  padding-top: 28px;
}

#footer.site-footer.plan2-footer .footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px 64px;
}

#footer.site-footer.plan2-footer .footer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

#footer.site-footer.plan2-footer .footer-brand {
  display: flex;
  align-items: center;
}


#footer.site-footer.plan2-footer .footer-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 28px 0 24px;
}

#footer.site-footer.plan2-footer .footer-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  margin: 0 0 18px;
}

#footer.site-footer.plan2-footer .footer-top-row .footer-brand {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

#footer.site-footer.plan2-footer .footer-body .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  max-width: 100%;
}

#footer.site-footer.plan2-footer .footer-body .footer-logo .brand-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 62px;
  aspect-ratio: 200/252;
}

#footer.site-footer.plan2-footer .footer-body .footer-logo .brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  justify-content: center;
  min-width: 0;
}

#footer.site-footer.plan2-footer .footer-body .footer-logo .brand-name {
  font-family: Pretendard, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
}

#footer.site-footer.plan2-footer .footer-body .footer-logo .brand-name-en {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}



#footer.site-footer.plan2-footer .footer-top-row .footer-policy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin: 0 0 0 auto;
  padding-top: 6px;
  flex: 0 0 auto;
}

#footer.site-footer.plan2-footer .footer-policy a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer.site-footer.plan2-footer .footer-policy a.footer-policy-privacy {
  font-weight: 700;
  color: #fff;
}

#footer.site-footer.plan2-footer .footer-policy a.is-unlinked {
  cursor: default;
}

#footer.site-footer.plan2-footer .footer-policy-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 12px;
  background: rgba(255, 255, 255, 0.22);
  vertical-align: middle;
}

#footer.site-footer.plan2-footer .footer-legal {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.62);
}

#footer.site-footer.plan2-footer .footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

#footer.site-footer.plan2-footer .footer-legal a:hover {
  color: #fff;
}

#footer.site-footer.plan2-footer .footer-vsep {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 12px;
  background: rgba(255, 255, 255, 0.22);
  vertical-align: middle;
}

#footer.site-footer.plan2-footer .copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.6;
}

#footer.site-footer.plan2-footer .copyright .design-credit {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}

#footer.site-footer.plan2-footer .copyright .design-credit:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  #footer.site-footer.plan2-footer .footer-shell {
    padding-top: 28px;
  }

  #footer.site-footer.plan2-footer .footer-main {
    flex-direction: column;
    gap: 28px;
  }

  #footer.site-footer.plan2-footer .footer-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
  }

  #footer.site-footer.plan2-footer .copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  #footer.site-footer.plan2-footer .footer-shell {
    padding-top: 36px;
  }

  #footer.site-footer.plan2-footer .footer-body {
    padding: 24px 0 20px;
  }

  #footer.site-footer.plan2-footer .footer-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 16px;
  }

  #footer.site-footer.plan2-footer .footer-top-row .footer-policy {
    justify-content: flex-end;
    padding-top: 0;
  }

  #footer.site-footer.plan2-footer .footer-body .footer-logo .brand-logo {
    height: 52px;
  }

  #footer.site-footer.plan2-footer .footer-body .footer-logo .brand-name {
    font-size: 23px;
  }

  #footer.site-footer.plan2-footer .footer-body .footer-logo .brand-name-en {
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }

  #footer.site-footer.plan2-footer .footer-legal {
    font-size: 15px;
    line-height: 1.85;
  }
}

/* 1차 시안 — 미제작 페이지 (클릭해도 이동 없음) */
#gnb a.is-unlinked,
.lnb a.is-unlinked,
.lnb-drop-menu a.is-unlinked,
.mobile-navigation a.is-unlinked { cursor: default; }

/* Floating quick menu — Water Eyes plan2 pattern (expand on hover) */
body.page-main {
  --main-hero-view: clamp(560px, 100svh, var(--main-hero-height));
}

/* 헤더 — 비주얼 위 투명 · 호버·GNB·스크롤 시 솔리드 */
#header.is-over-visual:not(.is-solid):not(.is-hover):not(.is-gnb-open) {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
#header.is-over-visual:not(.is-solid):not(.is-hover):not(.is-gnb-open) #gnb > ul > li > a {
  color: #fff;
}
#header.is-over-visual:not(.is-solid):not(.is-hover):not(.is-gnb-open) #gnb > ul > li.active > a {
  color: var(--color-primary);
}
#header.is-over-visual:not(.is-solid):not(.is-hover):not(.is-gnb-open) .sitelogo img {
  filter: none;
}
#header.is-over-visual:not(.is-solid):not(.is-hover):not(.is-gnb-open) .menu-button {
  color: #fff;
}
#header.is-over-visual #gnb > ul > li > a,
#header.is-over-visual .sitelogo img,
#header.is-over-visual .menu-button {
  transition: color 0.25s ease, filter 0.25s ease;
}

#header.is-over-visual.is-solid,
#header.is-over-visual.is-gnb-open {
  background: #fff;
  border-bottom-color: #ddd;
  box-shadow: none;
}
#header.is-over-visual.is-solid #gnb > ul > li > a,
#header.is-over-visual.is-gnb-open #gnb > ul > li > a {
  color: #242424;
}
#header.is-over-visual.is-solid #gnb > ul > li.active > a,
#header.is-over-visual.is-gnb-open #gnb > ul > li.active > a {
  color: var(--color-primary);
}
#header.is-over-visual.is-solid .sitelogo img,
#header.is-over-visual.is-gnb-open .sitelogo img {
  filter: none;
}
#header.is-over-visual.is-solid .menu-button,
#header.is-over-visual.is-gnb-open .menu-button {
  color: #242424;
}

@media (min-width: 1920px) {
  body.page-main {
    --main-hero-view: var(--main-hero-height);
  }
}

body.page-main .site-quick {
  top: calc(var(--header-height) + var(--main-hero-view) / 2);
}

.site-quick {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  --site-quick-size: 56px;
  --site-quick-expand: 148px;
}

.site-quick-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  width: var(--site-quick-size);
  pointer-events: auto;
  overflow: visible;
}

.site-quick-stack a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--site-quick-size);
  min-width: var(--site-quick-size);
  height: var(--site-quick-size);
  padding: 0;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: width 0.28s ease, min-width 0.28s ease, margin-left 0.28s ease, background 0.2s ease, color 0.2s ease, padding 0.28s ease, gap 0.28s ease, z-index 0.1s;
}

.site-quick-stack a:first-child {
  border-top: 0;
}

.site-quick-stack a:hover,
.site-quick-stack a:focus-visible {
  z-index: 3;
  width: var(--site-quick-expand);
  min-width: var(--site-quick-expand);
  margin-left: calc(var(--site-quick-size) - var(--site-quick-expand));
  justify-content: flex-start;
  padding: 0 10px 0 14px;
  gap: 10px;
  outline: none;
  background: var(--color-primary);
  color: #fff;
}

.site-quick-ico {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  display: block;
}

.site-quick-ico path,
.site-quick-ico circle {
  stroke-width: 1.85;
}

.site-quick-label {
  flex: 0 0 auto;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: max-width 0.28s ease, opacity 0.22s ease;
}

.site-quick-stack a:hover .site-quick-label,
.site-quick-stack a:focus-visible .site-quick-label {
  max-width: 108px;
  opacity: 1;
}

.site-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 44;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--color-primary, #e87722);
  color: #fff;
  border: 1px solid var(--color-primary, #e87722);
  box-shadow: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-scroll-top:hover,
.site-scroll-top:focus-visible {
  background: #c8651a;
  border-color: #c8651a;
  color: #fff;
  box-shadow: none;
  outline: none;
}

@media (max-width: 900px) {
  .site-quick {
    display: none;
  }
}
