@charset "utf-8";

/* --hc-th-row : WE LOVE 목록의 한 줄 높이. 목록의 최대 높이를 이 값으로 계산한다 */
.hc-th-page{--hc-th-gut:clamp(1.25rem,5vw,4rem);--hc-th-row:clamp(3.625rem,8vw,5.25rem);}
.hc-th-inner{width:100%;max-width:var(--hc-max);margin:0 auto;padding:0 var(--hc-gut);}
/* 목록 · 내용 · 매장 설명은 화면 가운데로 좁게 모은다 */
.hc-th-narrow{width:100%;max-width:84.375rem;margin:0 auto;padding:0 var(--hc-th-gut);}

/* =============================================================
   등장 애니메이션 (스크롤 진입)
   ============================================================= */
/* JS 가 준비되기 전에는 숨기지 않는다. 스크립트가 막히면 그대로 보이게 하는 방어 */
.hc-th-page.is-reveal-ready [data-reveal]{opacity:0;transform:translateY(1.25rem);transition:opacity .8s ease,transform .8s cubic-bezier(.22,.61,.36,1);}
.hc-th-page.is-reveal-ready [data-reveal].is-in{opacity:1;transform:none;}

/* =============================================================
   hero
   ============================================================= */
.hc-th-hero{position:relative;aspect-ratio:1440 / 370;overflow:hidden;background:#9a9a9a;}
.hc-th-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}

/* =============================================================
   title band
   ============================================================= */
/* 타이틀 위아래 간격은 interview.css .hc-iv-band 와 같은 방식 · 같은 값 : 띠 위아래 1.25rem(설명글 최소 여백) + 제목 칸 위아래 나머지 */
.hc-th-band{--hc-band-gap:clamp(2.5rem,4.45vw,4rem);background:var(--hc-maroon);color:#e7e4de;}
/* 두 칸을 같은 폭으로 나눠 오른쪽 글이 페이지 가운데에서 시작하게 한다 (좌우 여백이 같아 두 칸의 경계가 화면 중심) */
.hc-th-band__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:0;row-gap:1rem;padding-top:1.25rem;padding-bottom:1.25rem;}
.hc-th-band__head{padding:calc(var(--hc-band-gap) - 1.25rem) 0 calc(var(--hc-band-gap) - 1.25rem) clamp(0px,5.5vw,4.9375rem);}
.hc-th-band__eyebrow{font-size:0.9375rem;line-height:1.4;}
.hc-th-band__title{margin-top:0.375rem;font-family:var(--hc-serif);font-weight:400;font-size:clamp(1.5rem,3vw,2.75rem);line-height:1.1;letter-spacing:-.01em;}
.hc-th-band__desc{font-size:clamp(1rem,1.25vw,1.125rem);line-height:1.7;word-break:keep-all;}

/* =============================================================
   WE LOVE : 목록
   ============================================================= */
.hc-th-love{padding-top:clamp(3rem,5.5vw,5rem);}
.hc-th-love__title{font-family:var(--hc-serif);font-weight:500;font-size:clamp(1.25rem,1.9vw,1.625rem);letter-spacing:.02em;line-height:1.2;color:var(--hc-maroon);padding-bottom:clamp(0.625rem,1.2vw,1rem);border-bottom:1px solid var(--hc-line);}

.hc-th-love__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:calc(var(--hc-th-row) * 4.5);overflow-y:auto;padding-right:clamp(0.75rem,1.4vw,1.25rem); border-bottom: 1px solid var(--hc-line);}
/* 스크롤바 : 화살표 없는 각진 막대. 진한 자주색 손잡이가 옅은 자주색 길을 꽉 채운다.
 * 크롬은 scrollbar-width · scrollbar-color 가 있으면 아래 ::-webkit-scrollbar 를 무시하므로,
 * 그 두 속성은 ::-webkit-scrollbar 를 모르는 브라우저(파이어폭스)에만 준다 */
.hc-th-love__list::-webkit-scrollbar{width:0.35rem;height:0.35rem;}
.hc-th-love__list::-webkit-scrollbar-button{display:none;}
.hc-th-love__list::-webkit-scrollbar-track{background:rgba(119,49,62,.2);}
.hc-th-love__list::-webkit-scrollbar-thumb{background:var(--hc-maroon);border-radius:0;}
@supports not selector(::-webkit-scrollbar){
	.hc-th-love__list{scrollbar-width:thin;scrollbar-color:var(--hc-maroon) rgba(119,49,62,.2);}
}

.hc-th-love__item{display:flex;align-items:center;gap:clamp(1em,3vw,1.5em);width:100%;min-height:var(--hc-th-row);padding:1.5em clamp(0.5rem,1vw,0.875rem);border-bottom:1px solid rgba(119,49,62,.25);text-align:left;transition:background-color .3s ease;}
.hc-th-love__item:hover{background:rgba(119,49,62,.06);}
.hc-th-love__num{flex:0 0 auto;font-family:var(--hc-serif);font-size:1.625rem;letter-spacing:.04em;color:#afa9a2;transition:color .3s ease;}
.hc-th-love__key{font-size:clamp(1rem,2vw,1.125rem);letter-spacing:-.02em;line-height:1.4;color:var(--hc-mute);word-break:keep-all;transition:color .3s ease;}
.hc-th-love__item:hover .hc-th-love__num,
.hc-th-love__item:hover .hc-th-love__key{color:var(--hc-maroon);}
.hc-th-love__item.is-active .hc-th-love__num{color:var(--hc-maroon);}
.hc-th-love__item.is-active .hc-th-love__key{font-weight: 600}
/* 마우스오버 : 영문 키워드(.hc-th-love__en)가 위로 빠지며 사라지고, 한글 문장(.hc-th-love__q)이 아래에서 올라오며 나타난다.
 * 문장은 키워드 자리 위에 겹쳐(absolute) 세로 가운데에 놓으므로, 두 줄이 되어도 줄 높이는 그대로다.
 * 터치 기기는 탭한 뒤 hover 가 남아 있어 키워드가 안 보이게 되므로 마우스가 있는 기기에서만 바꾼다 */
.hc-th-love__key{position:relative;flex:1 1 auto;min-width:0;}
.hc-th-love__en{display:block;transition:opacity .35s ease,transform .45s cubic-bezier(.22,.61,.36,1);}
.hc-th-love__q{position:absolute;left:0;right:0;top:50%;font-size:clamp(0.875rem,1.4vw,1rem);font-weight:600;line-height:1.45;letter-spacing:-.02em;color:var(--hc-maroon);
	opacity:0;transform:translateY(calc(-50% + 0.625rem));pointer-events:none;transition:opacity .35s ease,transform .45s cubic-bezier(.22,.61,.36,1);}
@media (hover:hover){
	.hc-th-love__item:hover .hc-th-love__q{opacity:1;transform:translateY(-50%);transition-delay:.06s;}
	.hc-th-love__item:hover .hc-th-love__en:not(:only-child){opacity:0;transform:translateY(-0.625rem);}
}
@media (prefers-reduced-motion:reduce){
	.hc-th-love__en,.hc-th-love__q{transition:opacity .2s linear;}
	.hc-th-love__q{transform:translateY(-50%);}
	.hc-th-love__item:hover .hc-th-love__en:not(:only-child){transform:none;}
}
/* 맨 아랫줄 항목은 밑줄을 빼서 목록 전체의 밑줄과 겹치지 않게 한다.
   PC 3열 : 항목 수가 열 수의 배수가 아니어도(예 : 20개 3열 → 마지막 줄 2개) 마지막 줄만 고른다
   태블릿(769~1024px) : 5개씩 세로로 쌓은 묶음을 가로로 넘기므로 묶음마다 다섯째 항목
   모바일 : 1열이므로 마지막 항목 */
@media (min-width:1025px){
  .hc-th-love__item:nth-child(3n+1):nth-last-child(-n+3),
  .hc-th-love__item:nth-child(3n+1):nth-last-child(-n+3) ~ .hc-th-love__item{border-bottom:0;}
}
@media (min-width:769px) and (max-width:1024px){
  .hc-th-love__item:nth-child(5n){border-bottom:0;}
}
@media (max-width:768px){
	.hc-th-love__item:last-child{border-bottom:0;}
}

/* =============================================================
   WE LOVE : 목록 아래에 열리는 내용
   ============================================================= */
.hc-th-detail{padding-top:clamp(2.25rem,10vw,7.25rem);}
/* scroll-margin-top : 메인에서 항목을 눌러 들어오면 이 위치로 바로 스크롤되므로 상단 메뉴에 가리지 않게 띄운다 */
.hc-th-detail__item{display:none;scroll-margin-top:calc(var(--hc-header-h,3.875rem) + 2rem);}
/* 목록에서 항목을 고를 때마다 아래에서 올라오며 나타난다 */
.hc-th-detail__item.is-active{display:grid;grid-template-columns:minmax(0,22%) minmax(0,1fr);column-gap:clamp(1.25rem,3vw,2.75rem);animation:hcThDetailIn .55s cubic-bezier(.22,.61,.36,1) both;}
@keyframes hcThDetailIn{
	from{opacity:0;transform:translateY(1rem);}
	to{opacity:1;transform:none;}
}

.hc-th-detail__num{font-family:var(--hc-serif);font-size:1.75rem;letter-spacing:-.02em;line-height:1.2;color:var(--hc-maroon);}
.hc-th-detail__eyebrow{font-family:var(--hc-serif);margin-top:2px;font-size:clamp(1.25rem,2.4vw,1.5rem);letter-spacing:-.02em;line-height:1.4;color:var(--hc-maroon);}
.hc-th-detail__key{margin-top:2px;font-family:var(--hc-serif);font-weight:600;font-size:clamp(1.25rem,3vw,2.125rem);letter-spacing:-.01em;line-height:1.2;color:var(--hc-maroon);}
.hc-th-detail__kor{max-width: 92%;margin-top: 0.875em;font-size:clamp(1.0625rem,3vw,1.1875rem);line-height:1.45;color:var(--hc-maroon);word-break:keep-all;letter-spacing:-.01em;font-weight:500;}

.hc-th-detail__body{font-size:clamp(1rem,2vw,1.125rem);line-height:1.9;color:var(--hc-ink);word-break:keep-all;}
.hc-th-detail__para + .hc-th-detail__para {
  margin-top: 0.75em;
}


/* =============================================================
   매장 갤러리 : 한 장 = 매장 사진 한 장 (열려 있는 WE LOVE 항목의 매장 사진 전체)
   ============================================================= */
.hc-th-store{padding:clamp(3.5rem,6.5vw,6rem) 0;}

/* 매장 슬라이드 : 가운데 정렬 + 양옆 미리보기.
   가운데 카드를 확대해도 잘리지 않도록 위아래 여백을 둔다
   --hc-th-gal-s : 양옆 카드 배율 / --hc-th-gal-m : 가운데 카드 배율 */
.hc-th-gal{--hc-th-gal-s:.94;--hc-th-gal-m:1.06;padding:clamp(0.875rem,2.2vw,2rem) 0;transition:opacity .3s ease;}
/* WE LOVE 항목을 바꾸면 잠깐 감췄다가 그 항목의 매장 사진으로 바꿔 채우고 다시 보인다 */
.hc-th-gal.is-swapping{opacity:0;pointer-events:none;}
/* 양옆 사진은 눌러서 가운데로 가져온다 */
.hc-th-gal .swiper-slide{width:clamp(10rem,26vw,26.25rem);cursor:pointer;}
.hc-th-gal .swiper-slide-active{z-index:2;}
/* 가운데 카드만 키우면 바로 옆 틈이 다른 틈보다 좁아진다.
   커진 만큼((m - s) / 2) 앞쪽 카드는 왼쪽으로, 뒤쪽 카드는 오른쪽으로 밀어서 모든 틈을 (1 - s) 로 맞춘다.
   기본값은 앞쪽(왼쪽) 카드, 가운데 카드 뒤에 오는 형제가 뒤쪽(오른쪽) 카드다 */
.hc-th-gal__fig{position:relative;aspect-ratio:3 / 4;overflow:hidden;background:var(--hc-tile);transform:translateX(calc((var(--hc-th-gal-s) - var(--hc-th-gal-m)) / 2 * 100%)) scale(var(--hc-th-gal-s));transform-origin:center;opacity:.45;transition:transform .6s cubic-bezier(.22,.61,.36,1),opacity .6s ease;border-radius: 0.75rem; overflow: hidden;}
.hc-th-gal .swiper-slide-active .hc-th-gal__fig{opacity:1;transform:translateX(0) scale(var(--hc-th-gal-m));}
.hc-th-gal .swiper-slide-active ~ .swiper-slide .hc-th-gal__fig{transform:translateX(calc((var(--hc-th-gal-m) - var(--hc-th-gal-s)) / 2 * 100%)) scale(var(--hc-th-gal-s));}
/* 가운데 사진을 누르면 그 사진부터 크게 보기(#hcStoreViewer)가 열린다 */
.hc-th-gal__link{display:block;width:100%;height:100%;}
.hc-th-gal .swiper-slide-active .hc-th-gal__link{cursor:zoom-in;}
/* 카드가 overflow:hidden 이라 바깥 초점선이 잘리므로 안쪽에 그린다 */
.hc-th-gal .hc-th-gal__link:focus-visible{outline:2px solid #fff;outline-offset:-0.375rem;}
.hc-th-gal__fig img{width:100%;height:100%;object-fit:cover;}
/* 캡션을 눌러도 아래 이미지가 눌리도록 클릭을 통과시킨다 */
.hc-th-gal__cap{position:absolute;left:0;right:0;bottom:0;padding:2.5em 1em .75em;background:linear-gradient(0, rgba(34, 24, 21, 1) 8%, rgba(34, 24, 21, 0) 100%);color:#fff;font-size:clamp(0.6875rem,0.95vw,0.875rem);line-height:1.4;text-align:center;word-break:keep-all;opacity:0;pointer-events:none;transition:opacity .5s ease; text-align: right;}
.hc-th-gal .swiper-slide-active .hc-th-gal__cap{opacity:1;}

/* 매장 이름 · 화살표 */
.hc-th-store__nav{display:flex;align-items:center;justify-content:center;gap:clamp(1rem,2.6vw,2.25rem);margin-top:clamp(1.25rem,2.6vw,2.25rem);}
.hc-th-store__nav .hc-arrow{width:1.625rem;height:1.625rem;}
.hc-th-store__nav .hc-arrow svg{width:0.4375rem;height:0.8125rem;}
/* 이름은 한 칸에 겹쳐 두고 서로 교차 페이드시킨다 (칸 폭이 흔들리지 않는다) */
.hc-th-store__names{display:grid;min-width:clamp(4.5rem,9vw,8rem);text-align:center;}
.hc-th-store__name{grid-area:1 / 1;font-size:clamp(0.9375rem,1.3vw,1.125rem);line-height:1.4;color:var(--hc-maroon);opacity:0;visibility:hidden;transform:translateY(0.375rem);transition:opacity .45s ease,transform .45s ease,visibility 0s linear .45s;}
.hc-th-store__name.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .45s ease,visibility 0s;}

/* 매장 설명도 같은 방식으로 겹쳐 둔다 */
.hc-th-store__texts{display:grid;margin-top:clamp(1.125rem,2.2vw,2rem);}
.hc-th-store__desc{grid-area:1 / 1;font-size:clamp(0.875rem,2vw,1rem);line-height:1.9;color:var(--hc-mute);text-align:center;word-break:keep-all;opacity:0;visibility:hidden;transform:translateY(0.5rem);transition:opacity .5s ease,transform .5s ease,visibility 0s linear .5s;}
.hc-th-store__desc.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .5s ease,transform .5s ease,visibility 0s;}

/* =============================================================
   매장 사진 크게 보기 : 가운데 매장 사진을 누르면 열린다
   공용 라이트박스(components/lightbox.php)와 같은 바탕색 · 버튼 모양에, 사진은 Swiper 로 넘긴다
   ============================================================= */
.hc-th-viewer{position:fixed;inset:0;z-index:200;display:none;padding:4rem 4.75rem 2.25rem;}
.hc-th-viewer.is-open{display:flex;}
.hc-th-viewer:focus{outline:none;}
.hc-th-viewer__dim{position:absolute;inset:0;background:#34312cc7;}
/* 무대(swiper)는 위아래 여백을 뺀 높이를 다 쓰고, 사진은 그 가운데에 둔다 */
.hc-th-viewer__swiper{width:100%;}
.hc-th-viewer__swiper .swiper-slide{display:flex;align-items:center;justify-content:center;}
.hc-th-viewer__fig{display:flex;flex-direction:column;align-items:center;max-width:100%;}
/* 원본 크기로 두되 화면 밖으로 나가지 않게 줄인다. 아래 캡션 자리를 남긴다 */
.hc-th-viewer__img{width:auto;height:auto;max-width:100%;max-height:calc(100vh - 10rem);max-height:calc(100dvh - 10rem);}
.hc-th-viewer__cap{margin-top:1.125rem;font-size:1rem;line-height:1.5;color:#fff;text-align:center;word-break:keep-all; text-shadow: 0 0 1em black;}

/* 왼쪽 위는 어두운 바탕 너머로 머리글 로고가 비쳐 겹치므로 가운데 위에 둔다 */
.hc-th-viewer__count{position:absolute;top:1.5rem;left:50%;transform:translateX(-50%);z-index:2;font-size:0.875rem;letter-spacing:.08em;color:rgba(255,255,255,.75);}
.hc-th-viewer__close,
.hc-th-viewer__nav{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.75);transition:color .2s ease;}
.hc-th-viewer__close:hover,
.hc-th-viewer__nav:hover{color:#fff;}
.hc-th-viewer__close{top:0.875rem;right:1.125rem;width:2.5rem;height:2.5rem;color:#fff;}
.hc-th-viewer__close svg{width:1.125rem;height:1.125rem;}
.hc-th-viewer__nav{top:50%;width:2.75rem;height:3.5rem;margin-top:-1.75rem;}
.hc-th-viewer__nav svg{width:0.6875rem;height:1.25rem;}
.hc-th-viewer__nav--prev{left:1rem;}
.hc-th-viewer__nav--next{right:1rem;}
/* 어두운 바탕 위라 기본 초점선(브랜드 색)이 묻히므로 흰색으로 */
.hc-th-viewer button:focus-visible{outline-color:#fff;}
/* 사진이 한 장뿐이면 넘길 것이 없으므로 감춘다 */
.hc-th-viewer.is-single .hc-th-viewer__count,
.hc-th-viewer.is-single .hc-th-viewer__nav{display:none;}

/* =============================================================
   responsive
   ============================================================= */
@media (max-width:1024px){
  .hc-th-detail__item.is-active{grid-template-columns:1fr;row-gap:1.125rem;}
}

/* 태블릿 : 5개씩 세로로 쌓은 묶음을 가로로 넘긴다 */
@media (min-width:769px) and (max-width:1024px){
	.hc-th-love__list{grid-template-columns:none;grid-template-rows:repeat(5,auto);grid-auto-flow:column;grid-auto-columns:46%;max-height:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-right:0;}
  .hc-th-love__item{scroll-snap-align:start;}
}

@media (max-width:768px){
	.hc-th-page{--hc-th-row:3.625rem;}
	.hc-th-hero{aspect-ratio:718 / 300;}

	/* 상단 띠 좌우 여백 1.25rem — 서브 페이지 띠 모두 같은 값 (interview.css · moments.css · archive.css) */
	.hc-th-band__inner{grid-template-columns:1fr;align-items:start;row-gap:1.125rem;padding:2.5rem 1.25rem;}
	.hc-th-band__head{padding:0;}
	.hc-th-band__desc{font-size:0.875rem;line-height:1.6;}

	.hc-th-love{padding-top:3rem;}
	/* 1열로 5개씩 보이고, 나머지는 목록을 위아래로 스크롤해 본다. 목록 끝에 닿으면 이어서 페이지가 스크롤된다.
	   항목 높이가 정확히 --hc-th-row 가 되도록 번호 줄높이를 1 로 두고, 목록 밑줄 1px 만큼 높이를 더한다 */
	.hc-th-love__list{grid-template-columns:1fr;max-height:calc(var(--hc-th-row) * 5 + 1px);}
	.hc-th-love__item{padding: 0.5em 0.875em;}
	.hc-th-love__num{line-height:1;}

	.hc-th-detail{padding: 4.5rem 0.875rem 1rem;}
	.hc-th-detail__body{line-height: 1.7}
	.hc-th-detail__key{margin-top:0.25rem;}

	/* 이미지는 화면 폭에 맞춰 키운다 */
	/* 가운데 카드가 위아래로 약 5.6vw 씩 커지므로 여백을 그보다 넉넉히 둔다 */
	.hc-th-gal{--hc-th-gal-s:.96;--hc-th-gal-m:1.144;padding:6.4vw 0;}
	.hc-th-gal .swiper-slide{width:58vw;}

	/* 크게 보기 : 화면 폭을 다 쓰고, 화살표는 반투명 원 배경을 깔아 사진 위 양끝에 올린다 (공용 라이트박스 · special.css 팝업 화살표와 같은 모양) */
	.hc-th-viewer{padding:3.5rem 0 1.75rem;}
	.hc-th-viewer__swiper .swiper-slide{padding:0 1rem;}
	.hc-th-viewer__img{max-height:calc(100vh - 8.75rem);max-height:calc(100dvh - 8.75rem);}
	.hc-th-viewer__cap{margin-top:0.875rem;font-size:0.875rem;}
	.hc-th-viewer__count{top:1.25rem;}
	.hc-th-viewer__close{top:0.5rem;right:0.5rem;}
	.hc-th-viewer__nav{width:2rem;height:2rem;margin-top:-1rem;border-radius:50%;background:rgba(34,24,21,.3);color:#fff;}
	.hc-th-viewer__nav svg{width:0.5rem;height:0.9375rem;}
	.hc-th-viewer__nav--prev{left:1.625rem;}
	.hc-th-viewer__nav--next{right:1.625rem;}

	.hc-th-store{padding:2.25rem 0 0;}
	.hc-th-store__nav{gap:0.875rem;}
	.hc-th-store__desc {line-height: 1.7;}

	/* 위로 가기(#hcTop · components/top_button.php) : 화면에 떠 있지 않고 매장 갤러리 아래 오른쪽에 놓인다 (moments.php 와 같은 모양).
	   갤러리와의 간격은 80px, 푸터와의 간격은 원래 갤러리 아래 여백(56px)을 그대로 쓴다 */
	.hc-th-topwrap{padding-bottom:3.5rem;}
	.hc-th-page .hc-th-topwrap .hc-top{position:relative;inset:auto;z-index:auto;display:flex;align-items:center;width:-moz-fit-content;width:fit-content;height:2rem;margin:5rem 0 0 auto;padding:0 0.875rem 0 1rem;border:1px solid rgba(119,49,62,.55);border-radius:999px;background:transparent;box-shadow:none;color:var(--hc-maroon);opacity:1;visibility:visible;transform:none;transition:background-color .2s ease;}
	.hc-th-page .hc-th-topwrap .hc-top:hover{box-shadow:none;}
	.hc-th-page .hc-th-topwrap .hc-top svg{display:none;}
	/* 'TOP' 글자와 위쪽 꺾쇠. 화면 낭독기는 버튼의 aria-label('페이지 상단으로 이동')을 읽는다 */
	.hc-th-page .hc-th-topwrap .hc-top::after{content:"TOP";padding-right:1.25rem;font-size:0.9375rem;line-height:1;letter-spacing:.02em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 6l5-5 5 5' stroke='%2377313E' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 0.75rem 0.4375rem;}
}


@media (max-width:1024px){
	.hc-th-detail__head{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:0.375em;}

	.hc-th-detail__num,
	.hc-th-detail__kor{flex-basis:100%;}

	.hc-th-detail__kor{ margin-top:0; line-height: 1.8; font-weight: 500;}

	.hc-th-detail__eyebrow,
	.hc-th-detail__key{margin-top:0;}
}