@charset "utf-8";

.hc-ap-inner{width:100%;max-width: var(--hc-max);margin:0 auto;padding:0 clamp(1.25rem,3.2vw,2.875rem);}

/* 이미지 위에 올라가는 + 표시 (마우스 오버) */
.hc-ap-plus{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(34,24,21,.5);color:#fff;opacity:0;pointer-events:none;transition:opacity .25s ease;}
.hc-ap-plus svg{width:2.75rem;height:2.75rem;}

/* =============================================================
   hero
   ============================================================= */
.hc-ap-hero{position:relative;aspect-ratio:1440 / 372;overflow:hidden;background:#9a9a9a;}
.hc-ap-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hc-ap-hero__badge{position:absolute;top:50%;right:3.6%;width:clamp(6.875rem,14.4%,13.75rem);transform:translateY(-50%);}
.hc-ap-hero__badge img{width:100%;height:auto;}

/* =============================================================
   title band
   ============================================================= */
.hc-ap-band{background:var(--hc-maroon);color:#e7e4de;}
.hc-ap-band__inner{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;column-gap:clamp(2.5rem,8.2vw,7.375rem);row-gap:1rem;padding-top:clamp(2.5rem,3.8vw,3.375rem);padding-bottom:clamp(2.5rem,4.2vw,3.75rem);}
.hc-ap-band__head{padding-left:clamp(0px,5.5vw,4.9375rem);}
.hc-ap-band__eyebrow{font-size:0.9375rem;line-height:1.4;}
.hc-ap-band__title{margin-top:0.375rem;font-family:var(--hc-serif);font-weight:400;font-size:clamp(2rem,3.05vw,2.75rem);line-height:1.1;letter-spacing:-.01em;}
.hc-ap-band__desc{font-size:clamp(1rem,1.25vw,1.125rem);line-height:1.7;word-break:keep-all;}

/* =============================================================
   section 공통 : 왼쪽 제목 / 오른쪽 콘텐츠
   ============================================================= */
.hc-ap-sec__grid{display:grid;grid-template-columns:minmax(0,27%) minmax(0,1fr);gap:2rem 0;padding:clamp(3.5rem,6vw,5.5rem) 0;}
.hc-ap-sec + .hc-ap-sec .hc-ap-sec__grid{border-top:1px solid var(--hc-line);}
.hc-ap-head{padding:clamp(0px,2.8vw,2.5rem) 0 0 clamp(0px,5.5vw,4.9375rem);}
.hc-ap-head
.hc-ap-head__eyebrow{font-size:clamp(1rem,3vw,1.25rem);font-family: var(--hc-serif);line-height:1.4;color:var(--hc-maroon);}
.hc-ap-head__title{margin-top:0.25rem;font-size:clamp(1.375rem, 1.8vw, 1.875rem);font-weight:500;line-height:1.35;color:var(--hc-maroon);word-break:keep-all;}
.hc-ap-head__desc{margin-top:clamp(1.25rem,4vw,3rem);font-size:clamp(1rem,1.3vw,1.125rem);line-height:1.7;color:var(--hc-ink);word-break:keep-all;}
.hc-ap-body{min-width:0;}

/* =============================================================
   창립 초기 메뉴 : 분류 탭 + 탭별 슬라이더
   ============================================================= */
.hc-ap-tabs{display:flex;border-top:1px solid var(--hc-line);border-bottom:1px solid var(--hc-line);}
/* 보이는 글자와 같은 칸에 굵은 글자를 투명하게 겹쳐 두어,
   활성 탭이 굵어져도 탭 폭이 바뀌어 줄이 흔들리지 않게 한다 */
.hc-ap-tab{position:relative;flex:1 1 auto;display:grid;place-items:center;min-height:6.125rem;padding:0.75rem 1rem;font-size:clamp(0.875rem,1.15vw,1rem);line-height:1.5;text-align:center;color:var(--hc-maroon-lt);transition:color .2s ease;}
.hc-ap-tab__txt{grid-area:1 / 1;}
.hc-ap-tab__ghost{visibility:hidden;font-weight:700;}
/* 구분선은 배경 1px 막대 대신 border 로 그린다. 탭 위치가 소수점일 때 Safari 가 1px 배경을 화면 픽셀에 맞추며 폭 0 으로 지워 버리는 일이 있어서 (border 는 최소 1픽셀이 보장된다) */
.hc-ap-tab + .hc-ap-tab::before{content:"";position:absolute;left:0;top:1.125rem;bottom:1.125rem;width:0;border-left:1px solid var(--hc-line);}
.hc-ap-tab:hover{color:var(--hc-maroon);}
.hc-ap-tab.is-active{color:var(--hc-maroon);}
.hc-ap-tab.is-active .hc-ap-tab__txt{font-weight:700;}

.hc-ap-panel{padding-top:1.25rem;}
.hc-ap-panel[hidden]{display:none;}
.hc-ap-prod{display:block;text-align:center;}
.hc-ap-prod__thumb{position:relative;display:block;aspect-ratio:1 / 1;overflow:hidden;background:var(--hc-tile);}
.hc-ap-prod__thumb img{width:100%;height:100%;object-fit:cover;}
.hc-ap-prod__name{display:block;margin-top:0.875rem;font-size:clamp(1rem,2.3vw,1.125rem);line-height:1.45;color:var(--hc-mute);word-break:keep-all;}
.hc-ap-prod:hover .hc-ap-plus,
.hc-ap-prod:focus-visible .hc-ap-plus{opacity:1;}

.hc-ap-pager{display:flex;justify-content:center;gap:1.5rem;margin-top:clamp(2rem,4.5vw,4rem);}
.hc-ap-pager .hc-arrow{width:1.625rem;height:1.625rem;background:var(--hc-tile);}
.hc-ap-pager .hc-arrow svg{width:0.4375rem;height:0.8125rem;}

/* =============================================================
   역대 출시 메뉴 : 포스터 + 연도·계절 선택
   ============================================================= */
.hc-ap-seasonal{display:flex;align-items:flex-end;justify-content:center;gap:clamp(2rem,6.5vw,6rem);}
.hc-ap-poster{position:relative;flex:0 0 auto;width:clamp(15rem,24.5vw,22.0625rem);margin:0 3.375rem;}
.hc-ap-poster .swiper{overflow:hidden;}
.hc-ap-poster__card{position:relative;display:block;aspect-ratio:7 / 10;overflow:hidden;background:var(--hc-tile);}
.hc-ap-poster__card img{width:100%;height:100%;object-fit:cover;}
.hc-ap-poster__card:hover .hc-ap-plus,
.hc-ap-poster__card:focus-visible .hc-ap-plus{opacity:1;}
.hc-ap-poster .hc-arrow{position:absolute;top:50%;z-index:2;transform:translateY(-50%);}
.hc-ap-poster .hc-arrow--prev{left:-3.375rem;}
.hc-ap-poster .hc-arrow--next{right:-3.375rem;}

/* 같은 연도+계절에 메뉴가 여러 개면, 한 칸 안에 겹쳐 두고 크로스페이드로 순환 (아카이브 메뉴 재출시 카드와 같은 방식) */
.hc-ap-poster__stage{display:grid;}
.hc-ap-poster__item{grid-area:1 / 1;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s;}
.hc-ap-poster__item.is-active{opacity:1;visibility:visible;transition:opacity .5s ease,visibility 0s;}

/* 같은 시즌 내 이전/다음 : 포스터 아래, 바깥 연도 화살표와 겹치지 않게 살짝 작게 */
.hc-ap-poster__inav{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:0.625rem;margin-top:0.625rem;font-size:0.8125rem;color:var(--hc-maroon-lt);}
.hc-ap-poster__inav button{display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;color:var(--hc-maroon);}
.hc-ap-poster__inav button svg{width:0.375rem;height:0.6875rem;}

/* 등록된 포스터가 없는 연도를 선택했을 때 : 포스터 자리에 안내문만 노출 */
.hc-ap-poster__empty{display:none;position:absolute;inset:0;z-index:1;align-items:center;justify-content:center;aspect-ratio:7 / 10;padding:1rem;border:1px solid var(--hc-line);background:var(--hc-tile);color:var(--hc-maroon-lt);font-size:0.9375rem;line-height:1.5;text-align:center;word-break:keep-all;}
.hc-ap-poster.is-empty .hc-ap-poster__empty{display:flex;}
.hc-ap-poster.is-empty .swiper{visibility:hidden;}

.hc-ap-season-ctrl{flex:0 0 auto;margin-bottom:2.125rem;}
.hc-ap-year{position:relative;display:flex;align-items:center;justify-content:space-between;width:9.5rem;height:1.75rem;padding:0 0.375rem;border:1px solid var(--hc-maroon-lt);border-radius:999px;color:var(--hc-maroon);}
.hc-ap-year__step{display:flex;align-items:center;justify-content:center;width:1.375rem;height:1.375rem;color:var(--hc-maroon);}
.hc-ap-year__step svg{width:0.375rem;height:0.6875rem;}
.hc-ap-year__step:disabled{opacity:.3;cursor:default;}
.hc-ap-year__toggle{display:flex;align-items:center;justify-content:center;gap:0.375rem;height:100%;color:var(--hc-maroon);}
.hc-ap-year__label{font-size:1rem;line-height:1;}
/* 데스크톱은 좌우 버튼이 있으므로 캐럿을 감춘다 (모바일 블록에서 다시 켬) */
.hc-ap-year__caret{display:none;width:0.5625rem;height:0.375rem;transition:transform .2s ease;}
.hc-ap-year__caret svg{width:100%;height:100%;}
.hc-ap-year.is-open .hc-ap-year__caret{transform:rotate(180deg);}

/* 연도 직접 선택 : pill 위로 펼쳐지는 휠 목록.
   가운데 칸의 위아래 흰 선은 목록의 배경으로 그려서 스크롤해도 제자리에 있고, 연도 글자만 지나간다.
   스크롤은 한 번에 한 줄씩 가운데에 멈추고(scroll-snap, 손가락으로 세게 밀어도 scroll-snap-stop 으로 한 줄만),
   가운데에 온 연도가 is-current 가 된다. 마우스 휠 한 줄 이동과 연도 반영은 archive.php 스크립트.
   --hc-ap-year-row : 한 줄 높이. 위아래 여백 (목록 높이 - 한 줄) / 2 는 첫 · 마지막 연도도 가운데까지 오게 한다 */
.hc-ap-year__list{--hc-ap-year-row:2.625rem;position:absolute;left:-1px;right:-1px;bottom:calc(100% + 0.1875rem);z-index:20;
	height:14.75rem;overflow-y:auto;padding:calc((14.75rem - var(--hc-ap-year-row)) / 2) 0;border-radius:0.875rem;
	background:
		linear-gradient(rgba(255,255,255,.35),rgba(255,255,255,.35)) 0 calc(50% - var(--hc-ap-year-row) / 2) / 100% 1px no-repeat,
		linear-gradient(rgba(255,255,255,.35),rgba(255,255,255,.35)) 0 calc(50% + var(--hc-ap-year-row) / 2) / 100% 1px no-repeat,
		rgba(34,24,21,.85);
	-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
	scroll-snap-type:y mandatory;scrollbar-width:none;}
.hc-ap-year__list::-webkit-scrollbar{display:none;}
.hc-ap-year__list[hidden]{display:none;}
.hc-ap-year__list li{scroll-snap-align:center;scroll-snap-stop:always;}
.hc-ap-year__list button{display:flex;align-items:center;justify-content:center;width:100%;height:var(--hc-ap-year-row);padding:0 0.5rem;font-size:1rem;line-height:1.2;color:rgba(255,255,255,.5);transition:color .2s ease;}
.hc-ap-year__list button:hover{color:#fff;}
.hc-ap-year__list li.is-current button{color:#fff;font-size:1.0625rem;}
.hc-ap-season-list{margin-top:1.75rem;padding-left:0.375rem;}
.hc-ap-season-list li + li{margin-top:0.375rem;}
.hc-ap-season-list button{font-size:1rem;line-height:1.5;letter-spacing:.01em;color:var(--hc-maroon-lt);transition:color .2s ease;}
.hc-ap-season-list button:not(:disabled):hover{color:var(--hc-maroon);}
.hc-ap-season-list button.is-active{font-weight:700;color:var(--hc-maroon);}
/* 등록된 포스터가 없는 계절 : 누를 수 없음 (금지 커서) */
.hc-ap-season-list button:disabled{opacity:.35;cursor:not-allowed;}

/* =============================================================
   아카이브 메뉴 (20주년 재출시) : 계절별 카드
   ============================================================= */
.hc-ap-rr{display:grid;grid-template-columns:repeat(3,minmax(0,12rem));justify-content:center;gap:1.5rem;}
/* 한 계절의 카드들을 같은 칸에 겹쳐 두고 크로스페이드로 순환 */
.hc-ap-rr__stage{display:grid;}
.hc-ap-rr__item{grid-area:1 / 1;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s;}
.hc-ap-rr__item.is-active{opacity:1;visibility:visible;transition:opacity .5s ease,visibility 0s;}

.hc-ap-rr__card{position:relative;display:block;aspect-ratio:4 / 5;overflow:hidden;background:var(--hc-tile);}
.hc-ap-rr__card img{width:100%;height:100%;object-fit:cover;}
.hc-ap-rr__over{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.125rem 0.875rem;background:rgba(34,24,21,.5);color:#fff;text-align:center;opacity:0;transition:opacity .25s ease;}
.hc-ap-rr__card:hover .hc-ap-rr__over,
.hc-ap-rr__card:focus-visible .hc-ap-rr__over,
.hc-ap-rr__card.is-open .hc-ap-rr__over{opacity:1;}
.hc-ap-rr__name{font-size:1.125rem;font-weight:500;line-height:1.35;word-break:keep-all;}
.hc-ap-rr__desc{font-size:0.875rem;line-height:1.6;word-break:keep-all;}
.hc-ap-rr__over svg{flex:none;width:1.625rem;height:1.625rem;}

/* COMING SOON : assets/archive_noimg.jpg 한 장으로 채운다 */
.hc-ap-rr__card--soon{background:var(--hc-maroon);}

.hc-ap-rr__label{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-top:0.875rem;font-size:1rem;line-height:1.5;color:var(--hc-maroon);}
.hc-ap-rr__label button{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;color:var(--hc-maroon);}
.hc-ap-rr__label button svg{width:0.4375rem;height:0.8125rem;}
.hc-ap-rrm{display:none;}

/* =============================================================
   responsive
   ============================================================= */
@media (max-width:1024px){
	.hc-ap-sec__grid{grid-template-columns:1fr;gap:3.75rem;}
	.hc-ap-head{padding:0; text-align: center;}
	.hc-ap-head__desc{margin-top:1.25rem;}
}

@media (max-width:768px){
	/* archive_hero_m.jpg 715x301 — 뱃지가 이미지에 포함돼 있어 덧씌운 뱃지는 숨긴다 */
	.hc-ap-hero{aspect-ratio:715 / 301;}
	.hc-ap-hero__badge{display:none;}

	/* 타이틀 밴드 : 한 칸으로 쌓는다. 좌우 여백 1.25rem — 서브 페이지 띠 모두 같은 값 (interview.css · moments.css · things.css) */
	.hc-ap-band__inner{grid-template-columns:1fr;align-items:start;row-gap:0.875rem;padding-left:1.25rem;padding-right:1.25rem;}
	.hc-ap-band__head{padding-left:0;}
	.hc-ap-band__desc{font-size:0.875rem;line-height:1.6;}

	/* 섹션 : 제목은 가운데, 본문은 화면 끝까지 */
	.hc-ap-sec__grid{grid-template-columns:1fr;gap:3.75rem 0;}
	.hc-ap-head{padding:0;text-align:center;}
	.hc-ap-head__desc{margin-top:1.5rem;font-size:0.875rem;}
	/* PC 에서만 쓰는 줄바꿈 (각 섹션 머리말 설명 : 창립 초기 · 역대 출시 · 아카이브 메뉴) */
	.hc-ap-br-pc{display:none;}
	.hc-ap-body{margin:0 calc(clamp(1.25rem,3.2vw,2.875rem) * -1);}
	/* 탭 : 위 1칸 + 2칸, 아래 3칸으로 두 줄 (항목 5개 기준). 가운데 열이 조금 넓다.
	   화면 양옆에서 8px 띄우고, 세로 구분선은 위아래를 9px 비운 짧은 선이다 */
	.hc-ap-tabs{--hc-line:rgba(119,49,62,.5);display:grid;grid-template-columns:minmax(0,114fr) minmax(0,131fr) minmax(0,114fr);margin:0 0.5rem;border-bottom:0;}
	.hc-ap-tab{min-height:4.1875rem;padding:0.5625rem 0.375rem;font-size:0.8125rem;line-height:1.35;color:rgba(119,49,62,.45);border-bottom:1px solid var(--hc-line);}
	.hc-ap-tab + .hc-ap-tab::before{display:none;}
	.hc-ap-tab:nth-child(2){grid-column:span 2;}
	.hc-ap-tab:nth-child(2)::before,
	.hc-ap-tab:nth-child(4)::before,
	.hc-ap-tab:nth-child(5)::before{display:block;top:0.5625rem;bottom:0.5625rem;}
	.hc-ap-tab:hover,
	.hc-ap-tab.is-active{color:var(--hc-maroon);}
	.hc-ap-tab.is-active .hc-ap-tab__txt{font-weight:600;}

	.hc-ap-panel{padding-top:1rem;}
	.hc-ap-prod__name{margin-top:0.625rem;font-size:0.9375rem;}
	.hc-ap-pager{margin-top:1.5rem;gap:1rem;}

	/* 역대 출시 메뉴 : 포스터 → 계절 → 연도 순으로 쌓는다.
	   좌우 화살표는 포스터 바깥(화면 양끝)에 두고, 계절 · 연도는 포스터 폭에 맞춘다 */
	.hc-ap-seasonal{flex-direction:column;align-items:stretch;gap:0;padding:0;}
	.hc-ap-poster{width:auto;margin:0 2.125rem;}   /* 화살표 26px + 간격 8px */
	/* 화살표 모양은 .hc-ap-pager 버튼과 같다 */
	.hc-ap-poster .hc-arrow{width:1.625rem;height:1.625rem;background:var(--hc-tile);}
	.hc-ap-poster .hc-arrow svg{width:0.4375rem;height:0.8125rem;}
	.hc-ap-poster .hc-arrow--prev{left:-2.125rem;}
	.hc-ap-poster .hc-arrow--next{right:-2.125rem;}
	.hc-ap-season-ctrl{display:flex;flex-direction:column-reverse;align-items:stretch;margin:0.75rem 2.125rem 0;}
	.hc-ap-season-list{display:flex;justify-content:space-between;margin-top:0;padding:0 0.5rem;}
	.hc-ap-season-list li + li{margin-top:0;}
	.hc-ap-season-list button{font-size:0.875rem;color:rgba(119,49,62,.45);}
	/* 모바일 : 좌우 이동 버튼 대신 목록으로 고른다 */
	.hc-ap-year{align-self:flex-end;width:6.5625rem;margin-top:3rem;}
	.hc-ap-year__step{display:none;}
	.hc-ap-year__toggle{flex:1 1 auto;justify-content:space-between;padding:0 0.375rem;}
	/* 목록이 위로 펼쳐지므로 닫혀 있을 땐 위(^), 열리면 아래를 향한다 */
	.hc-ap-year__caret{display:flex;transform:rotate(180deg);}
	.hc-ap-year.is-open .hc-ap-year__caret{transform:none;}

	/* 아카이브 메뉴 : 카드 한 장 + 계절 탭 + 이름·설명 */
	.hc-ap-rr{display:block;padding:0 clamp(1.25rem,3.2vw,2.875rem);}
	.hc-ap-rr__col{display:none;}
	.hc-ap-rr__col.is-current{display:block;}
	.hc-ap-rr__card{aspect-ratio:1 / 1;}
	.hc-ap-rr__over,
	.hc-ap-rr__label{display:none;}

	.hc-ap-rrm{display:block;padding:0 clamp(1.25rem,3.2vw,2.875rem);}
	.hc-ap-rrm__tabs{display:flex;justify-content:space-between;margin-bottom:0.875rem;padding:0.625rem 0.875rem;border-bottom:1px solid var(--hc-line);}
	.hc-ap-rrm__tab{font-size:0.9375rem;letter-spacing:.01em;color:var(--hc-maroon-lt);}
	.hc-ap-rrm__tab.is-active{font-weight:700;color:var(--hc-maroon);}
	.hc-ap-rrm__panel{display:none;align-items:center;gap:0.625rem;margin-top:1.5rem;}
	.hc-ap-rrm__panel.is-active{display:flex;}
	.hc-ap-rrm__panel button{flex:none;display:flex;align-items:center;justify-content:center;width:0.75rem;height:1.75rem;color:var(--hc-maroon);}
	.hc-ap-rrm__panel button svg{width:0.75rem;height:1.3125rem;}
	.hc-ap-rrm__texts{flex:1 1 auto;min-width:0;text-align:center;}
	.hc-ap-rrm__text{display:none;}
	.hc-ap-rrm__text.is-active{display:block;}
	.hc-ap-rrm__name{font-size:1.0625rem;font-weight:500;line-height:1.4;color:var(--hc-mute);word-break:keep-all;}
	.hc-ap-rrm__desc{font-size:0.875rem;line-height:1.7;color:var(--hc-mute);word-break:keep-all;}
	.hc-ap-rrm__desc:not(:empty){margin-top:0.875rem;}

	/* 메뉴가 바뀔 때 : 나가는 카드 · 글은 바로 감추고, 들어오는 카드 · 글이 민 방향에서 미끄러지며 나타난다
	   (archive.php 스크립트가 is-in-next / is-in-prev 를 붙인다). 미끄러지는 동안 칸 밖으로 넘치지 않게 자른다.
	   좌우 스와이프는 스크립트가 받으므로 세로 스크롤만 브라우저에 맡긴다 */
	.hc-ap-rr__stage,
	.hc-ap-rrm__texts{overflow:hidden;touch-action:pan-y pinch-zoom;}
	.hc-ap-rr__item{transition:none;}
	.hc-ap-rr__item.is-in-next,
	.hc-ap-rrm__text.is-in-next{animation:hcApRrInNext .45s cubic-bezier(.22,.61,.36,1) both;}
	.hc-ap-rr__item.is-in-prev,
	.hc-ap-rrm__text.is-in-prev{animation:hcApRrInPrev .45s cubic-bezier(.22,.61,.36,1) both;}
}
@keyframes hcApRrInNext{
	from{opacity:0;transform:translateX(2rem);}
	to{opacity:1;transform:none;}
}
@keyframes hcApRrInPrev{
	from{opacity:0;transform:translateX(-2rem);}
	to{opacity:1;transform:none;}
}