/* =====================================================================
   LAON VINA — 스타일
   색과 서체는 맨 위 :root 값만 바꾸면 사이트 전체에 적용됩니다.
   ===================================================================== */
:root {
  --ink: #0e1512;
  --ink-2: #47524d;
  --paper: #f6f4ee;
  --white: #ffffff;
  --lime: #8dc63f;
  --green: #1f6b3a;
  --deep: #0f2e1f;
  --line: rgba(14, 21, 18, .13);
  --line-dark: rgba(255, 255, 255, .16);
  --display: "Archivo", "Noto Sans KR", system-ui, sans-serif;
  --body: "Be Vietnam Pro", "Noto Sans KR", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 14px;
  --header-h: clamp(84px, 6.4vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: -.035em; line-height: 1.15; word-break: keep-all; }
:lang(ko) p, :lang(ko) li, :lang(ko) dd { word-break: keep-all; }
:lang(vi) h1, :lang(vi) h2 { line-height: 1.14; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.tint { background: #ecebe2; }
.section.dark { background: var(--ink); color: var(--white); }
.section.green { background: var(--deep); color: var(--white); }

.eyebrow { font: 600 clamp(15px, 1.5vw, 22px)/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.eyebrow::before { content: ""; flex-shrink: 0; width: 46px; height: 9px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--lime) 0 3px, var(--green) 3px 4px); }
.dark .eyebrow, .green .eyebrow, .hero .eyebrow { color: var(--lime); }
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2, .sustain h2, .contact h2 { font-size: clamp(34px, 5.4vw, 72px); }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); margin-top: 22px; max-width: 62ch; }
.dark .lead, .green .lead { color: rgba(255, 255, 255, .74); }
.lead strong { font-weight: 800; color: var(--green); }
#capacity .sec-head, #company .sec-head, #color .sec-head { max-width: none; }
#color .sec-head .lead { max-width: none; }
#capacity .lead { max-width: none; }
.fine { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.dark .fine, .green .fine { color: rgba(255, 255, 255, .6); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--lime); color: var(--ink); }
.btn-solid:hover { background: #a2da52; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- 웨빙 스트랩 (CSS로 짠 질감) ---------- */
.strap {
  --c: #8dc63f; --c2: #ffffff;
  position: absolute; background-color: var(--c); border-radius: 2px;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .28) 0 1px, rgba(255, 255, 255, .09) 1px 2px, transparent 2px 4px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .17) 0 1px, transparent 1px 6px);
  box-shadow: inset 0 7px 9px -5px rgba(255, 255, 255, .42), inset 0 -10px 12px -6px rgba(0, 0, 0, .42), 0 14px 30px rgba(0, 0, 0, .38);
}
.strap::before, .strap::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.w-twill::before { top: 0; bottom: 0; background: repeating-linear-gradient(60deg, rgba(0, 0, 0, .24) 0 3px, transparent 3px 9px); }
.w-herringbone::before { top: 0; height: 50%; background: repeating-linear-gradient(45deg, rgba(0, 0, 0, .26) 0 3px, transparent 3px 9px); }
.w-herringbone::after { bottom: 0; height: 50%; background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .26) 0 3px, transparent 3px 9px); }
.w-stripe::before { top: 34%; bottom: 34%; background: var(--c2) repeating-linear-gradient(90deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 4px); }
.w-tracer::before, .w-tracer::after { height: 8%; background: var(--c2) repeating-linear-gradient(90deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 4px); }
.w-tracer::before { top: 20%; }
.w-tracer::after { bottom: 20%; }

/* ---------- 헤더 ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); padding: 0 clamp(18px, 2vw, 32px); display: flex; align-items: center; gap: clamp(12px, 1.2vw, 22px); color: var(--white); transition: background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.open { background: rgba(246, 244, 238, .94); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: clamp(10px, 1vw, 16px); text-decoration: none; flex-shrink: 0; }
.brand img { width: clamp(56px, 4.7vw, 76px); height: clamp(56px, 4.7vw, 76px); border-radius: 50%; background: var(--white); padding: 4px; }
.brand-word { white-space: nowrap; font: 900 clamp(26px, 2.3vw, 38px)/1 var(--display); font-stretch: 118%; letter-spacing: .01em; }
.brand-word b { font-weight: 900; color: var(--lime); }
.scrolled .brand-word b, .open .brand-word b { color: var(--green); }
.nav { display: flex; gap: clamp(9px, .85vw, 20px); margin-left: auto; }
.nav a { font-size: clamp(13px, .98vw, 15.5px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--lime) 0 3px, transparent 3px 4px); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-contact { display: none; }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-tools .btn { white-space: nowrap; min-height: 48px; padding: 0 19px; font-size: 15.5px; }
.lang { display: flex; border: 1.5px solid currentColor; border-radius: 999px; overflow: hidden; opacity: .92; }
.lang button { background: none; border: 0; color: inherit; font: 600 14px/1 var(--body); padding: 11px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 6px auto; transition: transform .25s; }
.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 80% 30%, #17402b 0%, #0b1a13 55%, #070d0a 100%); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.loom { position: absolute; top: -30%; right: -22%; width: 86%; height: 160%; transform: rotate(-27deg); -webkit-mask-image: linear-gradient(100deg, transparent 4%, #000 46%); mask-image: linear-gradient(100deg, transparent 4%, #000 46%); animation: drift 16s ease-in-out infinite alternate; }
.loom .strap { left: -20%; width: 140%; animation: slide-h 1.5s cubic-bezier(.2, .8, .2, 1) both, ribs 5s linear infinite; }
.loom .strap:nth-child(even) { top: 50%; animation: slide-v 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.s1 { top: 14%; height: 74px; animation-delay: .05s, 0s !important; }
.s3 { top: 33%; height: 96px; z-index: 2; animation-delay: .25s, 0s !important; }
.s5 { top: 53%; height: 58px; animation-delay: .45s, 0s !important; }
.s7 { top: 68%; height: 84px; z-index: 2; animation-delay: .65s, 0s !important; }
.s9 { top: 86%; height: 66px; animation-delay: .85s, 0s !important; }
.loom .s2, .loom .s4, .loom .s6, .loom .s8 { width: 150%; transform: translate(-50%, -50%) rotate(90deg); z-index: 1; }
.loom .s2 { left: 24%; height: 66px; animation-delay: .15s !important; }
.loom .s4 { left: 44%; height: 88px; animation-delay: .35s !important; }
.loom .s6 { left: 63%; height: 54px; animation-delay: .55s !important; z-index: 3; }
.loom .s8 { left: 82%; height: 78px; animation-delay: .75s !important; }
@keyframes slide-h { from { translate: -130vw 0; } to { translate: 0 0; } }
@keyframes slide-v { from { translate: 0 -160vh; } to { translate: 0 0; } }
@keyframes ribs { to { background-position: 48px 0, 0 0; } }
@keyframes drift { from { translate: 0 0; } to { translate: -2.5% 2%; } }

/* 글씨가 잘 읽히도록 왼쪽(제목)과 아래쪽(핵심 수치)을 어둡게 덮는다 */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(7, 13, 10, .88) 0%, rgba(7, 13, 10, .66) 40%, rgba(7, 13, 10, 0) 64%), linear-gradient(180deg, rgba(7, 13, 10, 0) 58%, rgba(7, 13, 10, .9) 86%); }
.hero-inner { position: relative; z-index: 5; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 150px var(--gutter) 0; }
.hero .eyebrow { font-size: clamp(15px, 1.8vw, 26px); gap: 16px; margin-bottom: 28px; line-height: 1.25; }
.hero .eyebrow::before { width: 52px; height: 10px; flex-shrink: 0; }
.hero h1 { font-size: clamp(36px, 5.5vw, 86px); font-weight: 900; font-stretch: 118%; max-width: 15ch; text-shadow: 0 2px 40px rgba(0, 0, 0, .5); }
:lang(ko) .hero h1 { font-size: clamp(40px, 7vw, 100px); max-width: 9em; }
:lang(vi) .hero h1 { font-size: clamp(42px, 7.6vw, 108px); }
.hero-lead { font-size: clamp(17px, 1.7vw, 22px); max-width: 50ch; margin-top: 28px; color: rgba(255, 255, 255, .82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stats { position: relative; z-index: 5; width: 100%; max-width: var(--wrap); margin: clamp(48px, 7vw, 88px) auto 0; padding: 0 var(--gutter) 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats li { border-top: 1px solid var(--line-dark); padding: 22px 10px 0; text-align: center; }
.stats strong { display: block; font: 800 clamp(34px, 4.4vw, 60px)/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; color: var(--lime); }
.stats li > span { display: block; margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ---------- 브랜드 띠 ---------- */
.ticker { background: var(--lime); color: var(--ink); overflow: hidden; padding: 16px 0; border-block: 4px solid; border-image: repeating-linear-gradient(90deg, var(--ink) 0 3px, var(--lime) 3px 6px) 4; }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: ticker 60s linear infinite; font: 800 17px/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ticker-track span::after { content: "✕"; margin-left: 44px; font-size: 11px; opacity: .5; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 컬러: 강점 3가지 ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(56px, 8vw, 104px); }
.points li { border-top: 2px solid var(--ink); padding-top: 22px; }
.points .num { font: 800 14px/1 var(--display); color: var(--green); letter-spacing: .1em; }
.points h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 16px 0 12px; line-height: 1.12; }
.points p { color: var(--ink-2); font-size: 16px; }

/* ---------- 컬러 랩 ---------- */
.lab { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(14, 21, 18, .12); }
.lab-stage { position: relative; min-height: 640px; background: radial-gradient(80% 70% at 50% 38%, #f4f3ee, #c6cabf); display: flex; flex-direction: column; align-items: center; padding: 20px 20px 16px; }
.lab-view { align-self: flex-start; }
.lab-stage .chips button { background: rgba(255, 255, 255, .7); }
.lab-stage .chips button[aria-pressed="true"] { background: var(--ink); }
.bag { flex: 1; width: 100%; max-height: 760px; min-height: 0; }
.bag .floor { fill: rgba(0, 0, 0, .16); filter: blur(6px); }
.bag .body { fill: var(--body); stroke: rgba(0, 0, 0, .55); stroke-width: 1.5; }
.bag .body-dark { fill: color-mix(in srgb, var(--body) 76%, #000); stroke: rgba(0, 0, 0, .5); stroke-width: 1.2; }
.bag .shade { fill: url(#bagShade); pointer-events: none; }
.bag .panel { fill: rgba(0, 0, 0, .15); stroke: rgba(0, 0, 0, .4); stroke-width: 1.2; }
.bag .mesh { fill: url(#bagMesh); pointer-events: none; }
.bag .velcro { fill: url(#bagHatch); pointer-events: none; }
.bag .seam { fill: none; stroke: rgba(0, 0, 0, .45); stroke-width: 1.5; }
.bag .zip { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 2; stroke-dasharray: 2 3; }
.bag .buckle { fill: #17191c; stroke: rgba(255, 255, 255, .22); stroke-width: 1; pointer-events: none; }
.bag .tack { pointer-events: none; }
.bag .tackv { pointer-events: none; }
.bag .tack line, .bag .tackv line { stroke: rgba(0, 0, 0, .5); stroke-width: 1.6; }
.bag .stitch { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.bag [data-zone] { cursor: pointer; transition: filter .2s; }
.bag [data-zone]:hover { filter: brightness(1.15); }
.bag [data-zone].sel { filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 3px rgba(255, 255, 255, .9)); }
.lab-closeup { position: relative; width: calc(100% + 40px); height: 96px; margin: 8px -20px 0; overflow: hidden; }
.lab-strap { left: 0; width: 100%; top: 50%; height: 57px; translate: 0 -50%; border-radius: 0; transition: height .35s cubic-bezier(.3, 1.4, .5, 1); }
.lab-strap::before { top: 0; bottom: 0; background: linear-gradient(rgba(0, 0, 0, .3) 0 3px, transparent 3px calc(100% - 3px), rgba(0, 0, 0, .3) calc(100% - 3px)); }
.w-fold::before { top: 0; bottom: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .34) 0 2px, rgba(255, 255, 255, .1) 2px 3px, transparent 3px 6px); }
.lab-readout { width: 100%; margin-top: 10px; font: 500 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); letter-spacing: .02em; text-align: center; }
.lab-panel { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.lab-panel h3 { font-size: 30px; }
.lab-hint { color: var(--ink-2); font-size: 15.5px; margin-top: -10px; }
.lab-label { display: block; font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; transition: transform .15s; }
.swatches button:hover { transform: scale(1.12); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.chips, .filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .filters button { border: 1.5px solid var(--line); background: none; border-radius: 999px; padding: 9px 16px; font: 500 14px/1 var(--body); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover, .filters button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"], .filters button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filters button small { opacity: .55; margin-left: 6px; font-size: 12px; }
.lab-panel .btn { align-self: flex-start; margin-top: 4px; }
.chips button i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.chips button[disabled] { opacity: .45; cursor: default; border-style: dashed; }
.chips button[disabled]:hover { border-color: var(--line); }
.chips button small { margin-left: 6px; font-size: 11px; }
.picker { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.picker input[type="color"] { width: 64px; height: 44px; padding: 0; border: 1.5px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.picker label { font: 600 11px/1 var(--body); letter-spacing: .08em; color: var(--ink-2); display: grid; gap: 5px; }
.picker label input, .lab-text { font: 500 15px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 8px; padding: 11px 10px; width: 62px; }
.picker label:first-of-type input { width: 96px; }
.lab-text { width: 100%; font-family: var(--body); }
.picker input:focus, .lab-text:focus { outline: 0; border-color: var(--green); background: var(--white); }
.lab-two { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* Color Lab 패널: 스크롤 없이 한눈에 보이도록 촘촘하게 */
#lab { scroll-margin-top: calc(var(--header-h) + 10px); }
.lab { grid-template-columns: 1.1fr 1fr; }
.lab-stage { min-height: 0; }
.bag { flex: 1 1 0; height: 0; min-height: 380px; max-height: none; }
.lab-panel { padding: 20px 26px; gap: 12px; }
.lab-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lab-panel h3 { font-size: 24px; }
.lab-hint { margin: 0; font-size: 13.5px; }
.lab-label { display: flex; align-items: center; gap: 8px; font: 800 14px/1 var(--body); letter-spacing: .08em; color: var(--ink); margin-bottom: 7px; }
.lab-label::before { content: ""; flex: none; width: 18px; height: 7px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--lime) 0 3px, var(--green) 3px 4px); }
.lab-panel .chips { gap: 5px; }
.lab-panel .chips button { padding: 7px 11px; font-size: 12.5px; }
#chStyle { flex-wrap: nowrap; }
#chStyle button { flex: 1; white-space: nowrap; }
#chZone { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
#chZone button { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 7px 8px; font-size: 12px; }
.lab-panel .chips button i { width: 10px; height: 10px; margin-right: 6px; vertical-align: -.5px; }
.lab-panel .swatches { display: grid; grid-template-columns: repeat(10, 24px); gap: 5px; }
.lab-panel .swatches button { width: 24px; height: 24px; }
.lab-colorrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lab-panel .picker { margin-bottom: 0; gap: 6px; align-items: center; }
.lab-panel .picker + .swatches { margin-top: 8px; }
.lab-colorrow .picker + .swatches { margin-top: 0; }
.lab-panel .picker input[type="color"] { width: 44px; height: 36px; }
.lab-panel .picker label { display: flex; align-items: center; gap: 4px; }
.lab-panel .picker label input { padding: 8px 6px; font-size: 13.5px; width: 58px; }
.lab-panel .picker label:first-of-type input { width: 84px; }
.lab-inline { display: flex; align-items: center; gap: 12px; }
.lab-inline + .lab-inline { margin-top: -4px; }
.lab-inline .lab-label { margin: 0; width: 88px; flex: none; }
.lab-send { display: flex; gap: 8px; }
.lab-send .lab-text { flex: 1; min-width: 0; padding: 10px; font-size: 14px; }
.lab-send .btn { flex: none; margin: 0; min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.lab-panel .fine { margin: 0; font-size: 12px; line-height: 1.4; }

/* ---------- 제품 ---------- */
/* 첫 화면: 처음 버전의 대각선 교차 배치를 실물 웨빙 사진으로 채운다 (위치·이음매는 main.js layoutLoom 이 계산) */
.loom.photo { top: -34%; right: -24%; width: 100%; height: 168%; -webkit-mask-image: linear-gradient(100deg, transparent 2%, #000 38%); mask-image: linear-gradient(100deg, transparent 2%, #000 38%); }
.loom.photo .strap { background: none; overflow: hidden; border-radius: 2px; box-shadow: 0 14px 26px rgba(0, 0, 0, .45); animation-delay: var(--d) !important; }
.loom.photo .strap.ph { left: -20%; width: 140%; transform: none; z-index: 1; animation: strap-wipe 1.8s cubic-bezier(.35, .5, .3, 1) both; }
.loom.photo .strap.pv { top: 50%; width: 150%; transform: translate(-50%, -50%) rotate(90deg); z-index: 2; overflow: visible; box-shadow: none; filter: drop-shadow(0 0 9px rgba(0, 0, 0, .62)); animation: strap-wipe 2.6s cubic-bezier(.4, .3, .3, 1) both; }
/* 세로 띠: 가로 띠 밑으로 들어가는 구간을 뚫고(mask), 그 양옆을 어둡게 해서 아래로 파고드는 것처럼 보이게 한다.
   그림자는 뚫린 모양을 따라 생기므로 가로 띠 위를 지나는 곳에서만 드리운다. */
.loom.photo .strap.pv::before, .loom.photo .strap.pv::after { display: none; }
.pv-in { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; -webkit-mask-image: var(--mask); mask-image: var(--mask); }
.pv-in::before, .pv-in::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pv-in::before { background: var(--shade); }
.pv-in::after { box-shadow: inset 0 6px 8px -5px rgba(255, 255, 255, .26), inset 0 -9px 11px -6px rgba(0, 0, 0, .42); }
/* 띠는 제자리에서 한쪽 끝부터 길게 자라난다. 자리를 옮기지 않으므로 위아래 엇갈림이 처음부터 끝까지 맞는다 */
@keyframes strap-wipe { from { clip-path: inset(-40px 100% -40px -40px); } to { clip-path: inset(-40px -40px -40px -40px); } }
/* 가로 띠가 먼저 깔리고, 세로 띠가 그 위아래를 번갈아 지나가며 내려온다 */
.loom.photo:not(.ready):not(.still) .strap, .loom.photo:not(.ready):not(.still) .roll { animation-play-state: paused; }
/* 띠가 자라나는 앞쪽 끝에서 같이 굴러가는 롤. 띠와 같은 자리·같은 속도로 움직이고, 화면 끝에서 사라진다 */
.loom.photo .rollbox { position: absolute; z-index: 4; pointer-events: none; }
.loom.photo .rollbox.ph { left: -20%; width: 140%; }
.loom.photo .rollbox.pv { width: 150%; transform: translate(-50%, -50%) rotate(90deg); }
.loom.photo .roll { position: absolute; top: -9%; left: 0; height: 118%; width: var(--th); translate: -50% 0; opacity: 0; border-radius: calc(var(--th) * .16); background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0 2px, rgba(255, 255, 255, .08) 2px 4px, rgba(0, 0, 0, 0) 4px 10px), linear-gradient(90deg, color-mix(in srgb, var(--c) 34%, #000) 0%, color-mix(in srgb, var(--c) 80%, #fff) 30%, var(--c) 52%, color-mix(in srgb, var(--c) 26%, #000) 100%); background-size: 10px 100%, 100% 100%; background-repeat: repeat-x, no-repeat; box-shadow: 0 0 18px rgba(0, 0, 0, .65); animation-delay: var(--d), 0s !important; }
/* 롤: 처음에는 굵게 감겨 있다가 풀리면서 가늘어지고, 겉면의 골이 흘러가서 도는 것처럼 보인다 */
.loom.photo .rollbox.ph .roll { animation: roll-go 1.8s cubic-bezier(.35, .5, .3, 1) both, roll-spin .35s linear infinite; }
.loom.photo .rollbox.pv .roll { animation: roll-go 2.6s cubic-bezier(.4, .3, .3, 1) both, roll-spin .35s linear infinite; }
@keyframes roll-go { 0% { left: 0; width: calc(var(--th) * 1.15); opacity: 1; } 95% { opacity: 1; } 100% { left: 100%; width: calc(var(--th) * .36); opacity: 0; } }
@keyframes roll-spin { to { background-position: 10px 0, 0 0; } }
.loom.photo.still .rollbox { display: none; }
.loom.photo.still .strap, .loom.photo.still .strap::before { animation: none; opacity: 1; }
.loom.photo .strap::after { top: 0; bottom: 0; z-index: 1; box-shadow: inset 0 6px 8px -5px rgba(255, 255, 255, .26), inset 0 -9px 11px -6px rgba(0, 0, 0, .42); }
.loom.photo .strap i { position: absolute; top: 0; height: 100%; background-size: 100% 100%; }
.loom.photo .strap i.f { transform: scaleX(-1); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14, 21, 18, .14); }
.product-swatch { position: relative; height: 190px; background: #101a15; overflow: hidden; }
.product-swatch.photo { height: 240px; background: #0c1411; display: flex; gap: 6px; padding: 0; }
.product-swatch.photo img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.2, .8, .2, 1); }
.product:hover .product-swatch.photo img { scale: 1.04; }
.product-swatch .badge { z-index: 2; }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-swatch .strap { left: -15%; width: 130%; transition: translate .5s cubic-bezier(.2, .8, .2, 1); }
.product-swatch .strap:nth-of-type(1) { top: 26px; height: 62px; rotate: -7deg; }
.product-swatch .strap:nth-of-type(2) { top: 112px; height: 40px; rotate: -7deg; }
.product:hover .strap:nth-of-type(1) { translate: 26px 0; }
.product:hover .strap:nth-of-type(2) { translate: -26px 0; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--lime); color: var(--ink); font: 700 11.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; }
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 26px; }
.product-body p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 4px; background: #eef1e6; color: var(--green); }

/* ---------- 파트너 ---------- */
.filters { margin-bottom: 28px; }
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brand-tile { background: var(--white); border-radius: 10px; aspect-ratio: 3 / 2; position: relative; overflow: hidden; transition: opacity .3s, transform .3s, box-shadow .3s; }
.brand-tile img { position: absolute; inset: 24% 18%; width: 64%; height: 52%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .3s, opacity .3s; }
.brand-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 21, 18, .12); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile.off, .brand-tile.more { display: none; }
.brand-tile.inv img, .brand-tile.inv:hover img { filter: invert(1); }
.brand-tile span { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; font: 800 clamp(15px, 1.75vw, 25px)/1.1 var(--body); letter-spacing: -.01em; color: var(--ink); opacity: .85; }
.brand-more { display: flex; margin: 24px auto 0; border-color: var(--line); color: var(--ink); background: none; cursor: pointer; }
.brand-more:hover { border-color: var(--ink); }
.brand-more[hidden] { display: none; }
.brand-tile::after { content: attr(data-cat); position: absolute; left: 6px; right: 6px; bottom: 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); opacity: 0; transition: opacity .3s; }
.brand-tile:hover::after { opacity: .8; }

/* ---------- 공정 ---------- */
/* 제목 + 사진 + 8단계가 한 화면에 들어오게 하고, 오른쪽 단계는 사진 높이에 맞춰 고르게 나눈다 */
.process { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: stretch; }
#process { padding-top: clamp(48px, 5vw, 72px); }
#process .sec-head { max-width: none; margin-bottom: clamp(24px, 3vw, 36px); }
.process-photo { align-self: stretch; width: 100%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-height: max(340px, calc(100vh - var(--header-h) - 300px)); background: #1a2620; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.process-photo img.swap { opacity: 0; }
.process-steps { display: flex; flex-direction: column; }
.process-steps li { flex: 1 1 auto; display: flex; border-top: 1px solid var(--line-dark); }
.process-steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.process-steps button { display: grid; grid-template-columns: clamp(52px, 4.6vw, 68px) 1fr; gap: 4px 10px; align-content: center; width: 100%; text-align: left; background: none; border: 0; color: inherit; padding: 8px 0; cursor: pointer; font: inherit; }
.process-steps .n { font: 800 clamp(20px, 1.9vw, 28px)/1.2 var(--display); color: rgba(255, 255, 255, .4); letter-spacing: .02em; font-variant-numeric: tabular-nums; transition: color .25s; }
.process-steps h3 { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; color: rgba(255, 255, 255, .55); transition: color .25s; }
.process-steps p { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .4s; }
.process-steps li.active .n { color: var(--lime); }
.process-steps li.active h3, .process-steps button:hover h3 { color: var(--white); }
.process-steps li.active p { max-height: 120px; opacity: 1; }

/* ---------- 생산 능력 · 설비 ---------- */
.cap-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 88px); margin-bottom: clamp(56px, 8vw, 96px); align-items: start; }
.cap-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cap-row:last-child { border-bottom: 1px solid var(--line); }
.cap-row .name { font-weight: 600; }
.cap-bars { position: relative; }
.cap-unit { position: absolute; right: 0; top: -22px; font: 600 12.5px/1 var(--body); letter-spacing: .04em; color: var(--ink-2); }
.cap-bar { display: flex; align-items: center; gap: 14px; }
.cap-bar .strap { position: relative; height: 34px; width: 0; min-width: 10px; box-shadow: inset 0 5px 6px -4px rgba(255, 255, 255, .45), inset 0 -6px 8px -5px rgba(0, 0, 0, .4); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.cap-bar b { font: 800 18px/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cap-bar b small { font: 500 12.5px/1 var(--body); color: var(--ink-2); margin-left: 4px; }
.leadtimes { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
.leadtimes li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.leadtimes li.fine { display: block; border-bottom: 0; }
.leadtimes strong { font: 800 clamp(34px, 3.6vw, 48px)/1 var(--display); font-stretch: 112%; color: var(--green); font-variant-numeric: tabular-nums; }
.leadtimes .lt-num { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.leadtimes em { font-style: normal; font-size: 15px; color: #717c76; }
.leadtimes span { font: 700 clamp(16px, 1.3vw, 18.5px)/1.25 var(--body); color: var(--ink); }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fac { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); background: var(--ink); }
.fac img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.fac:hover img { transform: scale(1.06); }
.fac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 13, 10, .88)); }
.fac-info { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.fac-info strong { font: 900 clamp(40px, 4.4vw, 60px)/1 var(--display); font-stretch: 112%; color: var(--lime); }
.fac-info span { font-size: 15px; font-weight: 500; line-height: 1.3; }
.fac-info small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; opacity: .85; }

/* ---------- 지속가능성 ---------- */
.sustain { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.scope { margin: 32px 0 22px; }
.scope li { padding: 14px 0 14px 34px; border-top: 1px solid var(--line-dark); position: relative; }
.scope li::before { content: ""; position: absolute; left: 0; top: 23px; width: 20px; height: 7px; background: repeating-linear-gradient(90deg, var(--lime) 0 3px, transparent 3px 4px); }
.scope-note { margin: 22px 0 18px; padding-left: 16px; border-left: 3px solid var(--lime); font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 60ch; }
.cert { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.cert img { display: block; height: clamp(96px, 8.5vw, 118px); width: auto; margin: 0 auto 20px; }
.cert-next { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.cert-next-h { display: flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cert-next-h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f5a623; }
.cert-next ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cert-next li { font: 700 15px/1 var(--display); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; }
.cert dt { font: 600 11.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 18px; }
.cert dd { font: 700 19px/1.3 var(--display); margin-top: 6px; }

/* ---------- 회사 ---------- */
.company-top { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.company-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.company-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); transform-origin: 46% 25%; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.company-top > * { min-width: 0; }
.facts dt, .facts dd { padding: 15px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-right: 28px; line-height: 1.9; }
.facts dd { font-weight: 600; }
.facts .loc-link { display: block; width: fit-content; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.facts .loc-mapbox { position: relative; margin-top: 12px; }
.facts .loc-map { display: block; width: 100%; height: 220px; border: 0; border-radius: 10px; background: #e6e3da; }
.loc-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 5px rgba(0, 0, 0, .3); }
.loc-zoom button { width: 34px; height: 34px; background: var(--white); color: var(--ink); font: 700 20px/1 var(--body); display: grid; place-items: center; cursor: pointer; }
.loc-zoom button + button { border-top: 1px solid var(--line); }
.loc-zoom button:hover { background: #eef3e6; }
.facts dd small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.facts dd small span { display: block; width: fit-content; white-space: nowrap; line-height: 1.55; }
.facts dd small .ln2 { font-size: 12px; letter-spacing: -.01em; }
.values { display: flex; flex-wrap: wrap; margin: clamp(20px, 2.4vw, 32px) 0 0; border-radius: 6px; overflow: hidden; }
.values li { flex: 1 1 140px; text-align: center; padding: 22px 12px; font: 800 clamp(16px, 1.9vw, 24px)/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .06em; color: var(--white); background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 4px); }
.values li:nth-child(1) { background-color: #1f6b3a; }
.values li:nth-child(2) { background-color: #0f9b8e; }
.values li:nth-child(3) { background-color: #1f5fd0; }
.values li:nth-child(4) { background-color: #c2187a; }
.values li:nth-child(5) { background-color: #f26b1d; }
.sub-title { font-size: clamp(26px, 3vw, 40px); margin: clamp(40px, 6vw, 72px) 0 28px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline li { border-top: 6px solid var(--lime); padding-top: 18px; border-image: repeating-linear-gradient(90deg, var(--green) 0 3px, var(--lime) 3px 5px) 6; }
.timeline strong { font: 900 clamp(30px, 3.4vw, 46px)/1 var(--display); font-stretch: 112%; display: block; margin-bottom: 14px; }
.timeline p { font-size: 15px; color: var(--ink-2); padding: 5px 0; line-height: 1.4; }
.org { text-align: center; }
.org-top { display: inline-block; background: var(--ink); color: var(--white); font: 800 16px/1 var(--display); letter-spacing: .1em; padding: 16px 44px; border-radius: 8px; position: relative; margin-bottom: 34px; }
.org-top::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 34px; background: var(--line); }
.org-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 2px solid var(--line); padding-top: 22px; text-align: left; }
.org-cols div { background: var(--white); border-radius: 10px; padding: 22px 24px; }
.org-cols h4 { font: 800 19px/1.2 var(--display); margin-bottom: 8px; }
.org-cols p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 문의 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.contact > div { display: flex; flex-direction: column; }
.contact-list { margin-top: auto; padding-top: 40px; }
.contact-list li:last-child { padding-bottom: 0; }
.contact-direct { display: grid; gap: 10px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; }
.contact-direct span { display: flex; align-items: center; gap: 12px; }
.contact-direct i { font-style: normal; font-size: 1.1em; line-height: 1; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.contact-list li > span { display: block; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.contact-list a { color: var(--white); text-underline-offset: 4px; }
.contact-list #mapLink { color: var(--lime); font-weight: 600; }
.contact-list small { display: block; margin-top: 8px; color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 40px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.form input, .form select, .form textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 8px; padding: 13px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--green); background: var(--white); }
.form textarea { resize: vertical; }
.form { grid-template-rows: auto auto auto 1fr auto; }
.form label:has(textarea) { display: flex; flex-direction: column; }
.form label:has(textarea) textarea { flex: 1; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; border: 0; }
.form-status { font-size: 14.5px; min-height: 1.4em; color: var(--green); }
.form-status.err { color: #c0271f; }

/* ---------- 푸터 ---------- */
.footer { background: #070d0a; color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer-in { display: grid; grid-template-columns: 1fr 2fr auto; gap: 32px; padding-top: 48px; padding-bottom: 48px; align-items: start; }
.footer .brand-word { color: var(--white); font-size: 26px; }
.footer-brand p { margin-top: 8px; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; }
.selvedge { height: 48px; }
.selvedge::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 4px), linear-gradient(90deg, #8dc63f 0 7.14%, #1f6b3a 0 14.28%, #0f9b8e 0 21.42%, #4db3e6 0 28.56%, #1f5fd0 0 35.7%, #1f2f5c 0 42.84%, #c2187a 0 50%, #d62828 0 57.12%, #f26b1d 0 64.26%, #f5c518 0 71.4%, #a67c52 0 78.54%, #6b7a3a 0 85.68%, #55585e 0 92.82%, #1c1c1e 0); }

/* ---------- 스크롤 등장 ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s, translate .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; translate: 0 0; }
/* 가치 단어 띠: 한 칸씩 차례로, 감긴 롤이 오른쪽으로 굴러가며 풀리는 느낌 */
.js .values.reveal { opacity: 1; translate: 0 0; }
.values li { position: relative; }
.js .values.reveal li { clip-path: inset(0 100% 0 0); }
.js .values.reveal.in li { animation: unroll .6s cubic-bezier(.45, .05, .35, 1) forwards; animation-delay: calc(var(--i) * .6s); }
.js .values.reveal li::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 20px; opacity: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(255, 255, 255, .45) 38%, rgba(255, 255, 255, .1) 60%, rgba(0, 0, 0, .55)); box-shadow: -10px 0 14px -4px rgba(0, 0, 0, .45); }
.js .values.reveal.in li::after { animation: rollmove .6s cubic-bezier(.45, .05, .35, 1) forwards; animation-delay: calc(var(--i) * .6s); }
/* 맨 아래 색 띠도 같은 방식: 왼쪽에서 오른쪽으로 한 번에 풀린다 */
.selvedge { position: relative; }
.js .selvedge::before { clip-path: inset(0 100% 0 0); }
.js .selvedge.in::before { animation: unroll 2.4s cubic-bezier(.45, .05, .35, 1) forwards; }
.js .selvedge::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 20px; opacity: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(255, 255, 255, .5) 38%, rgba(255, 255, 255, .1) 60%, rgba(0, 0, 0, .55)); box-shadow: -10px 0 14px -4px rgba(0, 0, 0, .5); }
.js .selvedge.in::after { animation: rollmove 2.4s cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes unroll { from { clip-path: inset(0 calc(100% - 20px) 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rollmove { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 20px); opacity: 0; } }
.values li:nth-child(1) { --i: 0; } .values li:nth-child(2) { --i: 1; } .values li:nth-child(3) { --i: 2; } .values li:nth-child(4) { --i: 3; } .values li:nth-child(5) { --i: 4; }

/* ---------- 반응형 ---------- */
@media (max-width: 1380px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); display: none; }
  .open .nav { display: flex; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .header-tools { margin-left: auto; }
  .menu-btn { display: block; }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid, .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  /* 좁은 화면에서는 Color 설명의 강제 줄바꿈을 풀어 자연스럽게 흐르게 한다 */
  #color .lead br { display: none; }
  body { font-size: 16px; }
  .loom { right: -60%; width: 150%; opacity: .55; }
  .loom.photo { --hs: .72; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .points, .lab, .process, .cap-layout, .sustain, .company-top, .contact, .org-cols, .footer-in { grid-template-columns: 1fr; }
  .lab-stage { min-height: 520px; }
  .process-photo { max-height: none; }
  .process-steps button { padding: 16px 0; }
  .header-tools .btn { display: none; }
  .nav-contact { display: block; color: var(--green); font-weight: 600 !important; }
}
@media (max-width: 560px) {
  .product-grid, .fac-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  :root { --header-h: 68px; }
  .site-header { gap: 8px; padding: 0 14px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; padding: 3px; }
  .brand-word { font-size: 16px; }
  .header-tools { gap: 4px; }
  .lang button { padding: 8px 7px; font-size: 11.5px; }
  .loom { opacity: .42; }
  .loom.photo { --hs: .56; }
  .cap-row { grid-template-columns: 1fr; gap: 6px; }
  .facts dt { padding-right: 14px; }
  /* 휴대폰: 법인명 줄이 화면 밖으로 넘치지 않게 줄바꿈을 허용하고 자간 맞춤을 끈다 */
  .facts dd small span { white-space: normal; letter-spacing: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .js .values.reveal li { clip-path: none; animation: none; }
  .js .values.reveal li::after { display: none; }
  .js .selvedge::before { clip-path: none; animation: none; }
  .js .selvedge::after { display: none; }
  .loom.photo, .loom.photo .strap, .loom.photo .strap::before { animation: none !important; opacity: 1; }
  .loom.photo .rollbox { display: none; }
}

/* Color Lab: 좁은 화면 */
.lab-stage, .lab-panel { min-width: 0; }
@media (max-width: 720px) {
  .lab-panel { padding: 18px 16px; }
  #chStyle { flex-wrap: wrap; }
  #chZone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-send { flex-wrap: wrap; }
  .lab-send .lab-text { flex-basis: 100%; }
}

/* Photographic travelling-roll hero. Canvas owns the weave and its timeline. */
.loom.photo.woven-canvas {
  top: -30%; right: -23%; width: 108%; height: auto; aspect-ratio: 8 / 7;
  transform: rotate(-25deg); animation: none;
  opacity: 1;
  -webkit-mask-image: none; mask-image: none;
  pointer-events: none;
}
.woven-canvas canvas { display: block; width: 100%; height: 100%; }
.hero:has(.woven-canvas)::after {
  background: linear-gradient(90deg,#08110d 1%,rgba(8,17,13,.94) 18%,rgba(8,17,13,.79) 35%,rgba(8,17,13,.48) 48%,transparent 67%),
    linear-gradient(0deg,rgba(5,14,10,.91),transparent 17%);
}
.site-header:not(.scrolled):not(.open) { background: linear-gradient(rgba(5,14,10,.78),transparent); }
@media (max-width: 820px) {
  .loom.photo.woven-canvas { top: -10%; right: -104%; width: 248%; }
  .hero:has(.woven-canvas)::after {
    background: linear-gradient(180deg, transparent 145px,rgba(7,15,11,.15) 180px,rgba(7,15,11,.9) 320px,#080f0c 640px);
  }
  .hero:has(.woven-canvas) .hero-inner { padding-top: 285px; }
}

/* ---------- 배경색 정리 (2026-11-15 승인) ---------- */
/* 1. 어두운 색 정리: 검정 대신 녹색이 살짝 도는 먹색으로 통일, 친환경 섹션만 한 단계 밝은 녹색 */
.section.dark { background-color: #0f1a15; }
.section.green { background-color: #15432d; }
.footer { background-color: #0a130f; }

/* 2. 밝은 섹션 구분: 미색을 두 단계로 확실히 나누고, 밝은 섹션이 시작되는 곳에 가는 직물 줄무늬 띠 */
:root { --paper: #f4f1e9; }
body { background-color: var(--paper); }
.section.tint { background-color: #e7e3d5; }
#products::before, #partners::before, #capacity::before, #company::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; opacity: .55;
  background: repeating-linear-gradient(90deg, #1f6b3a 0 3px, #8dc63f 3px 5px);
}

/* 3. 흰 카드가 또렷해지도록 옅은 테두리와 그림자 */
.product, .brand-tile, .cert { border: 1px solid rgba(14, 21, 18, .09); box-shadow: 0 8px 22px rgba(14, 21, 18, .06); }
.product:hover { box-shadow: 0 24px 60px rgba(14, 21, 18, .16); }

/* 4. 어두운 섹션에 아주 옅은 직물 조직 무늬 */
.section.dark, .section.green, .footer {
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .026) 0 2px, rgba(255, 255, 255, 0) 2px 7px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .026) 0 2px, rgba(255, 255, 255, 0) 2px 7px);
}

/* 지속가능성 안내 문장 기울임 */
[data-i18n="sustain.note"] { font-style: italic; }
