/* Selection Book — hapireno.com 톤 (Archivo + Anton, Hapi blue). 폰 기준 먼저 */
:root{
  --ink:#111; --muted:#666; --faint:#9a9a9a; --line:#e4e4e4; --soft:#f4f4f4;
  --accent:#3b3bf5; --accent-deep:#1f24d6; --accent-soft:#eef0ff;
  --stage:#ececea; --ph:#e2e2e2;
  --display:"Anton","Archivo","Pretendard Variable",Impact,sans-serif;
  --text:"Archivo","Pretendard Variable",system-ui,-apple-system,sans-serif;
  --top:52px; --bar:64px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}   /* 폰 브라우저가 글씨 멋대로 키우지 않게 */
html,body{margin:0;height:100%;background:var(--stage);color:var(--ink);font-family:var(--text);-webkit-font-smoothing:antialiased;overflow:hidden}
html[lang=ko] body{word-break:keep-all}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
a{color:inherit}

/* ---------- 위 · 아래 바 ---------- */
.top{position:fixed;top:0;left:0;right:0;height:calc(var(--top) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-bottom:1px solid var(--line);z-index:20}
.back{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:14px;font-weight:700;text-decoration:none;color:var(--accent)}
.brand{position:absolute;left:50%;transform:translateX(-50%);font-family:var(--display);font-size:17px;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-deep);white-space:nowrap;pointer-events:none}
.lang{display:flex;border:1.5px solid var(--ink);border-radius:999px;overflow:hidden;font-size:13px;font-weight:700;line-height:1}
.lang button{padding:7px 11px}
.lang button.on{background:var(--accent);color:#fff}
@media (max-width:560px){ .brand{display:none} }

.bar{position:fixed;left:0;right:0;bottom:0;height:calc(var(--bar) + env(safe-area-inset-bottom));padding:0 12px env(safe-area-inset-bottom);display:flex;align-items:center;justify-content:center;gap:6px;background:#fff;border-top:1px solid var(--line);z-index:20}
.nb{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--accent)}
.nb svg,.tocbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.nb:disabled{color:#c9c9c9;cursor:default}
.count{min-width:64px;text-align:center;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.tocbtn{position:absolute;right:12px;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border:1.5px solid var(--ink);border-radius:999px;font-size:13px;font-weight:700}
.tocbtn svg{width:18px;height:18px;stroke-width:2.4}
@media (max-width:420px){ .tocbtn span{display:none} .tocbtn{padding:0 10px} .count{min-width:56px} }

/* ---------- 무대 · 책 ---------- */
.stage{position:fixed;left:0;right:0;top:calc(var(--top) + env(safe-area-inset-top));bottom:calc(var(--bar) + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;padding:16px}
@media (max-width:719px){ .stage{padding:0} }   /* 폰: 화면 너비에 꽉 */
.book{width:100%;height:100%}
.msg{font-size:14px;color:var(--muted)}

/* 저장 막기 — 길게 눌러 저장 · 드래그 · 선택 */
.book,.book *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.book img{-webkit-user-drag:none;pointer-events:none}

/* ---------- 페이지 (3:4) — 안쪽 크기는 전부 페이지 너비 기준(cqw). 높이 = 133cqw ---------- */
.page{background:#fff;overflow:hidden;container-type:size}   /* cqw = 이 페이지 너비 기준 */
.pg{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column;padding:8cqw 7cqw 9cqw;font-size:3.6cqw;line-height:1.4}
.pg::after{   /* 은은한 워터마크 */
  content:"";position:absolute;inset:0;pointer-events:none;z-index:5;opacity:.07;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='180'%3E%3Ctext x='160' y='96' text-anchor='middle' transform='rotate(-22 160 90)' font-family='Arial,sans-serif' font-size='17' font-weight='700' fill='%23111'%3Ehapireno.com%3C/text%3E%3C/svg%3E");
  background-size:56cqw auto}
.folio{position:absolute;left:7cqw;right:7cqw;bottom:3cqw;display:flex;justify-content:flex-end;font-size:2.3cqw;font-weight:600;color:var(--faint);letter-spacing:.08em;text-transform:uppercase;z-index:2}

/* 매거진 글씨 — 제목 크고 얇게, 설명 짧게 */
.kick{font-size:2.5cqw;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.h{margin:1.6cqw 0 0;font-family:"Archivo",var(--text);font-weight:250;font-size:10cqw;line-height:1.02;letter-spacing:-.035em}
.h.sm{font-size:7cqw}
.h.big{font-size:13cqw}
.h.huge{font-size:17cqw;line-height:.98}
html[lang=ko] .h{font-family:"Pretendard Variable",var(--text);font-weight:300;letter-spacing:-.05em;line-height:1.12;font-size:9cqw}
html[lang=ko] .h.sm{font-size:6.4cqw} html[lang=ko] .h.big{font-size:11cqw} html[lang=ko] .h.huge{font-size:14cqw}
.lede{margin:2.6cqw 0 0;max-width:92%;font-size:3.4cqw;line-height:1.45;color:var(--muted)}
.disc{margin:auto 0 0;padding-top:3cqw;font-size:2.3cqw;line-height:1.4;color:var(--faint)}

/* 사진 칸 — 없으면 회색 플레이스홀더 */
.pic{position:relative;overflow:hidden;background:var(--ph)}
.pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pic video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}   /* 사진 칸에 짧은 반복 영상 (item.video) */
.pic .ph{position:absolute;inset:0;display:grid;place-items:center;color:#a3a3a3;font-size:2.4cqw;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-align:center;padding:1cqw}
.pic.contain{background:#fff;box-shadow:inset 0 0 0 .2cqw var(--line)}   /* 흰 배경 제품 사진 — 안 자르고 전체 */
.pic.contain img{object-fit:contain;padding:4%}
.pic.mood .ph{font-size:3.4cqw;letter-spacing:.2em}
.pic.logo{background:none}   /* 로고는 박스 없이 깔끔하게 — 흰 페이지 위에 바로 */
.pic.logo img{object-fit:contain;padding:0}
.pic.logo .ph{font-size:2cqw}

/* 들어올 때 살짝 올라오며 나타남 */
.rv{opacity:0;transform:translateY(2.4cqw);transition:opacity .55s ease,transform .55s ease}
.page.on .rv{opacity:1;transform:none}
.page.on .rv:nth-child(2){transition-delay:.06s} .page.on .rv:nth-child(3){transition-delay:.12s} .page.on .rv:nth-child(4){transition-delay:.18s} .page.on .rv:nth-child(5){transition-delay:.24s} .page.on .rv:nth-child(n+6){transition-delay:.3s}
@media (prefers-reduced-motion:reduce){ .rv{opacity:1;transform:none;transition:none} }

/* cover */
.t-cover .pg{background:var(--accent);color:#fff;justify-content:space-between;padding:9cqw 8cqw 8cqw}
.t-cover .bgimg{position:absolute;inset:0;z-index:0}
.t-cover .bgimg img{width:100%;height:100%;object-fit:cover}
.t-cover .bgimg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.55))}
.t-cover .pg>*{position:relative;z-index:1}
.t-cover .wm{font-family:var(--display);font-size:6cqw;letter-spacing:.06em;text-transform:uppercase}
.t-cover .ct{margin:0;font-family:"Archivo",var(--text);font-weight:200;font-size:16cqw;line-height:.95;letter-spacing:-.045em}
html[lang=ko] .t-cover .ct{font-family:"Pretendard Variable",var(--text);font-weight:300;font-size:13cqw;line-height:1.1;letter-spacing:-.06em}
.t-cover .cs{margin:4cqw 0 0;font-size:3.8cqw;line-height:1.4;opacity:.9;max-width:82%}
.t-cover .cf{display:flex;justify-content:space-between;align-items:flex-end;gap:3cqw;font-size:2.6cqw;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.t-cover .pk{display:flex;gap:1.4cqw;flex-wrap:wrap}
.t-cover .pk span{border:.3cqw solid rgba(255,255,255,.7);border-radius:99px;padding:.8cqw 2cqw}
.t-cover .pg::after{opacity:.1;filter:invert(1)}

/* compare */
.cmp{margin-top:4cqw;flex:1;min-height:0;display:flex;flex-direction:column}
.cmp-h,.cmp-r{display:grid;grid-template-columns:1fr 12cqw 12cqw 12cqw;align-items:center}
.cmp-h{font-size:2.5cqw;font-weight:800;text-align:center;color:var(--accent);padding-bottom:1.6cqw;border-bottom:.3cqw solid var(--ink);line-height:1.15}
.cmp-r{flex:1 1 auto;min-height:0;padding:.6cqw 0;border-bottom:.2cqw solid var(--line);font-size:2.9cqw;line-height:1.2}
.cmp-r>span:first-child{padding-right:2cqw}
.cmp-r i{justify-self:center;width:5cqw;height:5cqw;border-radius:50%;background:var(--accent);display:grid;place-items:center}
.cmp-r i svg{width:3.2cqw;height:3.2cqw;fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.cmp-r b{justify-self:center;width:3cqw;height:.4cqw;background:#d4d4d4;border-radius:1px}
.t-compare .disc{margin-top:2.4cqw}
/* 영어: 제목 한 줄 + 체크 작게 (영어 제목이 2줄이라 행이 좁아져 체크가 겹쳐 보였음) */
html:not([lang=ko]) .t-compare .h{font-size:7.4cqw}
html:not([lang=ko]) .cmp-r i{width:4.2cqw;height:4.2cqw}
html:not([lang=ko]) .cmp-r i svg{width:2.7cqw;height:2.7cqw}

/* package */
.t-package .bignum{position:absolute;right:5cqw;top:3cqw;font-family:"Archivo",var(--text);font-weight:200;font-size:40cqw;line-height:1;color:var(--accent-soft);z-index:0}
.t-package .pg>*:not(.bignum):not(.folio){position:relative;z-index:1}
.inc{list-style:none;margin:6cqw 0 0;padding:0;display:flex;flex-direction:column;gap:2.8cqw}
.inc li{display:flex;gap:2.4cqw;align-items:flex-start;font-size:3.5cqw;line-height:1.3}
.inc svg{flex:none;width:4.4cqw;height:4.4cqw;margin-top:.1cqw;fill:none;stroke:var(--accent);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.jump{margin-top:auto;padding-top:4cqw}
.jump small{display:block;font-size:2.4cqw;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:1.6cqw}
.jump div{display:flex;flex-wrap:wrap;gap:1.6cqw}
.jump a{font-size:2.9cqw;font-weight:700;text-decoration:none;color:var(--accent);border:.3cqw solid var(--accent);border-radius:99px;padding:1.1cqw 2.6cqw}

/* brands — 왼쪽 카테고리 · 오른쪽 브랜드(로고 칸 + 이름) */
.t-brands .h{font-size:8.4cqw}
.t-brands .lede{margin-top:1.8cqw}
.brl{margin-top:2.4cqw;display:flex;flex-direction:column}
.br-row{display:grid;grid-template-columns:24cqw 1fr;column-gap:3cqw;padding:1.5cqw 0;border-top:.25cqw solid var(--ink)}
.br-row small{font-size:2.3cqw;font-weight:700;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:var(--muted);padding-top:.4cqw}
.br-names{display:flex;flex-wrap:wrap;gap:1.6cqw 3cqw}
.br-one{width:17.5cqw;display:flex;flex-direction:column;gap:1.2cqw}
.br-one .pic{aspect-ratio:2.6/1;border-radius:.8cqw}
.br-one span{font-size:3cqw;font-weight:600;line-height:1.2;letter-spacing:-.01em}
.br-row em{grid-column:2;display:block;margin-top:1.4cqw;font-style:normal;font-size:3.2cqw;font-weight:700;color:var(--ink)}   /* 욕실 Aura 안내 — 잘 보이게 */
/* 한 줄형: 안내 글 + 로고들 (로고가 이름 역할이라 이름 글자 없음) */
.br-inline{display:flex;align-items:center;gap:3.2cqw;flex-wrap:wrap}
.br-inline span{font-size:3cqw;font-weight:600}
.br-inline img{height:5.6cqw;width:auto;max-width:18cqw;object-fit:contain}
.br-one.two{width:27cqw}   /* 브랜드 둘이면 이름이 한 줄에 들어가게 칸만 넓게 (로고 크기는 그대로) */
.br-one.two .pic{width:17.5cqw}
.br-one.wide{width:100%;flex-direction:row;align-items:center;gap:2.4cqw}
.br-one.wide .pic{width:17.5cqw;flex:none}

/* mood-spread 왼쪽 — 큰 무드 사진 + 아래 제목 */
.t-mood-l .pg{padding:0;justify-content:flex-end;color:#fff}
.pic.full{position:absolute;inset:0}
.ml-cap{position:relative;z-index:1;padding:20cqw 7cqw 8cqw;background:linear-gradient(180deg,transparent,rgba(0,0,0,.55))}
.ml-cap .kick{color:#fff;opacity:.85}
.ml-cap .lede{color:rgba(255,255,255,.88)}
.t-mood-l .pg::after{filter:invert(1);opacity:.08}

/* mood-spread 오른쪽 — 샘플 카드 3~6개 */
.smp{margin-top:5cqw;flex:1;min-height:0;display:grid;gap:4cqw 3.4cqw;grid-template-columns:1fr 1fr}
.smp.n2{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr))}
.smp.n3{grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr))}
.smp.n4{grid-template-rows:repeat(2,minmax(0,1fr))}
.smp.n5,.smp.n6{grid-template-rows:repeat(3,minmax(0,1fr))}
.sc{min-height:0;display:flex;flex-direction:column;gap:.8cqw}
.sc .pic{flex:1;min-height:0;margin-bottom:1cqw}
.sc b{font-size:3.4cqw;font-weight:600;line-height:1.2}
.sc span{font-size:2.7cqw;color:var(--muted);line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.smp.n2 .sc,.smp.n3 .sc{display:grid;grid-template-columns:44% 1fr;grid-template-rows:1fr auto auto 1fr;column-gap:4cqw}
.smp.n2 .sc .pic,.smp.n3 .sc .pic{grid-row:1/5;margin:0}
.smp.n2 .sc b,.smp.n3 .sc b{grid-row:2} .smp.n2 .sc span,.smp.n3 .sc span{grid-row:3}

/* 샘플을 가로로 긴 띠로 (슬랩 면이 넓게 보이게) — samplesLayout: "strips". 이름은 사진 위 한 줄 라벨, 제목 작게 */
.pg:has(.smp.strips) .h{font-size:5.6cqw}
html[lang=ko] .pg:has(.smp.strips) .h{font-size:5.2cqw}
/* 작은 샘플 목록 (samplesLayout: "list") — 정사각 작은 사진 + 이름, 줄 높이는 내용만큼 */
.smp.list{display:flex;flex-direction:column;gap:3.4cqw;margin-top:3.4cqw;flex:none}
.smp.list .sc{display:grid;grid-template-columns:27cqw 1fr;grid-template-rows:1fr auto auto 1fr;column-gap:4cqw;min-height:0}
.smp.list .sc .pic{grid-row:1/5;width:27cqw;aspect-ratio:1;margin:0;box-shadow:inset 0 0 0 .2cqw var(--line)}
.smp.list .sc b{grid-row:2;font-size:3.4cqw}
.smp.list .sc span{grid-row:3}
/* 왼쪽 페이지 무드 사진 2~3장 (moods) */
.mcol{position:absolute;inset:0;display:grid;gap:1.2cqw;background:#fff}
.mcol.n2{grid-template-rows:1fr 1fr}
.mcol.n3{grid-template-columns:1fr 1fr;grid-template-rows:1.3fr 1fr}
.mcol.n3 .pic:first-child{grid-column:1/3}
.mcol .pic{min-height:0}
.smp.strips{margin-top:2cqw;grid-template-columns:1fr;grid-template-rows:repeat(var(--n,4),minmax(0,1fr));gap:1.2cqw}
.smp.strips .sc{position:relative;display:block;min-height:0}
.smp.strips .sc .pic{position:absolute;inset:0;margin:0}
.smp.strips .sc em{position:absolute;left:1.6cqw;bottom:1.6cqw;z-index:2;max-width:calc(100% - 3.2cqw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:normal;font-size:2.1cqw;font-weight:700;line-height:1.2;background:rgba(255,255,255,.88);padding:.5cqw 1.2cqw;border-radius:.5cqw}
.smp.strips .sc em i{font-style:normal;font-weight:500;color:#666}

/* specs 안의 제품 카드 (캔 사진 + 브랜드 로고 + 이름) */
.specs.cards{gap:3cqw}
.sp-card{display:flex;align-items:center;gap:2.6cqw;min-width:0}
.sp-card img.can{flex:none;width:15cqw;height:17cqw;object-fit:contain}
.sp-card small{margin-bottom:.8cqw}
.sp-card img.lg{display:block;height:3.4cqw;width:auto;max-width:24cqw;object-fit:contain;margin:.4cqw 0 1cqw}
.sp-card b{font-size:3cqw;line-height:1.2}
/* 아이템 칸 모양 바꾸기 (예: 색 칩을 납작하게) */
.its.rat .it .pic{aspect-ratio:var(--r)}

/* 한 줄 머리: 로고 + 제목 (MSI 로고가 이름 역할이라 "MSI samples"로 두 번 안 나오게) */
.lgh{margin-top:2.4cqw;display:flex;align-items:center;gap:3.4cqw;padding:2cqw 0;border-top:.25cqw solid var(--ink)}
.lgh img{height:7cqw;width:auto;max-width:30cqw;object-fit:contain}
.lgh span{font-size:4.6cqw;font-weight:250;letter-spacing:-.02em;line-height:1}
html[lang=ko] .lgh span{font-family:"Pretendard Variable",var(--text);font-weight:300}
/* feature 페이지: 소제목 줄 오른쪽 끝에 브랜드 로고 */
.kr{display:flex;align-items:center;justify-content:space-between;gap:3cqw;margin-top:5cqw}
.kr .kick{margin-top:0}
.kl img{height:5cqw;width:auto;max-width:24cqw;object-fit:contain;display:block}

/* 자재 업체 로고 줄 (샘플 위) */
.lgs{margin-top:2.6cqw;display:flex;align-items:center;gap:5cqw;padding:2.2cqw 0;border-top:.25cqw solid var(--ink);border-bottom:.2cqw solid var(--line)}
.lgs img{height:4.4cqw;width:auto;max-width:24cqw;object-fit:contain}

/* mood-spread 오른쪽 — 브랜드 줄 (로고 + 카드 3개) */
.smr{margin-top:4cqw;flex:1;min-height:0;display:grid;grid-template-rows:repeat(var(--n),minmax(0,1fr));gap:4cqw}
.smr-row{min-height:0;display:flex;flex-direction:column;gap:2.4cqw;border-top:.25cqw solid var(--ink);padding-top:2.6cqw}
.smr-head{height:5.4cqw;display:flex;align-items:center}
.smr-head img{height:100%;width:auto;max-width:40cqw;object-fit:contain}
.smr-head b{font-size:3.6cqw;font-weight:700}
.smr-cards{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);gap:3cqw}
.smr-cards .sc{gap:.4cqw}
.smr-cards .sc b{font-size:2.8cqw}
.smr-cards .sc span{font-size:2.4cqw}

/* feature — 위 큰 사진(가장자리까지) + 제목 + 작은 아이템 */
.t-feature .pg{padding-top:0}
.pic.hero{margin:0 -7cqw;flex:none;height:44cqw}   /* 고정 높이 — 글 길이 따라 흔들리지 않고 옆 페이지랑 높이 맞음 */
.pic.hero .hl{position:absolute;left:8.6cqw;bottom:2cqw;z-index:2;font-style:normal;font-size:2.3cqw;font-weight:700;line-height:1.2;background:rgba(255,255,255,.9);padding:.6cqw 1.4cqw;border-radius:.5cqw}
.t-feature .kick{margin-top:5cqw}
.specs{margin-top:3.4cqw;display:grid;grid-template-columns:1fr 1fr;gap:3cqw;border-top:.25cqw solid var(--ink);padding-top:2.6cqw}
.specs small{display:block;font-size:2.3cqw;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.specs b{display:block;margin-top:.6cqw;font-size:3.4cqw;font-weight:600;line-height:1.2}
.its{margin-top:4cqw;display:grid;gap:3cqw}
.its.n1{grid-template-columns:30cqw} .its.n2{grid-template-columns:repeat(2,1fr)} .its.n3{grid-template-columns:repeat(3,1fr)} .its.n4{grid-template-columns:repeat(4,1fr)}
.its.n2 .pic{aspect-ratio:4/3}
.it{min-width:0;display:flex;flex-direction:column;gap:.6cqw}
/* 두 칸 차지하는 가로 칸 (item.span: 2) — 높이는 옆 정사각 칸과 같게 */
.it.s2{grid-column:span 2}
.it.s2 .pic{aspect-ratio:2.156/1}
/* 큰 사진 없는 feature — 아이템 2열로 크게, 남는 높이 채움 */
.t-feature .pg:has(.its.big){padding-top:8cqw}
.t-feature .pg:has(.its.big) .kick{margin-top:0}
.its.big{flex:1;min-height:0;grid-template-columns:1fr 1fr !important;grid-auto-rows:minmax(0,1fr);gap:3.4cqw 3cqw}
.its.big .it .pic{aspect-ratio:auto;flex:1;min-height:0;background:#fff;box-shadow:inset 0 0 0 .2cqw var(--line)}
.its.big .it .pic img{object-fit:contain;padding:2%}
.pg:has(.its.big) .h{font-size:8cqw}
html[lang=ko] .pg:has(.its.big) .h{font-size:7.4cqw}
.pg:has(.its.big) .lede{font-size:3cqw;margin-top:1.8cqw}
.its.big .it .pic .ph{background:var(--ph)}
.its.big .it .pic.fill{background:var(--ph);box-shadow:none}   /* 큰 칸에서도 꽉 채워 보이는 사진 (item.fit: "cover") */
.its.big .it .pic.fill img{object-fit:cover;padding:0}
.pg:has(.its.big) .shp{margin-top:2.4cqw}
.pg:has(.its.big) .shp i{width:6cqw;height:8cqw}
.pg:has(.its.big) .shp i.round{height:6cqw}
.its.big .it b{font-size:3.2cqw}
.its.big .it span{font-size:2.6cqw}
.it .pic{aspect-ratio:1;margin-bottom:1cqw}
.it .pic.chip{box-shadow:inset 0 0 0 .25cqw rgba(0,0,0,.08)}
.it b{font-size:2.9cqw;font-weight:700;line-height:1.2}
.it span{font-size:2.4cqw;color:var(--muted);line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
/* 브랜드 로고를 이름 대신 (줄 높이 맞춤: 로고 있는 페이지끼리 칸이 같은 높이) */
.it .sb.lg{display:flex;align-items:flex-start;overflow:visible}
.it .sb.lg img{height:3.8cqw;width:auto;max-width:13.5cqw;object-fit:contain}
.its.eq .it .sb{min-height:6.4cqw}
.its.eq .it b{min-height:7cqw}   /* 이름이 한 줄이어도 두 줄 높이 — 옆 페이지랑 줄 높이 맞춤 */
.shp{margin-top:3.6cqw;display:flex;gap:6cqw;align-items:flex-end}
.shp div{display:flex;flex-direction:column;align-items:center;gap:1.4cqw;font-size:2.6cqw;color:var(--muted)}
.shp i{display:block;width:8cqw;height:11cqw;border:.4cqw solid var(--ink)}
.shp i.round{height:8cqw;border-radius:50%}
.shp i.arch{border-radius:4cqw 4cqw .4cqw .4cqw}
/* 큰 거울 모양 (shapesSize: "lg") + 섹션 작은 제목 + 큰 사진 없는 feature */
.shp.lg{gap:9cqw;margin-top:2.4cqw}
.shp.lg div{font-size:2.9cqw;gap:1.8cqw}
.shp.lg i{width:17cqw;height:23cqw;border-width:.5cqw}
.shp.lg i.round{height:17cqw}
.shp.lg i.arch{border-radius:8.5cqw 8.5cqw .5cqw .5cqw}
/* 거울 사진 카드 2장 + 오른쪽에 프레임 색 (shapes 항목에 img가 있으면) */
.shp.mp{display:flex;flex-direction:row;align-items:flex-start;gap:3.4cqw;margin-top:2.4cqw}
.shp.mp .mc{width:25.5cqw;display:block;font-size:2.7cqw;font-weight:600;color:var(--ink);line-height:1.2}
.shp.mp .mc .pic{display:block;width:100%;aspect-ratio:3/4;margin-bottom:1.2cqw}
.shp.mp .shp-f{display:block;align-self:flex-start;margin-left:1.6cqw}
.shp.mp .shp-f .sws{display:block;margin:0;padding:0;border:0}
.shp.mp .shp-f .sws small{display:block;margin-bottom:1.6cqw}
.shp.mp .shp-f .sws>div{display:flex;flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:1.6cqw}
.shp.mp .shp-f .sws span{font-size:2.7cqw}
.shp.mp .shp-f .sws i{width:4.4cqw;height:4.4cqw}
.sec-l{margin-top:4.4cqw;padding-top:2.2cqw;border-top:.25cqw solid var(--ink);font-size:2.4cqw;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.sec-l + .its,.sec-l + .shp{margin-top:2.4cqw}
.sec-l{display:flex;align-items:center;justify-content:space-between;gap:3cqw}
.sec-l .sl{display:flex;align-items:center;gap:3.6cqw}
.sec-l .sl img{height:3.4cqw;width:auto;max-width:24cqw;object-fit:contain}
.t-feature .pg:has(h2.nh){padding-top:8cqw}
.t-feature .pg:has(h2.nh) .kick{margin-top:0}
.pg:has(h2.nh) .h{font-size:8cqw}
html[lang=ko] .pg:has(h2.nh) .h{font-size:7.4cqw}
.pg:has(h2.nh) .lede{font-size:3cqw;margin-top:1.8cqw}
.sws{margin-top:3.6cqw;display:flex;align-items:center;gap:3cqw;padding-top:2.6cqw;border-top:.2cqw solid var(--line)}
.sws small{font-size:2.3cqw;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.sws>div{display:flex;flex-wrap:wrap;gap:1.2cqw 2.8cqw}
.sws span{display:inline-flex;align-items:center;gap:1cqw;font-size:2.3cqw;font-weight:600;white-space:nowrap}
.sws i{width:3.6cqw;height:3.6cqw;border-radius:50%;box-shadow:inset 0 0 0 .25cqw rgba(0,0,0,.1)}

/* details — 자잘한 마감재 그리드 */
.dt{margin-top:5cqw;flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:4cqw 3.4cqw}
.dt.n4{grid-template-rows:repeat(2,minmax(0,1fr))}
.dt.n5,.dt.n6{grid-template-rows:repeat(3,minmax(0,1fr))}
.dt>div{min-height:0;display:flex;flex-direction:column;gap:1.2cqw}
.dt .pic{flex:1;min-height:0}
.dt b{font-size:3cqw;font-weight:600;line-height:1.2}

/* details 줄 버전 — 왼쪽 이름 · 오른쪽 사진 2~3개, 마지막 줄은 글 + 로고 */
.dtr{margin-top:4cqw;flex:1;min-height:0;display:flex;flex-direction:column}
.dtr-row{flex:1 1 0;min-height:0;display:grid;grid-template-columns:22cqw 1fr;column-gap:3cqw;padding:2.2cqw 0;border-top:.25cqw solid var(--ink)}
.dtr-row.txt{flex:0 0 auto}
.dtr-row small{font-size:2.3cqw;font-weight:700;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:var(--muted);padding-top:.3cqw}
.dtr-in{min-height:0;display:flex;flex-direction:column;gap:1.6cqw}
.dtr-pics{flex:1;min-height:9cqw;display:grid;grid-template-columns:repeat(3,1fr);gap:2.6cqw}
.dtr-pics>div{min-height:0;display:flex;flex-direction:column;gap:.8cqw}
.dtr-pics .pic{flex:1;min-height:0}
.dtr-pics span{font-size:2.5cqw;font-weight:600;line-height:1.2}
.dtr-in .sws{margin:0;padding:0;border:0;gap:2cqw}
/* 마감 색을 왼쪽 이름 칸 아래에 세로로 (사진 칸이 더 커지게) */
.dtr-lab .sws{margin:.8cqw 0 0;padding:0;border:0;display:block}
.dtr-lab .sws small{display:none}
.dtr-lab .sws>div{flex-direction:column;flex-wrap:nowrap;gap:.3cqw}
.dtr-lab .sws span{font-size:2.05cqw;line-height:1.15;gap:.8cqw}
.dtr-lab .sws i{width:2.4cqw;height:2.4cqw}
.dtr-in .sws>div{gap:1cqw 2.6cqw;flex-wrap:nowrap}
.dtr-in .sws span{font-size:2.3cqw;gap:1cqw;white-space:nowrap}
.dtr-in .sws i{width:3.4cqw;height:3.4cqw}
.dtr-in .sws small{display:none}
.dtr-row.txt p{margin:0;font-size:2.9cqw;line-height:1.35}
.dtr-logos{margin-top:1.6cqw;display:flex;gap:3cqw;flex-wrap:wrap}
.dtr-logos{align-items:center}
.dtr-logos>img{height:5.4cqw;width:auto;max-width:17cqw;object-fit:contain}
.dtr-logos .br-one.wide{width:auto}
.dtr-logos .br-one .pic{width:14cqw}
.dtr-logos .br-one span{font-size:2.6cqw}

/* 한 칸을 둘로 나눈 샘플 카드 */
.sc.split .parts{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:2cqw;margin-bottom:1cqw}
.sc.split .parts>div{min-height:0;display:flex;flex-direction:column;gap:.6cqw}
.sc.split .parts .pic{flex:1;min-height:0;margin:0}
.sc.split .parts span{font-size:2.4cqw;color:var(--ink);font-weight:600}

/* products (이번 구성엔 안 씀) — 2·3개는 가로 카드, 4개는 2×2 */
.grid{margin-top:3.6cqw;flex:1;min-height:0;display:grid;gap:3cqw}
.grid.n1{grid-template-rows:minmax(0,1fr)} .grid.n2{grid-template-rows:repeat(2,minmax(0,1fr))} .grid.n3{grid-template-rows:repeat(3,minmax(0,1fr))}
.grid.n4{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}
.card{min-height:0;display:grid;grid-template-columns:46% 1fr;gap:3.4cqw;align-items:center}
.grid.n1 .card,.grid.n4 .card{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:2cqw;align-items:stretch}
.card .pic{height:100%;min-height:0}
.card .info{min-width:0;display:flex;flex-direction:column;gap:.6cqw}
.card .brn{font-size:2.5cqw;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.card .md{font-size:4cqw;font-weight:700;line-height:1.15}
.card .fn{font-size:3cqw;color:#444;line-height:1.3}

/* video */
.vid{margin-top:4cqw;flex:1;min-height:0;display:flex;align-items:center}
.vbox{position:relative;width:100%;max-height:100%;aspect-ratio:4/5;overflow:hidden;background:#000;margin:0 auto}
.vbox.yt{aspect-ratio:16/9}
.vbox video,.vbox iframe{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.vid video{pointer-events:auto}

/* closing */
.t-closing .pg{background:#111;color:#fff;justify-content:center}
.t-closing .kick{color:#9fa3ff}
.t-closing .txt{margin:4cqw 0 0;font-size:3.8cqw;line-height:1.5;color:#ddd}
.ctas{margin-top:7cqw;display:flex;flex-direction:column;gap:2.6cqw}
.ctas a{display:flex;justify-content:space-between;align-items:center;min-height:11cqw;padding:0 4.4cqw;border-radius:1cqw;font-size:3.8cqw;font-weight:700;text-decoration:none;border:.35cqw solid #fff}
.ctas a.main{background:var(--accent);border-color:var(--accent)}
.t-closing .disc{margin:6cqw 0 0;padding:0;color:#8a8a8a}
.t-closing .pg::after{filter:invert(1)}
.t-closing .folio{color:#777}

/* ---------- 목차 ---------- */
.sheet{position:fixed;inset:0;z-index:50}
.sheet-bg{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.sheet-card{position:absolute;left:0;right:0;bottom:0;max-height:78vh;display:flex;flex-direction:column;background:#fff;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:up .22s ease}
@media (min-width:720px){ .sheet-card{left:auto;right:24px;bottom:calc(var(--bar) + 12px);width:340px;border-radius:12px;max-height:70vh} }
@keyframes up{from{transform:translateY(20px);opacity:0}}
.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line);font-size:16px}
.x{width:36px;height:36px;font-size:26px;line-height:1;color:var(--muted)}
.sheet-list{overflow:auto;padding:6px 0 12px}
.sheet-list h3{margin:14px 18px 4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.sheet-list a{display:flex;justify-content:space-between;gap:12px;padding:11px 18px;font-size:15px;font-weight:600;text-decoration:none}
.sheet-list a span{color:var(--faint);font-variant-numeric:tabular-nums;font-weight:500}
.sheet-list a.on{color:var(--accent)}
.sheet-list a:active{background:var(--soft)}

/* 로고 옆 작은 스펙 글씨 (11/12, 예: Riche 방음 등급) */
.lgh .spec{margin-left:auto;font-style:normal;font-size:2.5cqw;font-weight:600;letter-spacing:.02em;color:var(--muted,#777);white-space:nowrap}
.br-one .spec{font-style:normal;font-size:2.4cqw;font-weight:600;letter-spacing:.02em;color:var(--muted,#777);white-space:nowrap}

/* 가격 (11/12): 비교표 머리 "from $X", 패키지 페이지 시작가 한 줄 */
.cmp-h .from{display:block;margin-top:.5cqw;font-size:2cqw;font-weight:600;color:var(--muted,#777);letter-spacing:0;white-space:nowrap}
.price{position:relative;z-index:1;margin-top:2cqw;display:flex;flex-wrap:wrap;align-items:baseline;gap:.6cqw 3.2cqw;font-size:2.8cqw;color:var(--muted,#777)}
.price small{flex-basis:100%;font-size:2.3cqw;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.price b{font-size:4cqw;font-weight:800;color:var(--accent)}
.pg:has(.price) .inc{margin-top:3.6cqw;gap:2.1cqw}
.pg:has(.price) .lede{margin-top:2cqw}

/* 팁 (11/12) — 한국어일 때만. 파란 TIP + 짧은 글. 기본: 제목 오른쪽 빈자리 */
.tip{position:absolute;z-index:3;top:7cqw;right:7cqw;width:37cqw;padding:1.6cqw 2.2cqw;border:.3cqw solid var(--accent);border-radius:1.6cqw;background:rgba(255,255,255,.94);font-size:2.55cqw;line-height:1.4;color:var(--ink,#111);word-break:keep-all}
.tip b{display:inline-block;margin-right:1.2cqw;padding:.2cqw 1.2cqw;border-radius:.8cqw;background:var(--accent);color:#fff;font-size:2.1cqw;font-weight:800;letter-spacing:.06em;vertical-align:.15em}
.tip.bt{top:auto;bottom:9cqw}
.pic.hero .tip{top:auto;bottom:3cqw;right:7cqw}

/* 비교표 줄 끝 파란 메모 (11/13, 예: (if possible)) */
.cmp-r .cnote{font-style:normal;font-weight:700;color:var(--accent);white-space:nowrap}
/* 비교표 13줄 (11/13): 영어는 줄이 길어서 글씨·제목 조금 작게 */
html:not([lang=ko]) .t-compare .h{font-size:8.6cqw}
html:not([lang=ko]) .t-compare .lede{margin-top:1.6cqw;font-size:3cqw}
html:not([lang=ko]) .cmp{margin-top:2.6cqw}
html:not([lang=ko]) .cmp-r{font-size:2.85cqw;line-height:1.15;padding:.4cqw 0}
.inc .cnote{font-style:normal;font-weight:700;color:var(--accent);white-space:nowrap}
.price i{display:block;font-style:normal;font-size:2.2cqw;color:var(--faint,#999);margin-top:.2cqw}   /* 평균 면적 (11/14) */
.pg:has(.price) .inc{gap:1.7cqw}
.pg:has(.price) .jump{padding-top:3cqw}
.price small{display:flex;justify-content:space-between;align-items:baseline;gap:2cqw}
.price small em{font-style:normal;font-weight:600;letter-spacing:0;text-transform:none;font-size:2.3cqw;color:var(--faint,#999)}   /* 공사 기간 (11/14) */
.price small em{color:var(--accent);font-weight:700}   /* 공사 기간 파란색 (11/15 David) */

/* 준비 중 (11/16): 파란 사선 스탬프 글씨, 뒤 내용은 그대로 보임 */
.soon{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;pointer-events:none}
.soon span{transform:rotate(-18deg);font-family:"Archivo",var(--text);font-weight:800;font-size:11cqw;letter-spacing:.04em;text-transform:uppercase;color:var(--accent);border:1cqw solid var(--accent);border-radius:2cqw;padding:1.5cqw 4cqw;background:rgba(255,255,255,.78);white-space:nowrap}
/* 11/16: 제품이 잘 보이게 도장은 작게 위 오른쪽 */
.soon{inset:auto;top:9cqw;right:5cqw;display:block}
.soon span{display:inline-block;font-size:5.6cqw;border-width:.6cqw;padding:1cqw 2.6cqw;transform:rotate(-8deg);background:rgba(255,255,255,.92)}
.pg:has(.soon) .tip{display:none}
