@charset "utf-8";

:root {
  --white: #ffffff;
  --off-white: #f5f3ef;
  --cream: #ede9e2;
  --warm-tan: #c4a882;
  --warm-brown: #8b6f4e;
  --dark-brown: #3d2e1e;
  --dark: #1a1a1a;
  --mid-gray: #888;
  --nav-h: 99px;
}

html {
  scroll-behavior: smooth;
}

/* body{overflow-x:hidden;cursor:none} */

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--dark);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  mix-blend-mode: difference;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(16px);
  z-index: 9999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  display: flex;
  line-height: 1;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.logo img {
  width: 166px;
}

.logo-main {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--dark);
  text-transform: uppercase;
}

.logo-sub {
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--mid-gray);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 73px;
  list-style: none;
}

.nav-links a {
  font-family: "Mangro" !important;
  color: #625656;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  font-family: Aboreto;
}

/* .nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--dark);transition:width .3s ease}
.nav-links a:hover::after{width:100%} */
.nav-right {
  display: flex;
  align-items: center;
  gap: 33px;
  position: relative;
  z-index: 2;
}

.nav-right a {
  font-size: 18px;
  color: #625656;
  font-family: "Mangro" !important;
  font-weight: 400;
}

.lang-btn {
  display: flex;
  align-items: center;
  font-family: "Mangro" !important;
  gap: 10px;
  background: #fff;
  border-radius: 100px;
  border: 1px solid #fff;
  color: #625656;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.75px;
  padding: 0 20px;
  height: 37px;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.lang-btn:hover {
  background: var(--dark);
  color: #fff;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: none;
  border: none;
  padding: 0;
}

.menu-label {
  color: rgba(23, 23, 23, 0.8);
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.75px;
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-line {
  display: block;
  height: 1px;
  background: var(--dark);
  transition: width 0.25s;
}

.menu-line:nth-child(1) {
  width: 54px;
}

.menu-line:nth-child(2) {
  width: 54px;
}

.menu-btn:hover .menu-line:nth-child(2) {
  width: 54px;
}

.menu-btn.m_cont_768 {
  display: none;
}

.lang-wrap {
  position: relative;
  display: inline-block;
}

.lang-btn svg {
  margin-top: 2px;
}

.lang-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.lang-wrap:hover .lang-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 37px;
  border-radius: 22px;
  background: #a28a85;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}

.lang-list li a:hover {
  background: #6e615e;
}

/** 메인일 경우 */
nav.main {
  background: transparent;
  border-bottom: 0;
}
nav.main .logo img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%)
    hue-rotate(152deg) brightness(102%) contrast(101%);
}
nav.main .nav-links > li > a {
  color: #fff;
}
nav.main .nav-right a {
  color: #fff;
}
nav.main .lang-btn {
  color: #fff;
  background: transparent;
  border: 0;
}
nav.main .lang-btn svg {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%)
    hue-rotate(152deg) brightness(102%) contrast(101%);
}
nav.main .menu-line {
  background: #fff;
}
nav.main + .mob-nav .mob-nav__head {
  background: #1c1615;
}
@media (max-width: 1280px) {
  /* ── NAV ── */
  nav {
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    align-items: center;
    justify-padding: 0 3.75vw;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(1.25vw);
    border-bottom: 0.0781vw solid rgba(0, 0, 0, 0.06);
  }

  .logo {
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    width: 12.7344vw;
  }

  .logo-main {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7188vw;
    letter-spacing: 0.2em;
    color: var(--dark);
    text-transform: uppercase;
  }

  .logo-sub {
    font-size: 0.7031vw;
    letter-spacing: 0.35em;
    color: var(--mid-gray);
    text-transform: uppercase;
    margin-top: 0.2344vw;
  }

  .nav-links {
    gap: 5.7031vw;
    list-style: none;
  }

  .nav-links a {
    font-size: 1.25vw;
    font-style: normal;
    line-height: normal;
  }

  .nav-links a::after {
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.0781vw;
    background: var(--dark);
    transition: width 0.3s ease;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-right {
    align-items: center;
    gap: 2.5781vw;
  }

  .lang-btn {
    align-items: center;
    gap: 1.4844vw;
    background: #fff;
    border-radius: 7.8125vw;
    color: rgba(23, 23, 23, 0.8);
    font-size: 1.1719vw;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.0586vw;
    padding: 0 1.5625vw;
    height: 2.8906vw;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }

  .lang-btn:hover {
    background: var(--dark);
    color: #fff;
  }

  .menu-btn {
    align-items: center;
    gap: 1.1719vw;
    background: none;
    border: none;
    padding: 0;
  }

  .menu-label {
    color: rgba(23, 23, 23, 0.8);
    font-size: 1.1719vw;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.0586vw;
  }

  .menu-lines {
    flex-direction: column;
    gap: 1.0938vw;
  }

  .menu-line {
    height: 0.3781vw;
    background: var(--dark);
    transition: width 0.25s;
  }

  .menu-line:nth-child(1) {
    width: 4.2188vw;
  }

  .menu-line:nth-child(2) {
    width: 4.2188vw;
  }

  .menu-btn:hover .menu-line:nth-child(2) {
    width: 4.2188vw;
  }
}

@media screen and (min-width: 768px) {
  .nav-links:before{
    content: "";
    width: 100%;
    height: 1px;
    transition: height .2s;
    overflow: hidden;
    background: #D7CDCD;
    position: fixed;
    left: 0;
    top: 84px;
  }
  .main .nav-links:before{
    height: 85px;
    background: transparent;
    top: 0;
    backdrop-filter: blur(16px);
  }
  .main .nav-links > li > a::after{
    background: #A29797;
  }
  .main .sub-menu li a{
    color: #A29797;
    font-weight: 400;
  }
  .main .sub-menu li a:hover{
    color: #fff;
    font-weight: 500;
  }
  .nav-links:hover:before{
    height: 170px;
    background: #fff;
    top: 80px
  }
  nav.main{
    backdrop-filter: initial;
  }
  .main .nav-links:hover:before{
    background: transparent;
    height: 250px;
    top: 0;
  }
  .nav-links:hover .sub-menu {
    transform: translateX(0) translateY(20px);
  }
  .nav-links:hover .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  .nav-links > li > a,
  .sub-menu li a {
    display: block;
    text-decoration: none;
  }

  .nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .nav-links > li > a {
    font-size: 22px;
    font-weight: 400;
    color: #625656;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
  }

  .nav-links > li > a::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #9f8782;
    transition: 0.3s;
    transform: translateX(-50%);
  }

  .nav-links > li:hover > a {
    color: #625656;
  }

  .nav-links > li:hover > a::after {
    width: 20px;
  }

  .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 200px;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 0 0 0 -100px;
    z-index: 10;
  }



  .nav-links > li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: block;
  }

  .sub-menu li {
    padding: 0;
  }

  .sub-menu li a {
    padding: 4px 25px;
    font-size: 18px;
    color: #B8A6A6;
    white-space: nowrap;
    transition: 0.2s;
    text-align: center;
    font-weight: 400;
  }

  .sub-menu li a:hover {
    font-weight: 500;
    color: #625656;
  }
}

@media (max-width: 768px) {
  .menu-btn.m_cont_768 {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .menu-label {
    display: none;
  }

  /* nav 높이/패딩 조정 */
  nav {
    height: 60px;
    padding: 0 20px;
  }

  /* 햄버거 라인 모바일 사이즈 */
  .menu-lines {
    gap: 6px;
  }

  .menu-line:nth-child(1) {
    width: 24px;
  }

  .menu-line:nth-child(2) {
    width: 24px;
  }

  /* 열렸을 때 X 변환 */
  .menu-btn.is-open .menu-line:nth-child(1) {
    width: 24px;
    transform: translateY(7px) rotate(45deg);
  }

  .menu-btn.is-open .menu-line:nth-child(2) {
    width: 24px;
    transform: translateY(0px) rotate(-45deg);
  }

  .menu-btn.is-open .menu-line:nth-child(3) {
    display: none;
  }

  .menu-line {
    transition:
      transform 0.35s ease,
      opacity 0.3s ease,
      width 0.3s ease;
  }

  /* ── 모바일 메뉴 패널 ── */
  .mob-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f2ec;
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .mob-nav.is-open {
    transform: translateX(0);
  }

  /* 패널 상단 */
  .mob-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    flex-direction: row-reverse;
    border-bottom: 1px solid #e8e3dc;
    flex-shrink: 0;
  }

  .mob-nav__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
  }

  .mob-nav__close svg {
    width: 18px;
    height: 18px;
  }

  .mob-nav__auth {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px;
    color: #7a6a62;
    letter-spacing: 0.02em;
  }

  .mob-nav__auth a {
    color: #7a6a62;
    text-decoration: none;
  }

  .mob-nav__auth span {
    margin: 0 8px;
    color: #ccc;
  }

  /* GNB */
  .mob-gnb {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mob-gnb__item {
    border-bottom: 1px solid #e8e3dc;
  }

  .mob-gnb__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #9f8782;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .mob-gnb__arrow {
    flex-shrink: 0;
    color: #9a8880;
    transition: transform 0.3s ease;
  }

  .mob-gnb__arrow svg {
    width: 14px;
    height: 14px;
    display: block;
  }

  .mob-gnb__item.is-open .mob-gnb__arrow {
    transform: rotate(180deg);
  }

  /* 서브메뉴 */
  .mob-gnb__sub {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #edeae4;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mob-gnb__item.is-open .mob-gnb__sub {
    max-height: 600px;
  }

  .mob-gnb__sub-link {
    display: block;
    padding: 14px 24px 14px 36px;
    font-size: 14px;
    font-weight: 300;
    color: #9f8782 !important;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-bottom: 1px solid #e0dbd4;
    font-weight: 600;
  }

  .mob-gnb__sub li:last-child .mob-gnb__sub-link {
    border-bottom: none;
  }

  .lang-btn {
    font-size: 2.1719vw;
    padding: 0 2.5625vw;
    height: 4.8906vw;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 25vw;
  }

  .lang-btn {
    font-size: 3.1719vw;
    height: 6.8906vw;
    padding: 0 3.5625vw;
  }

  .lang-list li a {
    font-size: 3.1719vw;
    height: 6.8906vw;
    width: 100%;
  }
}

@media (min-width: 769px) {
  .mob-nav {
    display: none !important;
  }
}
