@charset "utf-8";
/* ==========================================================================
   귀단요 메인 (Figma : 귀단요_메인페이지 2000 × 6958)
   - 모든 수치는 시안 2000px 기준 값이며 --u(1 시안 px) 로 화면 너비에 비례 축소된다.
   - 2000px 보다 넓은 화면(4K 등)에서도 같은 비율로 확대되어 가로를 가득 채운다.
   ========================================================================== */
.gd_main {position:relative; overflow-x:clip; color:#333}
.gd_main img {max-width:none}

/* 공통 '자세히 보기' 버튼 */
.gd_more {position:absolute; box-sizing:border-box; display:flex; align-items:center; justify-content:center; height:calc(40*var(--u)); padding:calc(5*var(--u)) 0 calc(4*var(--u)); border-bottom:1px solid #b8b8b8; font-family:'Pretendard',sans-serif; font-weight:400; font-size:calc(17*var(--u)); line-height:calc(30*var(--u)); letter-spacing:calc(-0.34*var(--u)); color:#333; white-space:nowrap}

/* 1. 히어로 ------------------------------------------------------------ */
.gd_hero {position:relative; height:calc(974.26*var(--u)); overflow-x:clip; z-index:1; background:#1f1f1f}
.gd_hero_track {display:flex; height:100%; transition:transform .8s cubic-bezier(.4,0,.2,1); will-change:transform; touch-action:pan-y}
.gd_hero_track.is-drag {transition:none}
.gd_hero_slide {position:relative; flex:0 0 100%; height:100%; overflow:hidden}
.gd_hero_bg {position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; pointer-events:none; user-select:none; -webkit-user-drag:none}
.gd_hero_shade {position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.2) 13.998%, rgba(0,0,0,0) 72.091%)}
.gd_hero_txt {position:absolute; left:calc(50% - 900*var(--u)); top:calc(274.42*var(--u)); display:flex; flex-direction:column; align-items:flex-start; gap:calc(30*var(--u)); padding-bottom:calc(40*var(--u)); color:#fff}
.gd_hero_copy {display:flex; flex-direction:column; gap:calc(20*var(--u)); width:max-content; max-width:calc(1000*var(--u))}
.gd_hero_tit {margin:0; font-family:'Noto Serif KR',serif; font-weight:700; font-size:calc(50*var(--u)); line-height:calc(72*var(--u)); letter-spacing:calc(-1*var(--u)); color:#fff; white-space:nowrap}
.gd_hero_tit a {color:inherit}
.gd_hero_desc {margin:0; font-family:'Pretendard',sans-serif; font-weight:400; font-size:calc(18*var(--u)); line-height:calc(28*var(--u)); letter-spacing:calc(-0.36*var(--u)); color:#fff}
.gd_hero_nav {position:relative; display:flex; align-items:center; gap:calc(13*var(--u)); font-family:'Pretendard',sans-serif; font-size:calc(25*var(--u)); line-height:calc(30*var(--u))}
.gd_hero_nav button {padding:0; border:0; background:none; font:inherit; color:#fff; cursor:pointer}
.gd_hero_bar {color:#898989}
.gd_hero_prog {position:relative; width:calc(215*var(--u)); height:calc(3*var(--u)); background:#d9d9d9}
/* 진행바 : #d9d9d9 트랙 위에 #333 막대가 같은 줄에서 차오르고, 다 차면 다음 슬라이드로 이동 (main.js) */
.gd_hero_prog i {position:absolute; left:0; top:0; width:0; height:100%; background:#333}
.gd_hero_slide.is-active .gd_hero_prog.is-run i {animation:gdHeroProg var(--gd-dur, 5s) linear forwards}
@keyframes gdHeroProg {from {width:0} to {width:100%}}
.gd_hero_brush {position:absolute; left:0; right:0; top:calc(802.76*var(--u)); height:calc(343*var(--u)); overflow:hidden; z-index:2; pointer-events:none}
.gd_hero_brush img {position:absolute; left:calc(-394*var(--u)); top:calc(0.087*var(--u)); width:calc(2867*var(--u)); height:calc(651*var(--u)); min-width:calc(100% + 867*var(--u))}

/* 2. 이야기 (시안 y 974.26 ~ 2387.23) ----------------------------------- */
.gd_story,
.gd_craft,
.gd_values,
.gd_prod {position:relative; width:calc(2000*var(--u)); margin:0 auto}
.gd_story {height:calc(1412.97*var(--u))}
.gd_story > * {position:absolute}
.gd_story_circle {left:calc(397.46*var(--u)); top:calc(289.92*var(--u)); width:calc(1205.08*var(--u)); height:calc(1179.51*var(--u))}
.gd_story_left {left:calc(104.29*var(--u)); top:calc(315.78*var(--u)); width:calc(365.25*var(--u)); height:calc(340.26*var(--u)); overflow:hidden}
.gd_story_main {left:calc(701.68*var(--u)); top:calc(241.1*var(--u)); width:calc(596.64*var(--u)); height:calc(758.15*var(--u)); overflow:hidden}
.gd_story_right {left:calc(1708.1*var(--u)); top:calc(1126.24*var(--u)); width:calc(291.9*var(--u)); height:calc(347.21*var(--u)); overflow:hidden}
.gd_story_left img,
.gd_story_main img,
.gd_story_right img {display:block; width:100%; height:100%; object-fit:cover}
.gd_story_left::after,
.gd_story_right::after,
.gd_story_shade {content:""; position:absolute; inset:0}
.gd_story_left::after {background:linear-gradient(180deg, rgba(0,0,0,0) 43.68%, rgba(0,0,0,.1) 113.617%)}
.gd_story_shade {background:linear-gradient(180deg, rgba(0,0,0,0) 32.867%, #000 113.603%)}
.gd_story_right::after {background:linear-gradient(180deg, rgba(0,0,0,0) 56.608%, rgba(0,0,0,.5) 107.15%)}
.gd_story_stamp {left:calc(939.98*var(--u)); top:calc(823.67*var(--u)); width:calc(112*var(--u)); height:calc(112*var(--u)); object-fit:cover}
.gd_story_side {width:calc(30*var(--u))}
.gd_story_side span {position:absolute; left:0; width:calc(30*var(--u)); height:calc(234*var(--u)); display:flex; align-items:center; justify-content:center; writing-mode:vertical-rl; transform:rotate(180deg); font-family:'Noto Serif KR',serif; font-weight:500; font-size:calc(25*var(--u)); line-height:1.2; letter-spacing:calc(12.5*var(--u)); color:#555; white-space:nowrap}
.gd_story_side i {position:absolute; width:1px; height:calc(288*var(--u)); background:#1f1f1f}
.gd_story_side--l {left:calc(224.59*var(--u)); top:0}
.gd_story_side--l span {top:calc(763.79*var(--u))}
.gd_story_side--l i {left:calc(14.93*var(--u)); top:calc(1042.79*var(--u)); transform:translateX(-50%)}
.gd_story_side--r {left:calc(1745.35*var(--u)); top:0}
.gd_story_side--r span {top:calc(761.54*var(--u))}
.gd_story_side--r i {left:calc(15.13*var(--u)); top:calc(428.54*var(--u)); transform:translateX(-50%)}
.gd_story_txt {left:calc(573.5*var(--u)); top:calc(1049.24*var(--u)); width:calc(853*var(--u)); display:flex; flex-direction:column; align-items:center; gap:calc(15*var(--u)); text-align:center}
.gd_story_tit {margin:0; width:calc(832*var(--u)); font-family:'Noto Serif KR',serif; font-weight:700; font-size:calc(35*var(--u)); line-height:1.4; color:#333}
.gd_story_body {display:flex; flex-direction:column; gap:calc(15*var(--u)); width:calc(536*var(--u))}
.gd_story_sub,
.gd_craft_sub {margin:0; font-family:'Pretendard',sans-serif; font-weight:600; font-size:calc(22*var(--u)); line-height:1.65; letter-spacing:calc(-0.44*var(--u)); color:#333}
.gd_story_desc,
.gd_craft_desc {margin:0; font-family:'Pretendard',sans-serif; font-weight:400; font-size:calc(18*var(--u)); line-height:1.65; letter-spacing:calc(-0.36*var(--u)); color:#333}
.gd_story_more {left:calc(908.82*var(--u)); top:calc(1359.17*var(--u)); width:calc(175*var(--u))}

/* 3. 완성 (시안 y 2387.23 ~ 3900) -------------------------------------- */
.gd_craft {height:calc(1512.77*var(--u))}
.gd_craft > * {position:absolute}
/* 먹선 : 시안의 투명도 12% + 오른쪽 #ededed 그라데이션을 이미지 알파에 미리 합성 (브라우저 합성 시 생기는 세로 줄무늬 방지) */
.gd_craft_ink {left:calc(-5.59*var(--u)); top:calc(655.96*var(--u)); width:calc(1396.33*var(--u)); height:calc(785.44*var(--u)); background-repeat:no-repeat; background-position:center; background-size:100% 100%; pointer-events:none}
.gd_craft_txt {left:calc(1174*var(--u)); top:calc(471.37*var(--u)); width:calc(626*var(--u)); display:flex; flex-direction:column; align-items:flex-start; gap:calc(20*var(--u))}
.gd_craft_tit {margin:0; font-family:'Noto Serif KR',serif; font-weight:700; font-size:calc(35*var(--u)); line-height:1.4; color:#333; white-space:nowrap}
.gd_craft_body {display:flex; flex-direction:column; gap:calc(15*var(--u)); width:calc(536*var(--u))}
.gd_craft_desc {width:calc(618.87*var(--u))}
.gd_craft_bowls {left:0; top:0; width:calc(920.73*var(--u)); height:calc(1406.17*var(--u)); object-fit:contain; object-position:left top}
.gd_craft_teapots {left:calc(766.56*var(--u)); top:calc(771.45*var(--u)); width:calc(1405.29*var(--u)); height:calc(650.73*var(--u)); object-fit:contain; object-position:left top; transform-origin:0 0; transform:rotate(.4095deg)}

/* 4. 가치 (시안 y 3900 ~ 5600) ------------------------------------------ */
.gd_values {height:calc(1700*var(--u))}
.gd_values_mt {position:absolute; left:0; top:calc(792*var(--u)); width:calc(2000*var(--u)); height:calc(895.5*var(--u)); pointer-events:none}
.gd_values_head {position:absolute; left:0; right:0; top:calc(164.7*var(--u)); display:flex; flex-direction:column; align-items:center; text-align:center}
.gd_values_tit {margin:0; width:calc(832*var(--u)); font-family:'Noto Serif KR',serif; font-weight:700; font-size:calc(35*var(--u)); line-height:1.4; color:#333}
.gd_values_sub {margin:calc(20.48*var(--u)) 0 0; font-family:'Noto Serif KR',serif; font-weight:400; font-size:calc(18*var(--u)); line-height:1.5; letter-spacing:calc(-0.36*var(--u)); color:#333}
.gd_values_list {margin:0; padding:0; list-style:none}
.gd_card {position:absolute; width:calc(435*var(--u)); height:calc(810.44*var(--u)); overflow:hidden; background:#252525}
.gd_card--1 {left:calc(273.02*var(--u)); top:calc(518.27*var(--u))}
.gd_card--2 {left:calc(782.5*var(--u)); top:calc(389.89*var(--u))}
.gd_card--3 {left:calc(1299.02*var(--u)); top:calc(518.27*var(--u))}
.gd_card_link {display:block; height:100%; color:inherit}
.gd_card_bg {position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.gd_card_shade {position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 43.68%, rgba(0,0,0,.5) 113.616%)}
.gd_card--2 .gd_card_shade {background:linear-gradient(180deg, rgba(0,0,0,0) 40.966%, rgba(0,0,0,.5) 110.902%)}
.gd_card--3 .gd_card_shade {background:linear-gradient(180deg, rgba(0,0,0,0) 39.238%, rgba(0,0,0,.5) 109.174%)}
.gd_card_txt {position:absolute; left:calc(60*var(--u)); right:calc(60*var(--u)); bottom:calc(70*var(--u)); display:flex; flex-direction:column; align-items:flex-start; gap:calc(35*var(--u)); color:#fff}
.gd_card_ico {display:block; height:auto}
.gd_card--1 .gd_card_ico {width:calc(59.2734*var(--u))}
.gd_card--2 .gd_card_ico {width:calc(60.3711*var(--u))}
.gd_card--3 .gd_card_ico {width:calc(60.5*var(--u))}
.gd_card_body {display:flex; flex-direction:column; gap:calc(15*var(--u))}
.gd_card_tit {margin:0; font-family:'Noto Serif KR',serif; font-weight:700; font-size:calc(30*var(--u)); line-height:calc(30*var(--u)); letter-spacing:calc(-0.6*var(--u)); color:#fff}
.gd_card_desc {margin:0; font-family:'Pretendard',sans-serif; font-weight:400; font-size:calc(18*var(--u)); line-height:calc(30*var(--u)); letter-spacing:calc(-0.36*var(--u)); color:#fff}

/* 5. 제품 (시안 y 5600 ~ 6660.27) --------------------------------------- */
.gd_prod {height:calc(1060.27*var(--u))}
.gd_prod_tit {position:absolute; left:0; right:0; top:calc(63.89*var(--u)); margin:0 auto; width:calc(830.53*var(--u)); font-family:'Noto Serif KR',serif; font-weight:700; font-size:calc(35*var(--u)); line-height:1.4; color:#333; text-align:center}
.gd_prod_grid {position:absolute; left:calc(1.77*var(--u)); top:calc(178.89*var(--u)); width:calc(1996.47*var(--u)); height:calc(526*var(--u))}
.gd_prod_grid::before,
.gd_prod_grid::after {content:""; position:absolute; left:0; right:0; height:1px; background:#b8b8b8; z-index:1; transform:translateY(-50%)}
.gd_prod_grid::before {top:0}
.gd_prod_grid::after {top:100%}
.gd_prod_edge {position:absolute; left:0; top:calc(-21*var(--u)); width:1px; height:calc(547*var(--u)); background:#ccc; transform:translateX(-50%); z-index:1}
.gd_prod_view {position:relative; height:100%; overflow:hidden}
.gd_prod_track {display:flex; height:100%; margin:0; padding:0; list-style:none; transition:transform .6s cubic-bezier(.4,0,.2,1)}
.gd_prod_item {position:relative; flex:0 0 25%; height:100%}
.gd_prod_item + .gd_prod_item::before {content:""; position:absolute; left:0; top:0; bottom:0; width:1px; background:#b8b8b8; transform:translateX(-50%); z-index:1}
.gd_prod_cell {display:block; height:100%; color:inherit}
.gd_prod_img {position:absolute; left:0; right:0; top:0; height:calc(437*var(--u))}
.gd_prod_img img {display:block; width:100%; height:100%; object-fit:contain}
.gd_prod_img img.is-upload {opacity:.86}
.gd_prod_label {position:absolute; left:0; right:0; top:calc(437*var(--u)); bottom:0; border-top:1px solid #b8b8b8; margin-top:-.5px}
.gd_prod_cat {position:absolute; left:calc(51*var(--u)); top:calc(30*var(--u)); max-width:calc(170*var(--u)); overflow:hidden; text-overflow:ellipsis; font-family:'Pretendard',sans-serif; font-weight:400; font-size:calc(17*var(--u)); line-height:calc(30*var(--u)); letter-spacing:calc(-0.34*var(--u)); color:#555; white-space:nowrap}
.gd_prod_no {position:absolute; right:calc(48*var(--u)); top:calc(31.75*var(--u)); max-width:calc(250*var(--u)); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:'Pretendard',sans-serif; font-weight:600; font-size:calc(22*var(--u)); line-height:normal; letter-spacing:calc(-0.44*var(--u)); color:#333; text-align:right}
.gd_prod_prev,
.gd_prod_next {position:absolute; top:calc(217*var(--u)); z-index:2; width:calc(22.96*var(--u)); padding:0; border:0; background:none; font-family:'Pretendard',sans-serif; font-weight:400; font-size:calc(25*var(--u)); line-height:calc(30*var(--u)); color:#333; cursor:pointer}
.gd_prod_prev {left:calc(33.94*var(--u))}
.gd_prod_next {left:calc(1962.52*var(--u))}
.gd_prod_prev[aria-disabled="true"],
.gd_prod_next[aria-disabled="true"] {cursor:default}
.gd_prod_more {left:calc(916.68*var(--u)); top:calc(800.27*var(--u)); width:calc(174.69*var(--u))}

/* 태블릿·모바일 : 별도 시안이 없어 시안 구조(순서·요소)를 유지한 채 세로로 배치한다. */
@media (max-width:1023px) {
    .gd_main {--m:1px}
    .gd_hero {height:min(140vw, 720px)}
    .gd_hero_txt {left:24px; right:24px; top:auto; bottom:110px; gap:20px; padding:0}
    .gd_hero_copy {width:auto; max-width:none; gap:12px}
    .gd_hero_tit {font-size:30px; line-height:42px; letter-spacing:-.6px; white-space:normal}
    .gd_hero_desc {width:auto; font-size:15px; line-height:24px; letter-spacing:-.3px}
    .gd_hero_desc br {display:none}
    .gd_hero_nav {gap:10px; font-size:20px; line-height:26px}
    .gd_hero_prog {width:140px; height:2px}
    .gd_hero_brush {top:auto; bottom:-60px; height:160px}
    .gd_hero_brush img {left:-40%; width:180%; height:300px; min-width:0}

    .gd_story, .gd_craft, .gd_values, .gd_prod {width:auto; height:auto; padding:0 20px}
    .gd_story > *, .gd_craft > * {position:relative; left:auto; top:auto}
    /* 모바일 이야기 : ① 왼쪽 사진 + 오른쪽 가운데 세로 글자 ② 메인 사진 ③ 글 ④ 버튼 ⑤ 바로 선 세로 글자 + 오른쪽 사진 */
    .gd_story {display:grid; grid-template-columns:repeat(20, minmax(0, 1fr)); align-items:center; padding-top:60px; padding-bottom:70px}
    .gd_story_left {grid-column:1 / 11; grid-row:1; display:block; width:100%; height:auto; aspect-ratio:365.25/340.26}
    .gd_story_side--l {grid-column:11 / 21; grid-row:1; justify-self:center}
    .gd_story_main {grid-column:1 / -1; grid-row:2; justify-self:center; align-self:start; margin-top:56px; z-index:1}
    .gd_story_stamp {grid-column:1 / -1; grid-row:2; align-self:start; justify-self:center; z-index:2}
    .gd_story_txt {margin-top:40px}
    .gd_story_txt {grid-column:1 / -1; grid-row:3}
    .gd_story .gd_story_more {grid-column:1 / -1; grid-row:4}
    .gd_story_side--r {grid-column:1 / 12; grid-row:5; justify-self:center; margin-top:56px}
    .gd_story_right {grid-column:12 / 21; grid-row:5; display:block; width:100%; height:auto; aspect-ratio:291.9/347.21; margin-top:56px}
    /* GWIDANYO : 가로로 바로 세워 사진 옆에 한 줄로 — 첫 번째 ‘사진 — 선 — 글자’, 마지막 ‘글자 — 선 — 사진’ */
    .gd_story .gd_story_side {display:flex; flex-direction:row; align-items:center; gap:14px; width:auto; height:auto}
    .gd_story_side span {position:static; width:auto; height:auto; writing-mode:horizontal-tb; font-size:12px; letter-spacing:5px; transform:none; white-space:nowrap}
    .gd_story_side--l i {order:-1}
    .gd_story_side--r span {order:-1}
    .gd_story_side i {position:static; display:block; flex:none; width:36px; height:1px; transform:scaleX(0); transform-origin:50% 50%; transition:transform 1.4s cubic-bezier(.22,.61,.36,1) .2s}
    /* 영역에 도착하면 선이 가운데에서 나타나 양옆으로 늘어남 (main.js : .is-line) */
    .gd_story_side.is-line i {transform:scaleX(1)}
    .gd_story_circle {position:relative !important; left:auto !important; top:auto !important; grid-column:1 / -1; grid-row:2; justify-self:center; align-self:start; width:110vw; max-width:none; height:auto; margin-top:16px; transform:none; z-index:0} /* 메인 사진 뒤 원 */
    .gd_story_main {width:min(100%, 420px); height:auto; aspect-ratio:596.64/758.15}
    .gd_story_stamp {position:relative !important; top:auto !important; left:auto !important; width:72px; height:72px; transform:translateY(calc(-50% + 56px))}
    .gd_story_txt {width:100%; margin-top:48px; gap:12px}
    .gd_story_tit, .gd_craft_tit, .gd_values_tit, .gd_prod_tit {width:auto; font-size:24px; line-height:1.4; white-space:normal}
    .gd_story_body, .gd_craft_body {width:auto; gap:10px}
    .gd_story_sub, .gd_craft_sub {font-size:17px; letter-spacing:-.34px}
    .gd_story_desc, .gd_craft_desc {width:auto; font-size:15px; letter-spacing:-.3px}
    .gd_more {position:relative; left:auto !important; top:auto !important; width:160px !important; height:40px; margin:32px auto 0; font-size:15px; line-height:30px; padding:5px 0 4px}

    .gd_craft {display:flex; flex-direction:column; padding-top:20px; padding-bottom:40px}
    .gd_craft_ink {position:absolute !important; left:0 !important; top:40% !important; width:100%; height:50%}
    /* 찻잔 : 화면 왼쪽 끝에 붙이고, 이미지 위·아래 빈 영역을 잘라 아래 글과 간격을 줄임 */
    .gd_craft_bowls {width:58%; height:auto; aspect-ratio:1841/1783; margin-left:-20px; object-fit:cover; object-position:left 52%; order:1}
    .gd_craft_txt {width:auto; order:2; margin-top:12px; gap:14px}
    .gd_craft_teapots {width:100%; height:auto; order:3; margin-top:24px; transform:none}

    .gd_values {padding-top:70px; padding-bottom:40px}
    .gd_values_mt {top:auto; bottom:0; width:100%; height:auto}
    .gd_values_head {position:relative; top:auto}
    .gd_values_sub {margin-top:12px; font-size:15px; letter-spacing:-.3px}
    .gd_values_list {position:relative; display:grid; gap:16px; margin-top:40px}
    .gd_card {position:relative; left:auto !important; top:auto !important; width:100%; height:auto; aspect-ratio:435/600}
    .gd_card_txt {left:28px; right:28px; bottom:36px; gap:20px}
    .gd_card .gd_card_ico {width:44px}
    .gd_card_tit {font-size:24px; line-height:28px}
    .gd_card_desc {font-size:15px; line-height:24px}

    .gd_prod {padding:60px 0 70px}
    .gd_prod_tit {position:relative; top:auto; padding:0 20px}
    .gd_prod_grid {position:relative; left:auto; top:auto; width:auto; height:auto; margin-top:32px}
    .gd_prod_edge {display:none}
    .gd_prod_view {height:auto}
    .gd_prod_item {flex-basis:50%; height:auto}
    .gd_prod_cell {height:auto}
    .gd_prod_img {position:relative; display:block; height:auto; aspect-ratio:499.12/437}
    .gd_prod_label {position:relative; display:block; top:auto; height:60px}
    .gd_prod_cat {left:16px; top:15px; max-width:calc(100% - 90px); font-size:14px; line-height:30px; white-space:nowrap}
    .gd_prod_no {right:16px; top:15px; font-size:17px; line-height:30px}
    /* 화살표 : 이미지 영역(아래 이름 줄 60px 제외) 기준 세로 가운데 */
    .gd_prod_prev, .gd_prod_next {top:calc((100% - 60px) / 2); translate:0 -50%; width:28px; font-size:20px; line-height:30px}
    .gd_prod_prev {left:4px}
    .gd_prod_next {left:auto; right:4px}
}

/* 모바일(768px 이하) : 찻잔 이미지와 아래 글 간격 */
@media (max-width:768px) {
    .gd_craft_txt {margin-top:35px}
}

/* 이야기 섹션 패럴랙스는 PC 전용 : 모바일·태블릿에서는 이동 없음 */
@media (max-width:1023px), (hover:none), (pointer:coarse) {
    .gd_story_left, .gd_story_main, .gd_story_right, .gd_story_side, .gd_story_circle, .gd_story_txt, .gd_story .gd_story_more {transform:none !important; will-change:auto !important}
}
@media (max-width:1023px) and (prefers-reduced-motion:reduce) {
    .gd_story_side i {transform:none; transition:none}
}
