/* TEES 홈페이지 — 쪽마다 한 주제(사장님 2026-11-16). 짙은 가죽 머리 + 종이 본문 + 금실(바늘땀 점선) 하나의 무늬.
   2026-11-20 새 짜임: 공방 사진 없음 · 앱 화면과 가상 제품 · 영상은 글자 없이, 자막은 아래에 여섯 말. */
:root {
  --bg: #faf7f2; --surface: #ffffff; --ink: #1d1814; --muted: #6d635a;
  --line: #e8e0d5; --accent: #7a4b2a; --accent-soft: #f3e9dd; --gold: #c9a063;
  --dark: #17120e; --dark-2: #2a1f17; --on-dark: #f4ede3; --on-dark-muted: #c9bcab;
  --paper-shot: #ffffff;   /* 앱 화면 그림 바탕(그림이 흰 바탕이라 어두운 쪽에서도 흰 틀) */
  --stitch: 2px dashed color-mix(in srgb, var(--gold) 70%, transparent);
  --serif: "Shippori Mincho", "Noto Serif KR", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Malgun Gothic", system-ui, sans-serif;
  --latin: "Cormorant Garamond", Georgia, serif;
  --r-lg: 22px; --r-md: 16px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14110d; --surface: #1f1a15; --ink: #f1ece4; --muted: #a99f93; --line: #342d25; --accent: #d39a6a; --accent-soft: #2c241b; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img, video { max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* 머리 줄 — 어두운 머리 위에 떠 있다가, 내리면 바탕이 생긴다 */
header { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); }
header.solid { background: color-mix(in srgb, var(--dark) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(201,160,99,.18); }
.bar { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { font-family: var(--serif); font-weight: 800; letter-spacing: .22em; font-size: 22px; text-decoration: none; color: var(--on-dark); }
header nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
header nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
header nav a:hover, header nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
header nav a.nav-cta { border: 1px solid rgba(201,160,99,.6); border-radius: 999px; padding: 5px 16px; color: #fff; }
header nav a.nav-cta:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.lang { appearance: none; -webkit-appearance: none; background-color: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
        padding: 6px 30px 6px 14px; font: inherit; font-size: 13px; cursor: pointer;
        background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
        background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.lang:hover { border-color: var(--gold); }
.lang option { color: #1d1814; background: #fff; }
html[lang="zh"] { --serif: "Noto Serif SC", "Songti SC", "SimSun", serif; --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html[lang="vi"], html[lang="en"] { --serif: "Noto Serif", Georgia, serif; --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html[lang="ne"] { --serif: "Noto Serif Devanagari", "Nirmala UI", serif; --sans: "Nirmala UI", "Kohinoor Devanagari", system-ui, sans-serif; }
html[lang="ne"] .hero h1, html[lang="ne"] h2 { line-height: 1.5; letter-spacing: 0; }
/* 일본어 · 한국어 · 중국어 제목은 낱말 덩이째 줄을 바꾼다(「知ら/せる」 같은 끊김 방지 — 되는 브라우저에서) */
html[lang="ja"] :is(h1, h2, h3, .cue, .hero-lead), html[lang="zh"] :is(h1, h2, h3, .cue) { word-break: auto-phrase; }
html[lang="ko"] :is(h1, h2, h3, p, li, .cue) { word-break: keep-all; }
.menu { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu span { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }
@media (max-width: 1100px) {
  .menu { display: block; }
  header nav { display: none; position: absolute; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
               background: var(--dark); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 20px; border-bottom: 1px solid rgba(201,160,99,.2); }
  header.open nav { display: flex; }
  header.open { background: var(--dark); }
  header nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  header nav a.nav-cta { margin-top: 14px; text-align: center; padding: 12px; }
}

/* 쪽 머리 — 짙은 가죽. 아래 가장자리에 금실 바늘땀 한 줄 */
.hero { position: relative; color: var(--on-dark); padding: 176px 0 104px; overflow: hidden; isolation: isolate;
        background: radial-gradient(1100px 520px at 88% -12%, #4a3222 0%, transparent 62%), radial-gradient(700px 400px at -10% 110%, #2f2118 0%, transparent 60%), linear-gradient(160deg, var(--dark-2), var(--dark)); }
.hero .wrap { position: relative; z-index: 2; }
.hero.tall { min-height: min(92vh, 900px); padding: clamp(150px, 22vh, 220px) 0 120px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .34; filter: sepia(.35) saturate(.7) contrast(1.05); transform: scale(1.03); }
@media (max-width: 760px) { .hero-bg { opacity: .16; filter: sepia(.35) saturate(.6) blur(2px); } }
.hero.has-video::after { content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(100deg, rgba(23,18,14,.97) 0%, rgba(23,18,14,.88) 45%, rgba(23,18,14,.6) 100%), linear-gradient(0deg, rgba(23,18,14,.9) 0%, transparent 35%); }
.stitch-edge { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; border-top: var(--stitch); opacity: .7; }
.eyebrow, .kicker { font-size: 12px; letter-spacing: .28em; font-weight: 700; margin: 0 0 18px; }
.eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 14px; }
.kicker { color: var(--accent); display: flex; align-items: center; gap: 12px; }
.kicker::after { content: ""; width: 40px; border-top: var(--stitch); }
.hero h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 6vw, 68px); line-height: 1.25; margin: 0 0 22px; letter-spacing: .02em; max-width: 900px; text-wrap: balance; }
.hero.tall h1 { font-size: clamp(38px, 7vw, 86px); }
.hero h1.product-name { font-size: clamp(46px, 9vw, 112px); letter-spacing: .08em; line-height: 1.05; font-weight: 800; }
.hero-lead { color: var(--on-dark-muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 680px; margin: 0; }
.hero-btns { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-aside { margin: 56px 0 0; padding-top: 18px; border-top: 1px solid rgba(201,160,99,.35); max-width: 520px; font-family: var(--serif); font-size: 15px; color: var(--on-dark-muted); letter-spacing: .03em; }
.btn { display: inline-block; background: var(--gold); color: var(--dark); text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.light { background: #fff; color: var(--dark); }
section .btn { background: var(--accent); color: #fff; }

/* 본문 */
section { padding: 104px 0; }
section.alt { background: color-mix(in srgb, var(--accent-soft) 55%, var(--bg)); }
h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.35; margin: 0 0 14px; letter-spacing: .02em; text-wrap: balance; }
.lead { color: var(--muted); margin: 0 0 40px; max-width: 760px; font-size: 17px; }
.note { color: var(--muted); font-size: 13px; margin: 22px 0 0; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60,40,20,.10); border-color: color-mix(in srgb, var(--gold) 60%, var(--line)); }
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
/* 문의 칸: LINE · 카카오톡 · 메신저 · 메일 (2026-11-28) — QR 은 PC(마우스 있는 넓은 화면)에서만 */
.ct-grid { grid-template-columns: 1fr; }
@media (min-width: 600px) { .ct-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ct-grid { grid-template-columns: repeat(4, 1fr); } }
.card.ct { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; }
.card.ct h3 { margin: 0; }
.card.ct > p { flex: 1 0 auto; }   /* 글 길이가 달라도 QR · 단추 줄을 맞춘다 */
.ct-head { display: flex; align-items: center; gap: 12px; }
.ct-logo { flex: none; width: 40px; height: 40px; }
.ct-logo svg { display: block; width: 100%; height: 100%; }
.ct-logo .bg, .ct-icon .bg { fill: var(--accent); }
/* 폰(600px 밑): 칸 대신 로고 한 줄 — 자리를 덜 차지하게 (2026-11-28) */
.ct-icons { display: none; }
@media (max-width: 599px) {
  .ct-grid { display: none; }
  .ct-icons { display: flex; justify-content: space-around; gap: 6px; margin-top: 4px; }
  .ct-icon { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; }
  .ct-icon svg { display: block; width: 52px; height: 52px; transition: transform .2s; }
  .ct-icon:active svg { transform: scale(.92); }
}
.ct-qr { display: none; margin: 2px 0 0; text-align: center; }
.ct-qr img { display: block; width: 112px; height: 112px; margin: 0 auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.ct-qr figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (hover: hover) and (min-width: 761px) { .ct-qr { display: block; } }
.card.ct .ct-btn { margin-top: auto; text-align: center; padding: 12px 16px; font-size: 14.5px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.num { font-family: var(--latin); font-style: italic; color: var(--gold); font-size: 17px; letter-spacing: .12em; }

/* 홈: 문 다섯 — 첫 문(지갑 OEM)은 가로로 크게 */
.doors { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
.door { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.door:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(60,40,20,.16); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.door-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-shot); border-bottom: 1px solid var(--line); }
.door-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.door:hover .door-img img { transform: scale(1.05); }
.door-body { padding: 26px 30px 30px; }
.door h3 { font-family: var(--serif); font-size: 25px; margin: 4px 0 8px; }
.door p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.door .more { color: var(--accent); font-weight: 700; font-size: 14px; }
.door .more::after { content: " →"; transition: margin .2s; }
.door:hover .more::after { margin-left: 6px; }
.door.lead-door { grid-column: 1 / -1; flex-direction: row; background: var(--dark); color: var(--on-dark); border-color: #2e241b; }
.door.lead-door .door-img { flex: 0 0 58%; aspect-ratio: auto; min-height: 320px; border-bottom: 0; background: var(--dark); }
.door.lead-door .door-body { align-self: center; padding: 40px 44px; }
.door.lead-door h3 { font-size: clamp(26px, 3vw, 34px); }
.door.lead-door p { color: var(--on-dark-muted); }
.door.lead-door .more { color: var(--gold); }
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
  .door.lead-door { flex-direction: column; }
  .door.lead-door .door-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .door.lead-door .door-body { padding: 26px 28px 30px; }
}

/* 도면 → 미싱 흐름: 그림 넷을 금실 점선으로 잇는다 */
.route { position: relative; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.route::before { content: ""; position: absolute; left: 6%; right: 6%; top: calc((100% - 70px) / 2); border-top: var(--stitch); z-index: 0; }
.route-step { position: relative; z-index: 1; }
.route-img { aspect-ratio: 16 / 10; background: var(--paper-shot); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 12px 30px rgba(60,40,20,.08); }
.route-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.route-step figcaption { padding: 14px 4px 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.route-step figcaption strong { color: var(--ink); font-size: 16px; font-family: var(--serif); }
@media (max-width: 960px) { .route { grid-template-columns: repeat(2, 1fr); } .route::before { display: none; } }
@media (max-width: 520px) { .route { grid-template-columns: 1fr; } }

/* 지갑 OEM: 의뢰부터 납품까지 다섯 걸음 */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; border-top: var(--stitch); }
.step-line { position: relative; padding: 0 18px 0 0; display: grid; gap: 6px; align-content: start; }
.step-no { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); border: 1px solid color-mix(in srgb, var(--gold) 70%, var(--line));
           font-family: var(--latin); font-style: italic; font-size: 20px; color: var(--accent); margin-bottom: 10px; }
section.alt .step-no { background: color-mix(in srgb, var(--accent-soft) 55%, var(--bg)); }
.step-line strong { font-family: var(--serif); font-size: 19px; }
.step-line span:last-child { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { top: 0; bottom: 0; left: 26px; right: auto; border-top: 0; border-left: var(--stitch); }
  .step-line { grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0; }
  .step-no { grid-row: span 2; margin: 0; }
}

/* 큰 그림 한 장(부품 한 벌) */
.plate { margin-top: 32px; }
.plate img { display: block; width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper-shot); box-shadow: 0 30px 70px rgba(60,40,20,.12); }
.plate figcaption { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 760px; }

/* 소개 영상: 어두운 띠 위 큰 영상 + 아래 여섯 말 자막 한 줄 */
section.film-sec { background: linear-gradient(180deg, var(--dark) 0%, #1d1611 100%); padding: 72px 0 88px; }
section.film-sec .note { color: var(--on-dark-muted); opacity: .8; }
.film-frame { border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(201,160,99,.22); }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.cues { position: relative; min-height: 3.4em; margin-top: 18px; padding-left: 20px; border-left: 2px solid var(--gold); }
.cue { display: none; color: var(--on-dark); font-family: var(--serif); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; }
.cue.on { display: block; animation: cue .5s ease both; }
@keyframes cue { from { opacity: 0; transform: translateY(6px); } }

/* 기능 줄: 그림(또는 고리 영상)과 글이 엇갈려 놓인다 */
.features { display: grid; gap: 72px; margin-top: 48px; }
.feature { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-shot); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(60,40,20,.10); }
.feature-media img, .feature-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-media img.contain { object-fit: contain; padding: 18px; }
.feature-text { min-width: 0; }
.feature-text h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; margin: 6px 0 12px; }
.feature-text p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 22px; } .feature:nth-child(even) .feature-media { order: 0; } .features { gap: 52px; } }

/* 사양 표 */
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
th, td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 30%; color: var(--muted); font-weight: 600; font-size: 14px; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
table.spec { margin-top: 32px; }
table.spec td { font-size: 15.5px; }
@media (max-width: 600px) { th, td { display: block; width: auto; } th { padding-bottom: 0; border-bottom: 0; } }  /* 폰: 이름 칸을 위, 값을 아래로(회사 개요의 긴 이름이 꺾이지 않게 · 2026-11-24) */

/* SEW 기능 카드: 고리 영상 + 글 */
.clips { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
.clip-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.clip-media { aspect-ratio: 16 / 9; background: var(--paper-shot); border-bottom: 1px solid var(--line); }
.clip-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-text { padding: 22px 26px 26px; }
.clip-text h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 8px; }
.clip-text p { margin: 0; color: var(--muted); font-size: 15px; }
.clip-card.wide { grid-column: 1 / -1; flex-direction: row; }
.clip-card.wide .clip-media { flex: 0 0 62%; border-bottom: 0; border-right: 1px solid var(--line); }
.clip-card.wide .clip-text { align-self: center; padding: 32px 36px; }
.clip-card.wide h3 { font-size: clamp(22px, 2.4vw, 28px); }
@media (max-width: 760px) { .clips { grid-template-columns: 1fr; } .clip-card.wide { flex-direction: column; } .clip-card.wide .clip-media { flex: none; border-right: 0; border-bottom: 1px solid var(--line); } }

/* SEW: 미싱 옆 화면(파는 것) — 어두운 띠 + 폰 */
section.device { background: radial-gradient(900px 500px at 15% 30%, #3a281b 0%, transparent 60%), linear-gradient(150deg, var(--dark-2), var(--dark)); color: var(--on-dark); }
.device-grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 72px; align-items: center; }
.phone { justify-self: center; width: 100%; max-width: 300px; border-radius: 44px; padding: 10px; background: #0b0806;
         box-shadow: 0 0 0 1px rgba(201,160,99,.35), 0 50px 100px rgba(0,0,0,.55); }
.phone video { width: 100%; aspect-ratio: 780 / 1688; height: auto; object-fit: cover; display: block; border-radius: 34px; background: #fff; }
.device .lead { color: var(--on-dark-muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .9em; width: 20px; border-top: var(--stitch); }
.need { font-size: 14px; color: var(--on-dark-muted); padding-top: 16px; border-top: 1px solid rgba(201,160,99,.25); margin: 0; }
section.device .btn { background: var(--gold); color: var(--dark); }
@media (max-width: 760px) { .device-grid { grid-template-columns: 1fr; gap: 40px; } .phone { max-width: 240px; } }
/* 미싱 옆 기기 영상(의뢰 → 다시 보내기) + 구조 · 장점 일곱 — 같은 어두운 띠 안 */
.device-film { margin-top: 96px; padding-top: 80px; border-top: 1px solid rgba(201,160,99,.25); }
.device-film .note { color: var(--on-dark-muted); opacity: .8; }
.points-h { font-family: var(--serif); font-size: 22px; margin: 56px 0 18px; color: var(--on-dark); }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; counter-reset: pt; }
.points li { counter-increment: pt; position: relative; padding: 16px 0 16px 46px; border-top: 1px solid rgba(201,160,99,.18); color: var(--on-dark-muted); font-size: 15.5px; }
.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--serif); font-weight: 700; color: var(--gold); }
@media (max-width: 760px) { .device-film { margin-top: 64px; padding-top: 56px; } .points { grid-template-columns: 1fr; } }
/* SEW 맨 위 「TEES SEW + Pi」(사장님 2026-11-22) — 영상 · 장점 다음에 같은 띠 안에서 미싱 옆 화면으로 */
.pi-top .note { color: var(--on-dark-muted); opacity: .8; }
.device-more { margin-top: 96px; padding-top: 80px; border-top: 1px solid rgba(201,160,99,.25); }
@media (max-width: 760px) { .device-more { margin-top: 64px; padding-top: 56px; } }
/* 아래로 내린 PC 앱 영상 띠(「패턴은 TEES 가 만들어 보냄」) — 어두운 띠 위 제목 · 도입 글 */
section.film-sec.make { color: var(--on-dark); padding-top: 96px; }
section.film-sec.make .lead { color: var(--on-dark-muted); }

/* 지갑 OEM: 설비 — 어두운 가죽 띠 + 사진 여섯(재단 → 피할기 → 박기). 사장님 2026-11-22 고른 6장만. */
section.equip { background: radial-gradient(900px 520px at 85% 15%, #3a281b 0%, transparent 60%), linear-gradient(160deg, var(--dark-2), var(--dark)); color: var(--on-dark); }
section.equip .kicker { color: var(--gold); }
section.equip .lead { color: var(--on-dark-muted); max-width: 760px; }
.equip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin-top: 52px; }
.eq { grid-column: span 2; }
.eq4, .eq5 { grid-column: span 3; }
.eq6 { grid-column: 1 / -1; }
.eq-img { aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: #0b0806;
          box-shadow: 0 0 0 1px rgba(201,160,99,.22), 0 26px 54px rgba(0,0,0,.45); }
.eq4 .eq-img, .eq5 .eq-img { aspect-ratio: 16 / 10; }
.eq6 .eq-img { aspect-ratio: 1600 / 483; }
.eq-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.eq:hover .eq-img img { transform: scale(1.035); }
@media (max-width: 860px) {
  .equip-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .eq, .eq4, .eq5 { grid-column: span 1; }
  .eq-img, .eq4 .eq-img, .eq5 .eq-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) { .equip-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .eq-img img { transition: none; } .eq:hover .eq-img img { transform: none; } }

/* 생산 관리: 큰 화면 그림 */
.mgmt-list { display: grid; gap: 40px; }
.mgmt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 14px 40px rgba(60,40,20,.07); }
.mgmt img { width: 100%; display: block; background: #fff; border-bottom: 1px solid var(--line); }
.mgmt figcaption { padding: 26px 32px 30px; }
.mgmt figcaption strong { display: block; font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.mgmt figcaption span { color: var(--muted); font-size: 16px; }

/* 지퍼 지그 · 흐름 */
.flow-title { font-family: var(--serif); font-size: 24px; margin: 72px 0 8px; }
.flow { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.flow .card { padding: 26px 22px; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }
.jigs { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 32px; }
.jigs figure { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.jigs figure:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60,40,20,.10); }
.jigs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.jigs figcaption { padding: 14px 18px 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.zips img { object-fit: contain; background: #f4f3f1; }

/* 문의 띠 */
section.band { background: linear-gradient(140deg, var(--dark-2), var(--dark)); color: var(--on-dark); padding: 88px 0; position: relative; }
section.band::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; border-top: var(--stitch); opacity: .55; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: var(--on-dark-muted); }

footer { background: #0f0c09; color: var(--on-dark-muted); font-size: 14px; padding: 56px 0 28px; }
footer a { color: var(--on-dark-muted); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot p { margin: 14px 0 0; line-height: 1.9; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: flex-start; max-width: 460px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: #fff; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }

/* 내려오면 떠오르기 */
.reveal > * { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in > * { opacity: 1; transform: none; }
.reveal.in > *:nth-child(2) { transition-delay: .08s; } .reveal.in > *:nth-child(3) { transition-delay: .16s; }
.reveal.in > *:nth-child(4) { transition-delay: .24s; } .reveal.in > *:nth-child(n+5) { transition-delay: .3s; }
.hero .wrap > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > *:nth-child(2) { animation-delay: .12s; } .hero .wrap > *:nth-child(3) { animation-delay: .24s; } .hero .wrap > *:nth-child(4) { animation-delay: .36s; } .hero .wrap > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal > *, .hero .wrap > * { opacity: 1; transform: none; animation: none; transition: none; }
  .cue.on { animation: none; }
  html { scroll-behavior: auto; }
}
.jigs.pair { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .jigs.pair { grid-template-columns: 1fr; } }

/* 지그 3D 보기 — 마우스 · 손가락으로 돌리기(jig3d.js) */
.viewer { margin-top: 24px; }
.viewer-stage { position: relative; aspect-ratio: 16 / 9; max-height: 620px; width: 100%; background: #f4f3f1; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(60,40,20,.10); }
.viewer-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer-stage canvas:active { cursor: grabbing; }
.viewer-hint { position: absolute; left: 18px; bottom: 14px; font-size: 12.5px; color: #5d544b; background: rgba(255,255,255,.75); padding: 4px 12px; border-radius: 999px; pointer-events: none; transition: opacity .4s; }
.viewer.touched .viewer-hint { opacity: 0; }
.viewer-none { display: none; position: absolute; inset: 0; margin: 0; place-items: center; text-align: center; padding: 24px; color: #5d544b; font-size: 14px; }
.viewer.no3d .viewer-none { display: grid; }
.viewer.no3d .viewer-hint { display: none; }
.viewer.loading .viewer-stage canvas { opacity: .35; transition: opacity .2s; }
/* 미싱용 지그: 윗판 · 아랫판 색 이름표(윗판이 있는 지그일 때만) */
.legend { position: absolute; right: 16px; top: 14px; display: flex; gap: 14px; font-size: 12.5px; color: #5d544b; background: rgba(255,255,255,.75); padding: 5px 14px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }
.legend > span::before { content: ""; width: 11px; height: 11px; border-radius: 3px; }
.legend .up::before { background: #9e774c; }
.legend .dn::before { background: #4a4c50; }
.viewer.has-lift .legend { opacity: 1; }
.viewer.no3d .legend { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
@media (max-width: 600px) { .viewer-stage { aspect-ratio: 4 / 3; } .chip { font-size: 13px; padding: 7px 13px; } }

/* 지퍼 지그: 장점 · 주의 */
.facts { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.fact h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; }
.fact p { margin: 0; color: var(--muted); font-size: 15px; }
.fact.care { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.fact.care h3::before { content: "!"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 700; vertical-align: 2px; }
.fact.size { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
.fact.size h3 { margin: 0; }
.fact.size p { color: var(--ink); font-family: var(--serif); font-size: 22px; letter-spacing: .02em; }
/* 지그 카드(2026-11-28): 재료 한 줄 · 좋은 점 · 주의할 점(목록) */
.fact.mat { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
.fact.mat h3 { margin: 0; }
.fact.mat p { color: var(--ink); font-size: 16px; }
.fact ul { margin: 4px 0 0; padding-left: 1.15em; color: var(--muted); font-size: 15px; }
.fact li { margin: 8px 0 0; line-height: 1.7; }
.fact li::marker { color: var(--accent); }
.fact.good h3::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700; vertical-align: 2px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } .fact.size p { font-size: 19px; } }

/* SEW: 수정 요청 최단 5분 */
.fast { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; margin: 4px 0 26px; padding: 20px 24px; border: 1px solid rgba(201,160,99,.45); border-radius: var(--r-md); background: rgba(201,160,99,.08); }
.fast strong { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); color: var(--gold); white-space: nowrap; letter-spacing: .02em; }
.fast p { margin: 0; color: var(--on-dark); font-size: 15px; }
@media (max-width: 520px) { .fast { grid-template-columns: 1fr; } }

/* 세 앱 아이콘(사장님 2026-11-26 「각각의 창에 맞는 아이콘」): 제품 쪽 머리(이름 위) · TEES ONE 머리 · 홈 카드 그림 왼쪽 아래 */
.hero .app-icon { display: block; width: clamp(88px, 9vw, 128px); height: auto; margin: 0 0 26px -4px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.kicker-icon { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 3px 8px rgba(60,40,20,.25)); }
.door-img { position: relative; }
.door-img img.door-app { position: absolute; left: 18px; bottom: 18px; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.door:hover .door-img img.door-app { transform: none; }
@media (max-width: 760px) { .door-img img.door-app { width: 56px; height: 56px; left: 14px; bottom: 14px; } }

/* 홈 첫 화면 세 앱 줄(사장님 2026-11-26 「메인페이지에 세 앱의 마크와 이름 · 바로가기 · 멋지게」) */
.app-dock { margin-top: 30px; max-width: 980px; }
.dock-label { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .32em; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.dock-label::after { content: ""; flex: 0 0 48px; border-top: 1px dashed rgba(201,160,99,.6); }
.dock-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-tile { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; text-decoration: none; color: var(--on-dark);
            background: linear-gradient(145deg, rgba(42,31,23,.72), rgba(23,18,14,.62)); border: 1px solid rgba(201,160,99,.26); border-radius: 20px;
            backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(0,0,0,.28);
            transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; }
.app-tile:hover, .app-tile:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 22px 46px rgba(0,0,0,.4), 0 0 0 1px rgba(201,160,99,.25); }
.app-tile img { width: 62px; height: 62px; flex: none; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); transition: transform .3s; }
.app-tile:hover img { transform: scale(1.06) rotate(-2deg); }
.app-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.app-name { font-family: var(--serif); font-weight: 800; font-size: 16.5px; letter-spacing: .1em; white-space: nowrap; }
.app-tag { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.4; }
.app-go { margin-left: auto; color: var(--gold); font-size: 18px; transition: transform .3s; }
.app-tile:hover .app-go { transform: translateX(4px); }
.hero .wrap > *:nth-child(6) { animation-delay: .6s; }
@media (max-width: 900px) { .dock-row { grid-template-columns: 1fr; gap: 10px; } .app-dock { max-width: 460px; } .app-tile { padding: 10px 16px 10px 10px; } .app-tile img { width: 52px; height: 52px; } }
