@charset "utf-8";
:root{
  --black:#000;
  --gray-900:#1E1E1E;
  --gray-700:#333;
  --gray-400:#949494;
  --primary:#3A7ACD;        /* 날짜 컬러 */
  --ink:#121F31;            /* 딥블루 배경 */
  --paper:#FFFFFF;

  --title-font: Inter, system-ui, -apple-system, sans-serif;
  --body-font: "Noto Sans KR", system-ui, -apple-system, sans-serif;

  --container:1200px;       /* 시안의 핵심 폭 */
  --radius-xl: 24px;
  --radius-pill: 315px;

  --gap-40:40px; --gap-24:24px; --gap-16:16px; --gap-12:12px;
}

*{box-sizing:border-box; margin:0px; padding: 0px;}
html,body{margin:0;padding:0;color:var(--black);background:#fff}
.container{max-width:var(--container);margin:0 auto;padding:28px 20px}

/* 섹션 타이틀: Inter */
.section-title{font:700 40px/43px var(--title-font);margin:0 0 6px}
.hr{height:2px;background:#000;margin:14px 0 20px}

.about-grid{display:grid;grid-template-columns:444px 1fr;gap:24px;align-items:start}
.about-photo{border-radius:12px;overflow:hidden;background:#eee;height:592px}
.about-photo img{width:100%;height:100%;object-fit:cover}

.about-kicker{margin:0 0 8px;font:700 30px/48px var(--body-font)}   /* ← Noto Sans KR */
.about-name{margin:0 0 16px;font:700 30px/48px var(--body-font)}     /* ← Noto Sans KR */

.rows{margin:8px 0 0;display:grid;gap:10px}
.rows div{display:grid;grid-template-columns:84px 1fr;gap:12px;align-items:start}
.rows div.exp__company{display: flex;}
.rows dt{margin:0;font:600 24px/38px var(--body-font);color:#333;text-align:left} /* ← Noto Sans KR */
.rows dd{margin:0;font:500 20px/32px var(--body-font);color:#333}                 /* ← Noto Sans KR */

/* 반응형 */
@media (max-width: 900px){
  .about-grid{grid-template-columns:1fr}
  .about-photo{height:auto}
}






*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--paper);color:var(--black)}
img{max-width:100%;height:auto;display:block}
.container{max-width:var(--container);margin:0 auto;padding:0px;}

/* 상단바 */
.topbar{border-bottom:1px solid #3333; position:sticky; top:0; backdrop-filter:saturate(120%) blur(6px); background:#ffffffcc; z-index:10;}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{font:700 18px/1 var(--title-font);text-decoration:none;color:var(--black)}
.menu{display:flex;gap:24px;list-style:none;margin:0;padding:0}
.menu a{font:600 15px/24px "Noto Looped Thai UI", var(--body-font);text-decoration:none;color:#333}
.menu a:hover{opacity:.75}

/* 섹션 공통 헤더 */
.section-head{margin:60px 0 24px}
.section-kicker{font:600 16px/17px var(--title-font);color:var(--black);margin:6px 0 0}
.section-title{font:700 40px/43px var(--title-font);margin:0}
.hr{height:2px;background:var(--black);margin:16px 0}

/* 버튼 */
.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:26.5px;border:1px solid var(--gray-900);background:#fff;color:var(--gray-900);font:600 16px/1 var(--title-font);text-decoration:none}
.btn:hover{background-color: #3A7ACD;color: #fff;border-color: #3A7ACD;}
.btn:active{transform:translateY(1px) scale(.995)}
.btn:focus-visible{outline:2px solid #60a5fa; outline-offset:2px}

/* 카드/썸네일 */
.card-thumb{border-radius:12px;display:grid;place-items:center;color:#666;font:600 14px/1 var(--title-font);border: 1px solid #ddd;overflow: hidden;}

/* 그리드 유틸 */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}

/* 히어로 */

.hero{position:relative;padding:40px 0 24px;}
.hero-title{font:700 56px/1.1 var(--title-font);margin:0 0 16px}
.hero-sub{font:600 20px/27px "Noto Sans", var(--body-font);margin:8px 0 0}
.hero-banner{
  margin-top:24px;height:241px;border-radius:var(--radius-pill);
  background:#CDCDCD center/cover no-repeat;
  position:relative;
}
.hero-banner::after{
  content:"";position:absolute;left:56px;right:56px;bottom:16px;height:5px;background:#fff;
}

/*텍스트를 위 레이어로*/
.hero{ position: relative; padding: 40px 0 24px; }
.hero-title,
.hero-sub{
  position: relative;
  z-index: 2;            /* 배너 위로 올라오게 */
}

/* .hero_img{
  position: absolute;
  top:120px;
  left:0px;
} */

/* 필요시 제목/문장 크기 그대로 유지 */
.hero-title{ font: 700 56px/1.1 var(--title-font); margin: 0 0 16px; }
.hero-sub{   font: 600 20px/27px "Noto Sans", var(--body-font); margin: 8px 0 0; }

/*캡슐 배너를 “뒤에서 겹치게” (이미지 배경)*/
.hero-banner{
  position: absolute;    /* ← absolute로 전환 (중요) */
  left: 0;               /* 컨테이너 너비 안에서 양끝 맞춤 */
  right: 0;
  top: 115px;            /* 제목 아래로 들어오는 위치 (수치 조절 OK) */
  height: 230px;         /* 캡슐 높이 (220~300에서 취향 조절) */
  border-radius: var(--radius-pill, 9999px);
  overflow: hidden;
  z-index: 1;


  /* 👉 이미지 경로만 바꿔줘 */
  background: url("../image/main1.jpg") center right / cover no-repeat;
}


/* 하단 얇은 하이라이트 라인 */
.hero-banner::after{
  content: "";
  position: absolute;
  left: 56px; right: 56px; bottom: 16px;
  height: 5px; background: #fff;
  opacity: .9;
  margin: 0 0 70px; 
}

/* 태그 칩 */
.chips{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 20px;        /* row-gap 16px / column-gap 20px */
  margin: 160px 0;        /* 위아래 여백 살짝 증가 */
}

/* 칩 */
.chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;      /* 125 → 140 */
  height: 38px;          /* 31 → 38 */
  padding: 0 16px;       /* 0 12 → 0 16 */
  border-radius: 9999px; /* 완전한 pill */
  border: 1px solid hsl(0, 0%, 77%);
  background: #fff;
  color: var(--gray-700);
  font: 400 14px/1 "Noto Sans", var(--body-font); /* 13px → 14px, weight 400 */
  text-decoration: none;
  }

/* (선택) 호버/클릭 느낌 조금 추가 */
.chip:hover{ background-color: #3A7ACD; /* 파란 배경 */
  color: #fff;              /* 글자색 흰색 */
  border-color: #3A7ACD;    /* 테두리도 파랑 */
  cursor: pointer;          /* 마우스 올리면 손가락 모양 */
  transform: scale(1.05);   /* 5% 커짐 */
  transition: all 0.25s ease; /* 부드럽게 전환 */
  box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.chip:active{ transform: translateY(1px); }

/* 최근 포트폴리오 */
.item-title{margin:12px 0 4px;font:600 16px/17px var(--title-font);color:var(--black)}
.item-date{display:block;color:var(--primary);font:600 16px/17px var(--title-font)}

/* ── RECENT PORTFOLIO ─────────────────────────── */
#recent, #true, #about, #work, #shorts, #skill{
    margin: 140px auto;
}
.recent .section-head .hr{
  width:320px;          /* 요청한 선 길이 */
  height:2px;
  background:#111;
  margin:8px 0 28px;
}

.recent .grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:56px;             /* 카드 간 간격 */
  align-items:start;
}

.recent .item{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

/* 3열 그리드 */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

/* 카드 폭을 320px 썸네일에 맞춰 제한하려면 선택 */
.item { max-width: 320px; }

/* 반응형에서 1열로 내려가는 게 싫으면 이 부분을 없애거나 값 조정 */
@media (max-width: 980px){
  .grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .grid-3{ grid-template-columns: 1fr; } /* 필요 없으면 삭제 */
}

/* 썸네일 프레임: 320×220 고정 */
.recent .card-thumb{
  width:min(320px,100%);
  height:220px;
  margin:0 0 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
  color:#9ca3af; /* placeholder 텍스트 색 */
  overflow:hidden;
}

/* 이미지를 넣을 때 */
.recent .card-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;   /* 잘림 없이 보이기 / 꽉 채우려면 cover 로 변경 */
  display:block;
}

/* 제목/날짜 */
.recent .item-title{
  max-width:min(320px,100%);
  margin:6px 0 4px;
  font-weight:700;
  font-size:16px;
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#111827;
}
.recent .item-date{
  font-weight:600;
  font-size:14px;
  line-height:1.4;
  color:#3b82f6;        /* 파란 날짜 */
}

/* 반응형 */
@media (max-width:980px){
  .recent .grid-3{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:640px){
  .recent .grid-3{ grid-template-columns:1fr; gap:28px; }
}


/* 쿤스트배너 */


/* WORK */
.worklist{display:flex;flex-direction:column;gap:48px}
.work-row{display:grid;grid-template-columns:600fr 580fr;gap:24px;align-items:start}
.work-row h3{margin:0 0 12px;font:600 20px/22px var(--title-font)}
.work-row .desc{margin:0 0 16px;font:600 16px/1.7 var(--title-font);color:var(--gray-900)}
.actions{display:flex;gap:16px;flex-wrap:wrap}

/* 숏츠 */
.shorts-row{display:flex;gap:24px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.short-card{flex:0 0 269px;aspect-ratio:9/16;background:#D9D9D9;border-radius:12px;scroll-snap-align:start;display:grid;place-items:center;color:#666;font:600 14px/1 var(--title-font)}
.pager{display:flex;gap:24px;justify-content:center;margin-top:16px}
.pager span{font:700 20px/1.6 "Noto Sans KR", var(--body-font);color:#333}

/* SKILL */
.skill-col{text-align:center;padding:16px}
.skill-col .icon{width:51px;height:51px;margin:0 auto 8px;border:4px solid #000;border-radius:999px;display:grid;place-items:center;font:700 20px/1 var(--body-font)}
.skill-col h3{margin:8px 0 6px;font:700 20px/32px "Noto Sans KR", var(--body-font);color:#333}
.skill-col p{margin:0;font:400 16px/1.6 "Noto Sans KR", var(--body-font);color:#333}

/* ABOUT */
.about-grid{display:grid;grid-template-columns:444px 1fr;gap:24px;align-items:start}
.about-photo{border-radius:12px;overflow:hidden;background:#eee}
.about-photo img{width:100%;height:100%;object-fit:cover}
.about-kicker{margin:0 0 8px;font:700 30px/48px "Noto Sans KR", var(--body-font)}
.about-name{margin:0 0 16px;font:700 30px/48px "Noto Sans KR"}
.rows{margin:8px 0 0;display:grid;gap:10px}
.rows div{display:grid;grid-template-columns:84px 1fr;gap:12px;align-items:start}
.rows dt{margin:0;font:600 24px/38px var(--title-font);color:#333;text-align:left}
.rows dd{margin:0;font:500 20px/32px var(--title-font);color:#333}

/* CONTACT */
.contact-form{display:grid;gap:12px;max-width:461px}
.contact-form input,.contact-form textarea{
  width:100%;padding:12px 14px;border:1px solid #ddd;border-radius:10px;font:400 16px/1.4 var(--body-font)
}

/* 컬러 블록 */

/* ===== Duotone Banner ===== */
.duotone{
  --navy:#0f1b2b;      /* 배경색 */
  --ink:#121F31;       /* 영문 보조 텍스트 색 */
  color:#fff;
  background:var(--navy);
  display:grid;
  grid-template-columns: 1.2fr 1fr;  /* 왼쪽 텍스트 / 오른쪽 이미지 */
  min-height:354px;                  /* 목표 높이 */
}

/* 왼쪽 텍스트 영역 */
.duo-left{
  display:flex;
  align-items:center;
  padding: 44px 40px 48px 56px;      /* 위/오/아/왼 (스크린샷 간격 느낌) */
}
.duo-left > div{ max-width: 640px; }

/* 큰 한글 문장(두 줄) — 굵고 살짝 조여진 자간 */
.duo-left > div > p:first-child{
  margin:0 0 24px;
  font-weight:300;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height:1.55;
  letter-spacing:-0.015em;           /* 한글 자간 살짝 줄임 */
}

/* 영문 보조문 + 화살표 한 줄로 */
.duo_link{
  display:flex;
  align-items:center;
  gap:24px;
}

/* 영문 보조문 — 이탤릭/굵게/연한 색 */
.duo_link p{
  margin:0;
  font-style: italic;
  font-weight:700;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height:1.6;
  color: #ccc(--ink);
}

.duotone{display:grid;grid-template-columns:1fr 1fr}
.duo-left{
    position: relative;
    background:var(--ink);height:354px;
}
.duo-left>div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: 0px;
    top:0px;
    width: 570px;
    height: 100%;
    background-color: #121F31;
}
.duo-left>div>p{
    margin-bottom: 52px;
}
.duo_link{
    display: flex;
}
.duo_link>p{
    margin-right: 28px;
}

.duo-right{
    background:url(../image/drowing_kid.jpg) no-repeat left center;
    height:354px;
}

/* 푸터 */
.footer{padding:40px 20px;color:#fff;background:#111}

/* 반응형 */
@media (max-width: 1200px){
  .hero-title{font-size:48px}
}
@media (max-width: 1024px){
  .grid-3{grid-template-columns:1fr 1fr}
  .work-row{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .menu{display:none}
  .grid-3,.grid-2,.grid-4{grid-template-columns:1fr}
  .section-title{font-size:32px;line-height:1.2}
  .hero-title{font-size:36px}
}


/* 배너 전체 기본 폰트: Noto Sans KR */
.duotone{
  font-family: 'Noto Sans KR','Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Apple SD Gothic Neo','Malgun Gothic', sans-serif;
}

/* 제목(한글) 자간/두께는 Noto Sans KR 기준 */
.duo-left > div > p:first-child{
  letter-spacing:-0.015em;  /* 한글 약간 조여주기 */
  font-weight:600;          /* 굵게 */
}

/* 영문 보조문은 이탤릭이 있는 Noto Sans 사용 */
.duo_link p{
  font-family: 'Noto Sans','Noto Sans KR', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-style: italic;
  font-weight:700;
}

/* Arrow button */
.cta{
display:inline-grid;
place-items:center;
width:56px;height:56px;
border-radius:50%;
border:2px solid var(--ring);
background:transparent;
text-decoration:none;
transition:transform .2s ease, border-color .2s ease, background .2s ease;
outline-offset:4px;
}
.cta:hover{transform:translateY(-2px);border-color:#5e7aa7;background:rgba(255,255,255,0.03)}
.cta:active{transform:translateY(0)}
.cta svg{display:block;width:24px;height:24px}


/* Image block */
.banner__image{
position:relative;
border-radius:6px;
overflow:hidden;
aspect-ratio: 16/5.5; /* wide slice like your screenshot */
min-height:220px;
box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.banner__image img{
width:100%;height:100%;
object-fit:cover;object-position:center right; /* 오른쪽 초점 */
display:block;
}


/* Responsive: stack on small screens */
@media (max-width:880px){
.banner__inner{grid-template-columns:1fr;gap:24px;padding:32px 20px}
.banner__image{order:-1;aspect-ratio: 16/9;min-height:200px}
}

/* 레이아웃 */
.about-grid{
  margin: 48px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 360px 1fr; /* 왼쪽 사진 / 오른쪽 글 */
  gap: 40px;
  align-items: start;
}
.about_inner{
    display: flex;
}

/* 사진 */
.about-photo{
    margin-right: 200px;
}
.about-photo img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* 사진이랑 프로필 글자 사이 간격 */
/* 레이아웃 */
.about-grid{
  margin: 56px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 360px 1fr;   /* 사진 / 글 */
  gap: 40px;
}

/* 사진 */
.about-photo img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

/* 타이포 */
.about-kicker{ margin:0 0 6px; font-weight:800; font-size:18px; line-height:1.4; }
.about-name{   margin:0 0 24px; font-weight:900; font-size:30px; line-height:1.25; }

/* dl 두 단(라벨/내용) */
.rows{ margin:0; }
.rows > div{
  display:grid;
  grid-template-columns: 64px 1fr; /* dt / dd */
  column-gap: 20px;
}
.rows > div + div{ margin-top: 12px; } /* 항목 간 문단 간격 */

.rows dt{
  margin:0;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  color:#111827;
}
.rows dd{ margin:0; }

/* 각 경력 항목 내부: 기간(왼쪽) / 회사(오른쪽) */
.exp{
  display:grid;
  grid-template-columns: 180px 1fr; /* 왼쪽 기간 블록 고정폭 */
  column-gap: 24px;
  align-items:start;
}

/* 왼쪽: 연도 + 작은 기간 */
.exp__range{
  font-size:15px;
  font-weight:700;
  line-height:1.4;
  color:#111827;
}
.exp__duration{
  margin-top:4px;
  font-size:12.5px;
  font-weight:500;
  line-height:1.4;
  color:#6b7280; /* 회색 작은 글씨 */
}

/* 오른쪽: 회사명 + 작은 직책 */
.exp__company{
  font-size: 18px;    /* ← 15px에서 18px로 키움 */
  font-weight: 800;
  line-height: 1.35;  /* 살짝 타이트하게 */
  letter-spacing: -0.005em; /* 굵은 영문 정리용(선택) */
  color:#111827;
}
.exp__role{
  margin-top:4px;
  font-size:13px;     /* 12.5 → 13로 살짝 키워 균형 */
  font-weight:500;
  line-height:1.4;
  color:#6b7280;
}
/* 회사명: 줄바꿈 금지 + 자간 살짝 확대 */
.exp__company{
  white-space: nowrap;        /* 줄바꿈 X */
  letter-spacing: 0.02em;     /* 자간 +2% 정도 (한글은 이 정도가 깔끔) */
}

/* 기본(모바일 포함) */
.exp__company{ font-size:16px; }     /* 모바일 기본값 */
.exp__role{ font-size:13px; }

/* 데스크톱에서만 키우기 */
@media (min-width: 821px){
  .exp__company{ font-size:18px; }
  .exp__role{ font-size:13px; }      /* 필요하면 그대로 두거나 13.5로 */
}


/* 맨아래 컨텍트 아이콘 나란히 정렬 */

.section-head > div {
  display: flex;        /* 가로 정렬 */
  gap: 100px;            /* 아이콘 사이 간격 */
  justify-content: center; /* 가운데 정렬 (원하면 left/right로 변경) */
  align-items: center;
  margin-top: 40px;
}

.section-head > div a img {
  width: 40px;  /* 아이콘 크기 조절 */
  height: auto;
  display: block;
}
/* 맨아래 send 가운데 정렬 */
.contact-form {
  max-width: 400px;       /* 폼 최대 너비 (적당히 조절 가능) */
  margin: 0 auto;         /* 좌우 자동 마진 → 가운데 정렬 */
  display: flex;
  flex-direction: column; /* 세로로 쌓기 */
  gap: 12px;              /* 입력칸 사이 여백 */
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 14px;
}

.contact-form .btn {
  padding: 12px;
  background-color: #0f1b2b; /* 버튼 색상 예시 */
  color: white;
  border: none;
  cursor: pointer;
}
/* 전체 폰트 */
:root{
  --font-sans: 'Noto Sans KR','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,
               'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
}

/* 페이지 기본 폰트 */
html, body { font-family: var(--font-sans); }

/* 영문 이탤릭 쓰는 곳(보조 문구 등) */
.duo_link p { font-family: 'Noto Sans', var(--font-sans); font-style: italic; }

/* 네가 쓰는 변수 기반 스타일이 있으면 같이 세팅해줘 */
:root{ --title-font: var(--font-sans); }



/* 내가한 작업들 컨셉설명란 */
.work-row {
  display: flex;
  align-items: stretch;   /* 이미지와 텍스트 높이 동일하게 */
  gap: 20px;              /* 좌우 간격 */
  margin-bottom: 32px;    /* 아래쪽 카드 간격 */
}



.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 비율 유지하면서 채움 */
  display: block;
}

.work-meta {
  flex: 1;                /* 남은 공간 차지 */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 설명은 위, 버튼은 아래 */
}
.work-meta .desc {
  line-height: 1.7;   /* 문장 줄 간격 */
}
/* 사진 영역 고정 */
.card-thumb {
  flex: 0 0 300px;   /* 원하는 고정 너비(px 단위나 %) */
}

.card-thumb img {
  width: 100%;
  height: auto;      /* 세로 비율 유지 */
  display: block;
  object-fit: cover; /* 비율 맞춰 잘리게 (선택) */
}

/* 텍스트 간격 */
.work-meta .desc {
  line-height: 1.7;
}

.work-meta .desc b {
  display: inline-block;  /* block 대신 inline-block */
  margin-top: 16px;
  margin-bottom: 4px;
  font-weight: 700;
}
.card-thumb {
  flex: 0 0 40%;          /* 이미지 영역 비율 (40%) */
}