/* =========================================================
   LIVRE — 공통 스타일 (헤더 · 푸터 · 서브페이지 컴포넌트)
   ========================================================= */
:root {
  --ink: #0a0a0a;
  --ink-2: #111214;
  --paper: #ffffff;
  --mute: #9a9a9a;
  --line: rgba(255,255,255,.1);
  --brand: #001d43;   /* LIVRE 로고 컬러 (남색) */
  --accent: #3d74e0;  /* 어두운 배경에서 보이도록 밝힌 남색 계열 */
  --accent-soft: #8fb0f0;
  --max: 1320px;
  /* 리브리 브랜드 컬러 팔레트 */
  --livre-navy: #14243A;     /* 메인 배경 · 주요 제목 · 기본 버튼 */
  --livre-slate: #38536B;    /* 보조 텍스트 · 링크 · 버튼 호버 */
  --livre-mist: #AFC1CE;     /* 유리 로고 하이라이트 · 카드 테두리 · 그래픽 포인트 */
  --livre-offwhite: #F5F4F0; /* 밝은 섹션 기본 배경 */
  --livre-white: #FFFFFF;    /* 카드 · 어두운 배경 위 텍스트 */
  --livre-charcoal: #222831; /* 밝은 배경 위 본문 · 상세 설명 */
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--paper);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden; word-break: keep-all;
  text-wrap: pretty; /* 마지막 줄에 단어 하나만 남지 않게 (지원 안 하는 브라우저는 무시) */
}
/* 제목·소개문·카드 문구처럼 짧은 글은 줄 길이를 고르게 나눈다 (6줄 넘는 긴 글은 위 pretty 유지) */
h1, h2, h3, h4, li, dt, dd, .lead, .p-desc, .card p, .glass p, figcaption, .bal { text-wrap: balance; }
/* 문장 단위 줄바꿈은 넓은 화면에서만, 휴대폰에서는 글이 자연스럽게 흐르도록 */
@media (max-width: 767px) { br.pc { display: none; } }
/* site.js가 <br> 구간을 감싼 덩어리: 덩어리마다 한 줄 단위로 시작한다 */
.ln, .ln-pc { display: block; }
@media (max-width: 767px) { .ln-pc { display: inline; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
.nw { white-space: nowrap; } /* 한 덩어리로 읽혀야 하는 구절 (줄이 이 안에서 갈라지지 않는다) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }

/* ---------- Glass ---------- */
.glass-menu {
  background: linear-gradient(150deg, rgba(40,40,40,.82), rgba(13,13,13,.86));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 60px -20px rgba(0,0,0,.85);
}
.glass-chip {
  background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.glass {
  position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 45%, rgba(255,255,255,.016));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 1px 0 0 rgba(255,255,255,.06), 0 40px 80px -40px rgba(0,0,0,.9);
}
.glass::after { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); opacity: .35; }
a.glass { transition: border-color .4s, background .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
a.glass:hover { border-color: rgba(255,255,255,.24); background: linear-gradient(150deg, rgba(255,255,255,.15), rgba(255,255,255,.05) 50%, rgba(255,255,255,.02)); transform: translateY(-4px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.header-bg { position: absolute; inset: 0; border-bottom: 1px solid transparent; transition: all .5s; }
.header.scrolled .header-bg, .header.solid .header-bg { background: rgba(10,10,10,.6); border-color: rgba(255,255,255,.08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-in { position: relative; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; color: #fff; padding: 10px 0; margin: -10px 0; } /* 글자 높이(20px)보다 넓게 눌리도록 */
.logo svg { height: 20px; width: auto; display: block; }
.gnb { display: none; }
.gnb > ul { display: flex; align-items: center; gap: 4px; }
.gnb li.dd { position: relative; }
.gnb-btn { display: flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: rgba(255,255,255,.6); transition: color .2s; }
.gnb-btn:hover, .dd.open .gnb-btn, .gnb-btn.on { color: var(--paper); }
.gnb-btn svg, .gnb-tg svg { width: 14px; height: 14px; transition: transform .3s; }
.dd.open .gnb-tg svg { transform: rotate(180deg); }
/* 이름(링크)과 화살표(버튼)가 나뉜 메뉴: 겉보기는 한 덩어리, 누르는 곳은 둘 */
.dd-head { display: flex; align-items: center; }
.gnb-link { padding-right: 0; }
button.gnb-tg:not(.gnb-btn) { display: grid; place-items: center; align-self: stretch; padding: 0 14px 0 6px; border-radius: 999px; color: rgba(255,255,255,.6); transition: color .2s; }
button.gnb-tg:not(.gnb-btn):hover, .dd.open button.gnb-tg, button.gnb-tg.on { color: var(--paper); }
.gnb-btn:focus-visible, .gnb-tg:focus-visible, .mg-top:focus-visible, .mg-tg:focus-visible { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; }
.dd-panel { position: absolute; left: 50%; top: 100%; padding-top: 12px; transform: translate(-50%, -4px); opacity: 0; visibility: hidden; transition: all .3s; }
.dd.open .dd-panel { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.dd-box { border-radius: 24px; padding: 10px; width: 200px; }
.dd-box.wide { width: 460px; padding: 12px; }
.dd-box ul { display: flex; flex-direction: column; gap: 2px; }
.dd-box.wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-link { display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 16px; padding: 10px 12px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: rgba(255,255,255,.75); transition: all .2s; text-align: center; }
.dd-box.wide .dd-link { justify-content: flex-start; text-align: left; }
.dd-link:hover { background: rgba(255,255,255,.07); color: var(--paper); }
.dd-link .ico { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.72); transition: border-color .2s, background .2s, color .2s; }
.dd-link .ico svg { width: 17px; height: 17px; }
.dd-link:hover .ico { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); color: var(--paper); }
.dd-link small { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.4); letter-spacing: 0; margin-top: 2px; }
/* 항목이 차례로 나타나는 하위 메뉴(BUSINESS, PC · 모바일 공통): 열릴 때 위에서 아래로 60ms 간격, 0.2초 안팎.
   닫힐 때는 메뉴판이 사라진 뒤(0.3초) 처음 상태로 되돌린다. 투명도와 위치만 바뀌므로 나타나는 중에도 바로 누를 수 있다 */
.dd.stag .dd-box li, .mg.stag .mg-sub a { opacity: 0; transform: translateY(-6px); transition: opacity 0s .3s, transform 0s .3s; }
.dd.stag.open .dd-box li, .mg.stag.open .mg-sub a { opacity: 1; transform: none; transition: opacity .2s ease-out calc(var(--i) * 60ms), transform .24s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 60ms); }
/* 다른 메뉴를 펼칠 때 열려 있던 메뉴는 닫히는 모션 없이 바로 닫힌다 (스크립트가 잠깐 .snap을 붙인다) → 두 메뉴가 겹쳐 보이지 않는다 */
.dd.snap .dd-panel, .dd.snap .dd-box li, .dd.snap .gnb-tg svg,
.mg.snap .mg-sub, .mg.snap .mg-sub > div, .mg.snap .mg-sub a, .mg.snap .mg-tg svg { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .dd.stag .dd-panel, .dd.stag .gnb-tg svg, .dd.stag .dd-box li, .dd.stag.open .dd-box li, .mg.stag .mg-sub a, .mg.stag.open .mg-sub a { transition: none; }
}
.cta { display: inline-flex; align-items: center; border-radius: 999px; background: var(--livre-white); color: var(--livre-navy); padding: 9px 18px; font-size: 13px; font-weight: 700; transition: background .2s; }
.cta:hover { background: color-mix(in srgb, var(--livre-mist) 45%, var(--livre-white)); }
.cta:focus-visible { outline: 2px solid var(--livre-mist); outline-offset: 3px; }
.header-right { display: flex; align-items: center; gap: 8px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; }
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; transition: transform .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; inset: 72px 0 0 0; background: rgba(10,10,10,.96); backdrop-filter: blur(20px); padding: 8px 16px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: all .3s; z-index: 49; }
.menu-open { overflow: hidden; }
.menu-open .mnav { opacity: 1; visibility: visible; }
/* 모바일 메뉴: 이름(바로 이동) + 화살표(하위 메뉴 접고 펴기) */
.mg { border-bottom: 1px solid rgba(255,255,255,.08); }
.mg-row { display: flex; align-items: center; min-height: 58px; }
.mnav .mg-top { flex: 1; display: flex; align-items: center; align-self: stretch; padding: 0; font-size: 15px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.85); text-align: left; }
.mnav .mg-top.on { color: var(--paper); }
.mg-tg { width: 52px; height: 52px; margin-right: -14px; display: grid; place-items: center; color: rgba(255,255,255,.6); }
.mg-tg svg { width: 18px; height: 18px; transition: transform .3s; }
.mg.open .mg-tg { color: var(--paper); }
.mg.open .mg-tg svg { transform: rotate(180deg); }
.mg-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1); }
.mg.open .mg-sub { grid-template-rows: 1fr; }
.mg-sub > div { overflow: hidden; visibility: hidden; transition: visibility 0s .35s; }
.mg.open .mg-sub > div { visibility: visible; transition-delay: 0s; }
.mg-sub a { display: block; padding: 9px 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: rgba(255,255,255,.78); }
.mg-sub a:last-child { margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .mg-sub, .mg-tg svg { transition: none; } }
@media (min-width: 640px) { .logo svg { height: 23px; } }
@media (min-width: 1024px) { .gnb { display: block; } .burger, .mnav { display: none; } }

/* ---------- Common type ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .4em; color: var(--mute); text-transform: uppercase; }

.h1 { font-size: clamp(38px, 7vw, 84px); font-weight: 300; line-height: 1.22; letter-spacing: -.03em; }
.h1 strong, .h2 strong { font-weight: 900; }
.h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 300; line-height: 1.32; letter-spacing: -.025em; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.3; }
.lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.75; letter-spacing: -.01em; color: rgba(255,255,255,.6); }
.body p { font-size: 16px; line-height: 1.8; letter-spacing: -.01em; color: rgba(255,255,255,.62); }
.body p + p { margin-top: 16px; }
.body strong { color: #fff; }
.muted { color: rgba(255,255,255,.45); font-size: 14px; line-height: 1.7; }
.tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.tag.wait::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fbbf24; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-w { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--livre-white); color: var(--livre-navy); padding: 14px 24px; font-size: 14px; font-weight: 700; transition: background .2s; }
.btn-w:hover { background: color-mix(in srgb, var(--livre-mist) 45%, var(--livre-white)); }
.btn-g { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-size: 14px; font-weight: 600; transition: background .2s; }
.btn-g:hover { background: rgba(255,255,255,.15); }
.btn-w svg, .btn-g svg { width: 16px; height: 16px; }

/* ---------- Sub hero ---------- */
.sub-hero { position: relative; overflow: hidden; padding: 168px 0 88px; }
.sub-hero.photo { min-height: 72svh; display: flex; align-items: flex-end; }
.sub-hero.photo > .wrap { width: 100%; } /* flex 안에서 내용 폭으로 줄어 가운데로 몰리지 않게 */
.sub-hero .ph { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; transform: scale(1.04); }
.sub-hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.2) 40%, var(--ink)); }
.sub-hero .bg-word { position: absolute; left: 0; right: 0; bottom: -2vw; text-align: center; white-space: nowrap; font-size: 17vw; font-weight: 900; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none; user-select: none; }
.sub-hero .glow { position: absolute; right: -10%; top: -10%; width: 620px; height: 620px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); filter: blur(140px); pointer-events: none; }
.sub-hero .wrap > * + * { margin-top: 22px; }
.sub-hero .h1 { margin-top: 18px; }
.sub-hero .lead { max-width: 640px; }
.crumb { font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .1em; }
.crumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 88px 0; overflow: hidden; }
@media (min-width: 1024px) { .sec { padding: 128px 0; } }
.sec.tight { padding: 64px 0; }
.sec.alt { background: var(--ink-2); }
.sec-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.sec-head .lead { max-width: 520px; }
/* 제목과 소개문을 나란히 두는 건 1280px부터: 그보다 좁으면 제목이 눌려 한 단어씩 줄이 바뀐다 */
@media (min-width: 1280px) {
  .sec-head.split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sec-head.split .lead { text-align: right; }
}
.sec-head .h2 { margin-top: 4px; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.a { left: -6%; top: 20%; width: 420px; height: 420px; background: rgba(255,255,255,.05); filter: blur(120px); }
.blob.b { right: -4%; top: 40%; width: 480px; height: 480px; background: color-mix(in srgb, var(--accent) 10%, transparent); filter: blur(130px); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.split-2 { display: grid; gap: 40px; }
@media (min-width: 1024px) { .split-2 { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } .split-2.even { grid-template-columns: 1fr 1fr; }
  .split-2 .h2 { font-size: clamp(30px, 3.4vw, 44px); } /* 반쪽 칸 제목은 한 구절이 한 줄에 들어가는 크기로 */ }

/* ---------- Cards ---------- */
.card { border-radius: 28px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .card { padding: 36px; } }
.card .k { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: rgba(255,255,255,.45); text-transform: uppercase; }
.card h3 { margin-top: 14px; font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.6); letter-spacing: -.01em; }
.card .more { margin-top: auto; padding-top: 24px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); display: inline-flex; gap: 6px; align-items: center; }
.card .more::after { content: "→"; transition: transform .3s; }
a.card:hover .more::after { transform: translateX(4px); }
.card .logo-img { height: 30px; width: auto; object-fit: contain; object-position: left; }
.card .thumb { margin: -28px -28px 24px; aspect-ratio: 16/10; overflow: hidden; }
@media (min-width: 1024px) { .card .thumb { margin: -36px -36px 28px; } }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
a.card:hover .thumb img { transform: scale(1.05); }

/* stats: 카드 없이 가는 선 위에 숫자와 설명만 */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { position: relative; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.stat::before { content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 1px; background: var(--paper); }
.stat b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: -.01em; color: rgba(255,255,255,.5); }

/* specs (dl) */
.specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .25em; color: rgba(255,255,255,.4); padding-top: 3px; text-transform: uppercase; }
.specs dd { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.85); }
.specs dd a { text-decoration: underline; text-underline-offset: 3px; }
.specs .cs-line { display: flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2); }

/* steps */
.steps { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(var(--cols, 5), 1fr); } }
.step { border-radius: 22px; padding: 20px; position: relative; }
.step .n { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent-soft); }
.step .t { margin-top: 18px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.step .d { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }
.step.warn { border-color: rgba(248,113,113,.45); }
.step.warn .n { color: #f87171; }

/* features */
.features { display: grid; gap: 12px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { border-radius: 24px; padding: 26px; }
.feature .n { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent-soft); }
.feature h3 { margin-top: 28px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.feature p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); }

/* checklist */
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 14px; align-items: center; border-radius: 18px; padding: 16px 18px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ck { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent-soft); }
.ck svg { width: 15px; height: 15px; }

/* division (numbered section head) */
.division { display: grid; gap: 28px; }
@media (min-width: 1024px) { .division { grid-template-columns: 340px 1fr; gap: 64px; } }
.sec .num { font-size: 13px; font-weight: 700; color: var(--accent-soft); letter-spacing: .2em; }
.ttl small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .35em; color: var(--mute); margin: 14px 0 10px; }
.ttl { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }

/* gallery */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; position: relative; }
.strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
@media (min-width: 1024px) { .strip img { aspect-ratio: 4/5; max-height: 640px; } }
.strip .ov { position: absolute; inset: auto 0 0 0; padding: 40px 0; background: linear-gradient(transparent, rgba(10,10,10,.92)); }
.collage { columns: 2; column-gap: 8px; }
@media (min-width: 1024px) { .collage { columns: 4; } }
.collage img { width: 100%; margin-bottom: 8px; border-radius: 16px; break-inside: avoid; }

/* chapter */
.chapter { position: relative; padding: 120px 0; overflow: hidden; }
.chapter .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; filter: grayscale(.3); }
.chapter .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(10,10,10,.55) 30%, rgba(10,10,10,.55) 70%, var(--ink)); }
.chapter .pill { display: inline-flex; border-radius: 999px; padding: 7px 14px; font-size: 11px; font-weight: 700; letter-spacing: .25em; }
.chapter .en { margin-top: 26px; font-size: clamp(40px, 7vw, 96px); font-weight: 900; letter-spacing: -.025em; line-height: 1; }
.chapter .ko { margin-top: 12px; font-size: 18px; font-weight: 600; color: rgba(255,255,255,.6); }
.chapter .body { margin-top: 40px; max-width: 820px; }
.chapter .stats { margin-top: 48px; }

/* products */
.product { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.product .media { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.12), rgba(255,255,255,.02) 70%); display: grid; place-items: center; padding: 28px; }
.product .media img { max-height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.product:hover .media img { transform: scale(1.05) rotate(-2deg); }
.product .off { position: absolute; left: 18px; top: 18px; font-size: 13px; font-weight: 800; color: #ff8a3d; }
.product .badge { position: absolute; right: 18px; top: 18px; border-radius: 999px; background: #fff; color: #000; font-size: 11px; font-weight: 800; padding: 4px 10px; }
.product .pb { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .cat { font-size: 12px; color: rgba(255,255,255,.45); font-weight: 600; }
.product .nm { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.product .ds { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); }
.product .pr { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.product .pr s { font-size: 13px; color: rgba(255,255,255,.35); }
.product .pr strong { font-size: 20px; font-weight: 900; }
.product .pr em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.45); }

/* statement / CTA */
.statement { position: relative; padding: 140px 0; text-align: center; overflow: hidden; }
.statement::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); filter: blur(140px); pointer-events: none; }
.statement .h2 { margin: 22px auto 0; max-width: 900px; font-weight: 800; }
.statement .lead { margin: 22px auto 0; max-width: 620px; }
.statement .btns { justify-content: center; margin-top: 40px; }

/* pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 36px 16px; display: block; transition: background .3s; }
.pager a:hover { background: rgba(255,255,255,.03); }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager small { font-size: 11px; letter-spacing: .3em; color: var(--mute); font-weight: 600; }
.pager b { display: block; margin-top: 8px; font-size: clamp(18px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 1024px) { .pager a { padding: 48px 40px; } }

/* timeline */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .tl-row { grid-template-columns: 200px 1fr; } }
.tl-row b { font-size: clamp(24px, 3vw, 40px); font-weight: 900; letter-spacing: -.025em; line-height: 1; color: rgba(255,255,255,.9); }
.tl-row ul { display: grid; gap: 8px; }
.tl-row li { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.6; padding-left: 16px; position: relative; }
.tl-row li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--accent-soft); }
/* 연혁 스크롤 연출 (about.html 스크립트가 .tl-on을 붙일 때만): 연도 열 오른쪽의 세로선이 읽는 위치까지 이어지고,
   지금 보고 있는 연도만 밝아진다. 모션 줄이기에서는 붙이지 않아 원래 모습 그대로 */
.timeline { position: relative; --tl-x: 100px; }
@media (min-width: 1024px) { .timeline { --tl-x: 210px; } }
.tl-rail, .tl-fill { position: absolute; left: var(--tl-x); top: 0; bottom: 0; width: 1px; pointer-events: none; }
.tl-rail { background: rgba(255,255,255,.08); }
.tl-fill { background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.7)); transform: scaleY(var(--tl-p, 0)); transform-origin: top; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tl-on .tl-row b { position: relative; color: rgba(255,255,255,.4); transition: color .5s; }
.tl-on .tl-row b::after { content: ""; position: absolute; left: calc(var(--tl-x) - 3.5px); top: .5em; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); transition: background .4s, box-shadow .4s; }
.tl-on .tl-row li { transition: color .5s; }
.tl-on .tl-row.past b::after { background: rgba(255,255,255,.55); box-shadow: none; }
.tl-on .tl-row.now b { color: var(--paper); }
.tl-on .tl-row.now b::after { background: var(--paper); box-shadow: 0 0 0 4px rgba(255,255,255,.1), 0 0 14px rgba(255,255,255,.45); }
.tl-on .tl-row.now li { color: rgba(255,255,255,.86); }

/* org chart */
.org-top { border-radius: 24px; padding: 24px; text-align: center; max-width: 420px; margin: 0 auto 16px; }
.org-top b { display: block; font-size: 20px; font-weight: 800; }
.org-top span { font-size: 14px; color: rgba(255,255,255,.55); }
.org-div { border-radius: 26px; padding: 26px; }

.org-div h3 { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.org-div > p { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }
.org-team { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.org-team b { font-size: 15px; font-weight: 700; }
.org-team ul { margin-top: 6px; display: grid; gap: 4px; }
.org-team li { font-size: 13px; color: rgba(255,255,255,.5); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 700; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.6); }

/* form */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.form input, .form select, .form textarea { font: inherit; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px; font-size: 15px; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.form select option { background: #1a1a1a; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); background: rgba(255,255,255,.07); }
.form textarea { min-height: 160px; resize: vertical; }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.55); }
.form .agree input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.form .agree a { text-decoration: underline; }
.form .row2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: 1fr 1fr; } }

/* info list */
.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: rgba(255,255,255,.8); }
.info li b { font-size: 11px; letter-spacing: .25em; color: rgba(255,255,255,.4); font-weight: 700; padding-top: 3px; }

/* table */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); line-height: 1.6; vertical-align: top; }
.tbl th { font-size: 12px; color: rgba(255,255,255,.45); font-weight: 600; }
.tbl td { color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(175,193,206,.16); padding: 72px 0 40px; background: var(--livre-navy); } /* 브랜드 네이비 + 화이트 텍스트 */
.f-top { display: grid; gap: 40px; }
@media (min-width: 1024px) { .f-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.f-brand svg { height: 22px; width: auto; color: #fff; }
.f-brand p { margin-top: 18px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.f-brand span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.45); letter-spacing: .05em; }
.f-col h5 { font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.4); font-weight: 600; margin-bottom: 14px; }
.f-col li { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.6; }
.f-col a:hover { color: #fff; }
.f-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; }
@media (min-width: 1024px) { .f-bottom { flex-direction: row; justify-content: space-between; } }
/* 푸터 나열 문구: 항목은 쪼개지지 않고, 구분점은 항목 사이에만 보인다 (줄 첫머리의 구분점은 잘려 숨음) */
.footer .f-list { display: flex; flex-wrap: wrap; gap: 0 18px; overflow: hidden; }
.f-list i { position: relative; font-style: normal; white-space: nowrap; }
.f-list i::before { content: "·"; position: absolute; left: -11px; }
.f-list.bar i::before { content: ""; left: -9px; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: rgba(255,255,255,.2); }
.f-biz { display: flex; flex-direction: column; gap: 2px; }
.f-brand .f-list { max-width: 250px; } /* 어느 화면에서든 3개 + 2개 두 줄로 (한 단어만 남는 줄 없이) */

/* ---------- Mobile ---------- */
/* <picture>는 레이아웃에 끼지 않게: 안의 <img>가 그리드·절대배치의 직접 자식처럼 동작 */
picture { display: contents; }
picture > source { display: none; } /* 빈 상자로 그리드 칸을 차지하지 않게 */
/* 배경 사진: 넓은 화면은 원본(--bg), 휴대폰은 1200px 사본(--bg-m) */
.sub-hero .ph, .chapter .bg { background-image: var(--bg); }
@media (max-width: 767px) {
  .sub-hero .ph, .chapter .bg { background-image: var(--bg-m, var(--bg)); }
  .cta { min-height: 42px; padding: 11px 16px; } /* 누르기 쉬운 높이 */
  .chapter { padding: 80px 0; }
  .chapter .stats { margin-top: 36px; }
  .footer { padding: 56px 0 32px; }
  /* 푸터: 브랜드 · 연락처는 한 줄씩, LINKS와 FAMILY는 나란히 */
  .f-top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .f-top > .f-brand, .f-top > .f-col:nth-child(2) { grid-column: 1 / -1; }
  .f-col li { margin-top: 0; }
  .f-col li a { display: inline-block; padding: 10px 0; } /* 한 번에 누르기 쉬운 높이(약 42px) */
  .info a { display: inline-block; padding: 11px 0; margin: -11px 0; } /* 연락처 · 이메일 링크 누르는 영역 */
  .f-bottom { margin-top: 40px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
