/* ============================================================
   hince careers — 스타일
   톤: 절제되고 감각적인 뷰티 브랜드. 여백 넉넉하게, 형용사적 장식 최소화.
   실제 브랜드 색상/폰트/이미지 에셋이 들어오면 :root 변수와
   [data-asset] 영역만 교체하면 되도록 구성했습니다.
   ============================================================ */

:root{
  /* --- 컬러: 힌스 실제 브랜드 컬러 확정 전 임시 팔레트 --- */
  --ink:        #1c1a19;   /* 텍스트 기본 */
  --ink-soft:   #55504c;   /* 보조 텍스트 */
  --paper:      #faf7f3;   /* 배경 (따뜻한 오프화이트) */
  --paper-dim:  #f1ece5;
  --line:       #e4ddd3;
  --accent:     #a9564f;   /* 더스티 로즈 — placeholder */
  --accent-ink: #6d332e;
  --accent-soft:#f0dcd8;
  --white:      #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,p,ul{ margin:0; }
ul,ol{ padding:0; margin:0; list-style:none; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:14px 26px; border-radius:999px;
  border:1px solid var(--ink); background:var(--ink); color:var(--paper);
  font-size:15px; font-weight:600; text-decoration:none;
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn:hover{ transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--ink); }
.btn--sm{ padding:9px 18px; font-size:13px; }

/* ── 헤더 ─────────────────────────────────────────── */
.nav{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:14px var(--gutter);
  background:rgba(250,247,243,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav__brand{ font-weight:700; letter-spacing:-.01em; text-decoration:none; font-size:15px; }
.nav__menu{ display:flex; gap:26px; flex:1; justify-content:center; }
.nav__menu a{ font-size:14px; text-decoration:none; color:var(--ink-soft); transition:color .2s; }
.nav__menu a:hover, .nav__menu a.is-active{ color:var(--ink); }
.nav__right{ display:flex; align-items:center; gap:14px; }
.lang{ display:flex; gap:4px; border:1px solid var(--line); border-radius:999px; padding:3px; }
.lang__btn{ border:0; background:transparent; padding:5px 10px; border-radius:999px; font-size:12px; color:var(--ink-soft); }
.lang__btn.is-on{ background:var(--ink); color:var(--paper); }
.nav__toggle{ display:none; border:0; background:none; width:32px; height:32px; position:relative; }
.nav__toggle span{ position:absolute; left:6px; right:6px; height:2px; background:var(--ink); border-radius:2px; }
.nav__toggle span:first-child{ top:12px; } .nav__toggle span:last-child{ bottom:12px; }

.lang-notice{
  background:var(--accent-soft); color:var(--accent-ink);
  font-size:13px; text-align:center; padding:9px var(--gutter);
}

@media (max-width:860px){
  .nav__menu, .nav__cta, .nav__right .lang{ display:none; }
  .nav__toggle{ display:block; }
}

/* ── 공통 섹션 레이아웃 ───────────────────────────── */
.sec{ max-width:var(--maxw); margin:0 auto; padding:96px var(--gutter); }
.sec__head{ max-width:640px; margin-bottom:48px; }
.sec__label{ font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); margin-bottom:12px; }
.sec__label--center{ text-align:center; }
.sec__title{ font-size:clamp(26px,3.4vw,38px); font-weight:700; letter-spacing:-.02em; margin-bottom:14px; white-space:pre-line; }
.sec__lead{ color:var(--ink-soft); font-size:16px; max-width:56ch; white-space:pre-line; }
.footnote{ margin-top:28px; font-size:12.5px; color:var(--ink-soft); }
.disclaimer{ margin-top:20px; font-size:12.5px; color:var(--ink-soft); max-width:64ch; white-space:pre-line; }

/* ── S1. Hero ─────────────────────────────────────── */
.hero{ position:relative; min-height:min(760px,100svh); display:flex; align-items:flex-end; overflow:hidden; }
.hero__media{ position:absolute; inset:0; background:linear-gradient(155deg,#2a2523 0%, #6d332e 46%, #a9564f 78%, #e8c9bd 100%); }
.hero__grain{
  position:absolute; inset:0; opacity:.18; mix-blend-mode:overlay;
  background-image:radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px);
  background-size:3px 3px;
}
.hero__inner{ position:relative; z-index:1; color:#fff; padding:64px var(--gutter) 88px; max-width:var(--maxw); margin:0 auto; width:100%; }
.hero__eyebrow{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; opacity:.8; margin-bottom:18px; }
.hero__headline{ font-size:clamp(34px,6vw,64px); font-weight:700; letter-spacing:-.02em; line-height:1.15; white-space:pre-line; margin-bottom:20px; }
.hero__sub{ font-size:16px; max-width:52ch; opacity:.88; margin-bottom:32px; }
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; }
.hero__cta .btn{ border-color:#fff; }
.hero__cta .btn:first-child{ background:#fff; color:var(--ink); }
.hero__cta .btn--ghost{ color:#fff; }
.hero__scroll{ position:absolute; right:var(--gutter); bottom:28px; width:1px; height:52px; background:rgba(255,255,255,.5); z-index:1; }
.hero__scroll::after{ content:""; position:absolute; left:-2px; top:0; width:5px; height:5px; border-radius:50%; background:#fff; animation:scrollDot 1.8s infinite var(--ease); }
@keyframes scrollDot{ 0%{ transform:translateY(0); opacity:1;} 90%{ transform:translateY(46px); opacity:0;} 100%{ opacity:0;} }

/* ── S2. Why now ──────────────────────────────────── */
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.stat{ background:var(--paper); padding:28px 22px; }
.stat__value{ font-size:clamp(28px,3vw,36px); font-weight:700; letter-spacing:-.02em; color:var(--accent-ink); }
.stat__value sup{ font-size:.5em; font-weight:600; margin-left:2px; }
.stat__label{ margin-top:6px; font-size:13.5px; color:var(--ink-soft); font-weight:600; }
.stat__context{ margin-top:10px; font-size:13px; color:var(--ink-soft); line-height:1.55; }

/* ── S3. Narrative Beauty ─────────────────────────── */
.sec--narrative{ text-align:center; background:var(--paper-dim); max-width:none; }
.narrative{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:34px; }
.narrative p{ font-size:clamp(18px,2.4vw,24px); line-height:1.6; letter-spacing:-.01em; }
.narrative p:nth-child(2){ color:var(--accent-ink); }

/* ── S4. Scene Tour ───────────────────────────────── */
.tour__bar{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; flex-wrap:wrap; }
.tour__hint{ font-size:13px; color:var(--ink-soft); }
.tour__hint kbd{ background:var(--paper-dim); border:1px solid var(--line); border-radius:4px; padding:1px 6px; font-size:12px; }
.tour__stage{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:#20191c; aspect-ratio:16/8; }
#tourCanvas{ width:100%; height:100%; display:block; touch-action:pan-y; }
.tour__prompt{ position:absolute; left:50%; bottom:22px; transform:translateX(-50%); display:flex; align-items:center; gap:8px; background:rgba(20,16,15,.72); color:#fff; padding:8px 14px; border-radius:999px; font-size:13px; backdrop-filter:blur(4px); }
.tour__prompt kbd{ background:rgba(255,255,255,.16); border-radius:5px; padding:2px 7px; font-size:12px; }
.tour__nav{ position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; padding:0 10px; pointer-events:none; }
.tour__arrow{ pointer-events:auto; width:40px; height:40px; border-radius:50%; border:0; background:rgba(255,255,255,.14); color:#fff; font-size:20px; backdrop-filter:blur(4px); transition:background .2s; }
.tour__arrow:hover{ background:rgba(255,255,255,.28); }
.tour__progress{ display:flex; justify-content:center; gap:8px; margin-top:18px; }
.tour__progress[hidden]{ display:none; }
.tour__progress button{ width:8px; height:8px; border-radius:50%; border:0; background:var(--line); padding:0; }
.tour__progress button.is-active{ background:var(--accent); width:22px; border-radius:5px; transition:all .25s var(--ease); }

.tour__list{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-top:8px; }
.tour__list[hidden]{ display:none; }
.tour__list-card{ text-align:left; border:1px solid var(--line); border-radius:var(--radius-md); padding:20px; background:var(--white); }
.tour__list-card h3{ font-size:16px; margin-bottom:4px; }
.tour__list-card .team{ font-size:12.5px; color:var(--accent-ink); font-weight:600; margin-bottom:10px; display:block; }
.tour__list-card p{ font-size:13.5px; color:var(--ink-soft); margin-bottom:10px; }
.tour__list-card .btn{ width:100%; }

/* 팀 카드 / 사람 모달 */
.modal{ position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal[hidden]{ display:none; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(20,16,15,.55); backdrop-filter:blur(2px); }
.modal__panel{ position:relative; background:var(--white); border-radius:var(--radius-lg); max-width:480px; width:100%; padding:32px; max-height:82vh; overflow:auto; animation:modalIn .22s var(--ease); }
@keyframes modalIn{ from{ opacity:0; transform:translateY(8px) scale(.98);} to{ opacity:1; transform:none;} }
.modal__close{ position:absolute; top:14px; right:14px; width:32px; height:32px; border-radius:50%; border:0; background:var(--paper-dim); font-size:18px; line-height:1; }
.card-team .badge, .card-person .badge{ display:inline-block; font-size:11px; font-weight:700; color:var(--accent-ink); background:var(--accent-soft); padding:3px 9px; border-radius:999px; margin-bottom:12px; }
.card-team h3{ font-size:20px; margin-bottom:2px; }
.card-team .team-label{ font-size:13px; color:var(--ink-soft); margin-bottom:18px; display:block; }
.card-team h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); margin:18px 0 6px; }
.card-team p{ font-size:14.5px; }
.card-team .jobs{ margin-top:18px; display:flex; flex-direction:column; gap:8px; }
.card-team .jobs a{ display:flex; justify-content:space-between; align-items:center; border:1px solid var(--line); border-radius:var(--radius-sm); padding:10px 14px; font-size:13.5px; text-decoration:none; }
.card-team .jobs a:hover{ border-color:var(--accent); }
.card-team .no-jobs{ font-size:13px; color:var(--ink-soft); }

/* ── S5. 일하는 방식 ──────────────────────────────── */
.principles{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
.principle{ border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; background:var(--white); }
.principle h3{ font-size:16.5px; margin-bottom:16px; letter-spacing:-.01em; }
.principle .row{ display:flex; gap:10px; margin-bottom:10px; font-size:13.5px; line-height:1.55; }
.principle .row b{ flex:none; font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; height:fit-content; }
.principle .row.do b{ background:#e7f0e6; color:#33622f; }
.principle .row.dont b{ background:#f3e3e1; color:#8a3a34; }

/* ── S6. Mood Check ───────────────────────────────── */
.mood{ border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--white); padding:36px; }
.mood__intro{ text-align:center; }
.mood__intro p{ font-size:14.5px; color:var(--ink-soft); max-width:48ch; margin:0 auto 24px; }
.mood__progress{ font-size:12.5px; color:var(--ink-soft); text-align:center; margin-bottom:18px; letter-spacing:.02em; }
.mood__q{ text-align:center; font-size:clamp(18px,2.4vw,22px); font-weight:600; letter-spacing:-.01em; margin-bottom:28px; }
.mood__choices{ display:grid; gap:12px; max-width:560px; margin:0 auto; }
.mood__choice{ text-align:left; border:1px solid var(--line); border-radius:var(--radius-md); padding:18px 20px; background:var(--paper); font-size:14.5px; transition:border-color .2s, background .2s; }
.mood__choice:hover{ border-color:var(--accent); background:var(--accent-soft); }
.mood__result{ text-align:center; }
.mood__result .type-tag{ display:inline-block; font-size:12px; font-weight:700; color:var(--accent-ink); background:var(--accent-soft); padding:4px 12px; border-radius:999px; margin-bottom:14px; }
.mood__result h3{ font-size:clamp(24px,3vw,30px); margin-bottom:12px; }
.mood__result p{ font-size:14.5px; color:var(--ink-soft); max-width:52ch; margin:0 auto 10px; }
.mood__result .recommend{ margin-top:22px; border:1px dashed var(--line); border-radius:var(--radius-md); padding:18px; text-align:left; }
.mood__result .recommend b{ display:block; font-size:12.5px; color:var(--accent-ink); margin-bottom:8px; }
.mood__result .recommend .job-links{ display:flex; flex-direction:column; gap:6px; }
.mood__actions{ margin-top:26px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

/* ── S7. 구성원 ───────────────────────────────────── */
.people{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.person{ text-align:left; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px; background:var(--white); }
.person__avatar{ width:44px; height:44px; border-radius:50%; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:16px; }
.person__role{ font-size:12.5px; color:var(--ink-soft); margin-bottom:10px; }
.person__quote{ font-size:14.5px; line-height:1.55; }
.card-person .full{ font-size:14.5px; line-height:1.7; color:var(--ink-soft); }

/* ── S8. Benefits ─────────────────────────────────── */
.benefits{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.benefit{ background:var(--white); padding:26px; }
.benefit h3{ font-size:15px; margin-bottom:14px; }
.benefit li{ font-size:13.5px; color:var(--ink-soft); padding:6px 0; border-top:1px solid var(--paper-dim); }
.benefit li:first-child{ border-top:0; }

/* ── S9. Jobs ─────────────────────────────────────── */
.jobs{ display:flex; flex-direction:column; gap:10px; margin-bottom:20px; }
.job{ display:flex; align-items:center; justify-content:space-between; gap:14px; border:1px solid var(--line); border-radius:var(--radius-md); padding:18px 22px; text-decoration:none; background:var(--white); transition:border-color .2s; flex-wrap:wrap; }
.job:hover{ border-color:var(--accent); }
.job__title{ font-weight:700; font-size:15.5px; }
.job__meta{ font-size:12.5px; color:var(--ink-soft); margin-top:3px; }
.job__arrow{ font-size:18px; color:var(--accent-ink); }
.pool{ border:1px dashed var(--line); border-radius:var(--radius-md); padding:20px 22px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.pool p{ font-size:13.5px; color:var(--ink-soft); max-width:52ch; }
.process h3{ font-size:15px; margin-bottom:6px; }
.process .note{ font-size:12.5px; color:var(--ink-soft); margin-bottom:18px; }
.process__steps{ display:flex; flex-wrap:wrap; gap:0; counter-reset:step; list-style:none; margin:0; padding:0; }
.process__steps li{ flex:1; min-width:110px; position:relative; padding:14px 10px 0; text-align:center; font-size:13px; }
.process__steps li::before{ counter-increment:step; content:counter(step); display:flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--ink); color:var(--paper); font-size:12px; margin:0 auto 8px; }

/* ── S10. Footer ──────────────────────────────────── */
.foot{ border-top:1px solid var(--line); padding:48px var(--gutter); display:flex; flex-wrap:wrap; gap:24px; justify-content:space-between; max-width:var(--maxw); margin:0 auto; font-size:13px; color:var(--ink-soft); }
.foot a{ text-decoration:none; }
.foot a:hover{ color:var(--ink); }
.foot__lang{ display:flex; gap:10px; }

/* ── hince Desk ───────────────────────────────────── */
.desk__fab{ position:fixed; right:22px; bottom:22px; z-index:80; display:flex; align-items:center; gap:8px; border:0; border-radius:999px; background:var(--ink); color:var(--paper); padding:13px 20px; font-size:14px; font-weight:600; box-shadow:0 10px 30px rgba(0,0,0,.18); }
.desk__fab-dot{ width:7px; height:7px; border-radius:50%; background:#8fd19e; }
.desk{ position:fixed; right:22px; bottom:86px; z-index:80; width:min(340px,calc(100vw - 32px)); max-height:min(520px,70vh); background:var(--white); border-radius:var(--radius-lg); box-shadow:0 20px 60px rgba(0,0,0,.22); display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); }
.desk[hidden]{ display:none; }
.desk__head{ display:flex; justify-content:space-between; align-items:flex-start; padding:16px 18px; border-bottom:1px solid var(--line); }
.desk__title{ font-weight:700; font-size:14.5px; }
.desk__sub{ font-size:12px; color:var(--ink-soft); margin-top:2px; }
.desk__close{ border:0; background:none; font-size:18px; }
.desk__log{ flex:1; overflow-y:auto; padding:16px 18px; display:flex; flex-direction:column; gap:10px; font-size:13.5px; }
.desk__log .msg{ max-width:88%; padding:10px 13px; border-radius:12px; line-height:1.5; white-space:pre-line; }
.desk__log .msg--bot{ background:var(--paper-dim); align-self:flex-start; border-bottom-left-radius:3px; }
.desk__log .msg--user{ background:var(--ink); color:var(--paper); align-self:flex-end; border-bottom-right-radius:3px; }
.desk__choices{ padding:12px 18px 18px; display:flex; flex-wrap:wrap; gap:8px; border-top:1px solid var(--line); }
.desk__choices button{ border:1px solid var(--line); background:var(--white); border-radius:999px; padding:8px 14px; font-size:13px; }
.desk__choices button:hover{ border-color:var(--accent); }
.desk__choices a.btn{ width:100%; }

/* ── 초안 검수 ────────────────────────────────────── */
.draft-toggle{ position:fixed; left:22px; bottom:22px; z-index:80; border:1px solid var(--line); background:var(--white); border-radius:999px; padding:10px 16px; font-size:12.5px; color:var(--ink-soft); box-shadow:0 6px 20px rgba(0,0,0,.08); }
.draft-banner{ position:fixed; top:0; left:0; right:0; z-index:90; background:#3a2320; color:#f4d9d3; text-align:center; font-size:13px; padding:9px 16px; }
.draft-banner[hidden]{ display:none; }
body.draft-mode [data-draft="true"]{ outline:2px dashed #c96a5f; outline-offset:6px; position:relative; }
body.draft-mode [data-draft="true"]::before{
  content:"초안"; position:absolute; top:-11px; left:14px; background:#c96a5f; color:#fff;
  font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:999px; z-index:2;
}

/* ── 마이크로 페이지 전용: 간단 헤더 ───────────────── */
.microhero{
  max-width:var(--maxw); margin:0 auto; padding:76px var(--gutter) 56px;
  border-bottom:1px solid var(--line);
}
.microhero__eyebrow{ font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:16px; }
.microhero__headline{ font-size:clamp(28px,4.6vw,44px); font-weight:700; letter-spacing:-.02em; line-height:1.24; white-space:pre-line; margin-bottom:16px; max-width:20ch; }
.microhero__sub{ font-size:16px; color:var(--ink-soft); max-width:56ch; margin-bottom:28px; white-space:pre-line; }
.microhero__cta{ display:flex; gap:12px; flex-wrap:wrap; }

/* ── 마이크로 페이지 전용: hince Desk 티저 섹션 ───── */
.desk-teaser{
  max-width:var(--maxw); margin:0 auto; padding:96px var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.desk-teaser__text{ max-width:520px; }
.desk-teaser .sec__label{ margin-bottom:12px; }
.desk-teaser .sec__title{ margin-bottom:12px; }
.desk-teaser .sec__lead{ margin-bottom:0; }
@media (max-width:640px){
  .sec{ padding:64px var(--gutter); }
  .hero__cta{ flex-direction:column; align-items:stretch; }
  .microhero{ padding:56px var(--gutter) 40px; }
  .microhero__cta{ flex-direction:column; align-items:stretch; }
  .desk-teaser{ padding:64px var(--gutter); flex-direction:column; text-align:center; }
  .desk{ right:16px; bottom:78px; left:16px; width:auto; }
  .desk__fab{ right:16px; bottom:16px; }
  .draft-toggle{ left:16px; bottom:16px; padding:8px 12px; font-size:11.5px; }
}
