/* ══════════════════════════════════════════════════
   colours — 공용 스타일시트

   색: 흑백만. 포인트는 색이 아니라 반전(검은 덩어리)으로 냅니다.
       그래서 사이트에서 유일하게 색을 내는 건 사진과 표지입니다.
   구조: 제호 + 분류 칩이 상단에 고정되고 그리드만 흐릅니다.
   ══════════════════════════════════════════════════ */
:root{
  --paper:#fff; --ink:#1c1c1c; --grey:#8c8c8c; --grey-2:#5e5e5e;
  --rule:#e2e2e2; --wash:#f4f4f4; --scrim:rgba(255,255,255,.93);

  --display:"Archivo","Arial Black","Helvetica Neue",Helvetica,sans-serif;
  --body:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",system-ui,sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Consolas,monospace;

  --gut:clamp(.75rem,2vw,1.5rem);
  --edge:.5rem;              /* 화면 끝까지 꽉 채우는 바깥 여백 */
  --maxw:1180px;             /* 읽는 화면(기사·상품)의 폭 */
}
@media (prefers-color-scheme:dark){
  :root{--paper:#0b0b0b;--ink:#f2f2f2;--grey:#7d7d7d;--grey-2:#a3a3a3;
        --rule:#282828;--wash:#161616;--scrim:rgba(11,11,11,.92)}
}
:root[data-theme="dark"]{--paper:#0b0b0b;--ink:#f2f2f2;--grey:#7d7d7d;--grey-2:#a3a3a3;
  --rule:#282828;--wash:#161616;--scrim:rgba(11,11,11,.92)}
:root[data-theme="light"]{--paper:#fff;--ink:#1c1c1c;--grey:#8c8c8c;--grey-2:#5e5e5e;
  --rule:#e2e2e2;--wash:#f4f4f4;--scrim:rgba(255,255,255,.92)}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;
  word-break:keep-all;overflow-wrap:break-word}   /* 한글 어절 단위 줄바꿈 */
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p,figure{margin:0}
ul,ol,dl{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:left}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--ink);color:var(--paper);
  padding:.75rem 1.25rem;font-weight:700}
.skip:focus{left:0}

/* ══ 고정 헤더 ══ */
.head{position:sticky;top:0;z-index:40;background:var(--scrim);backdrop-filter:blur(10px)}
.head-in{padding:var(--edge) var(--edge) 0;display:grid;grid-template-columns:1fr auto 1fr;
  gap:1rem;align-items:start}
/* 제호 — 로고 이미지를 마스크로 써서 글자색(--ink)을 따라갑니다. 밝기 전환에도 자동으로 뒤집힙니다 */
.mark{display:block;grid-column:2;justify-self:center;height:.78em;aspect-ratio:799/515;margin:0;background:var(--ink);
  -webkit-mask:url(/assets/logo.png) center/contain no-repeat;mask:url(/assets/logo.png) center/contain no-repeat;
  font-size:clamp(2.4rem,11.4vw,10rem);transition:font-size .3s cubic-bezier(.22,.61,.24,1)}
.mark span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.head.small .mark{font-size:clamp(1.5rem,3.4vw,2.6rem)}
.mini{grid-column:3;justify-self:end;display:flex;gap:1.05rem;align-items:center;padding-top:.4rem;flex-wrap:wrap;
  justify-content:flex-end}
.mini a,.mini button{font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-decoration:none;
  color:var(--ink);white-space:nowrap;padding-bottom:2px;border-bottom:1.5px solid transparent}
.mini a:hover,.mini button:hover{border-bottom-color:var(--ink)}
.mini a[aria-current]{border-bottom-color:var(--ink)}
.mini .off{color:var(--grey)}

/* ══ 분류 칩 — 형식(검정) → 주제(흰색)가 한 줄로 이어져 감싸집니다 ══ */
.filters{padding:clamp(1rem,2.2vw,1.8rem) var(--edge) clamp(.7rem,1.4vw,1rem);
  display:flex;flex-direction:column;gap:.3rem;transition:padding .3s}
.head.small .filters{padding-top:.7rem}
.row{display:flex;flex-wrap:wrap;gap:.35rem}
.chip{font-size:clamp(.95rem,1.15vw,1.15rem);line-height:1;padding:.72rem 1rem;
  border:1.5px solid var(--ink);white-space:nowrap;transition:background .15s,color .15s;
  display:inline-block}  /* 시안은 button, 여기는 주소가 있는 a 라 필요 */
.chip[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.chip:hover{background:var(--ink);color:var(--paper)}
/* All(전체 보기) — 분류 줄 맨 앞에서 검정 바탕 흰 글자로 강조 */
.chip.reset{background:var(--ink);color:var(--paper);font-family:var(--mono);
  font-size:clamp(.8rem,.95vw,.95rem);letter-spacing:.08em;margin-right:.5rem}
.chip.reset:hover{opacity:.78}
/* SHOP — 분류 줄 맨 끝, 점선 테두리 */
.chip.shop{border-style:dashed;font-weight:700;letter-spacing:.06em;margin-left:.5rem}
.chip.shop[aria-current]{background:var(--ink);color:var(--paper)}

/* ══ 기사 그리드 ══ */
.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:2.4rem .5rem;
  padding:0 var(--edge) clamp(4rem,8vw,7rem);align-items:start}
.item{display:flex;flex-direction:column;
  opacity:0;transform:translateY(26px);
  transition:opacity .6s cubic-bezier(.22,.61,.24,1),transform .6s cubic-bezier(.22,.61,.24,1)}
.item.in{opacity:1;transform:none}
.item[hidden]{display:none}
.item figure{margin:0 0 .55rem;aspect-ratio:3/4;overflow:hidden;background:var(--wash)}
.item figure img{width:100%;height:100%;object-fit:cover;
  transition:transform .55s cubic-bezier(.22,.61,.24,1),filter .35s}
.item:hover figure img{transform:scale(1.045)}
.kind{font-size:.74rem;color:var(--grey);margin:0 0 .15rem}
/* 제목은 항상 두 줄 자리를 차지하게 고정 — 그래야 카드 아랫줄이 나란히 맞습니다 */
.item h2{font-size:.9rem;font-weight:700;line-height:1.35;letter-spacing:-.01em;margin:0 0 .1rem;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.7em}
.item:hover h2{text-decoration:underline;text-underline-offset:2px}
.by{font-size:.8rem;color:var(--grey-2);margin:0 0 .35rem}
.tags{display:flex;flex-wrap:nowrap;gap:.45rem;overflow:hidden;margin-top:.1rem}
.tags span{font-size:.72rem;line-height:1.3;color:var(--grey);white-space:nowrap;
  text-transform:lowercase}
.item:hover .tags span{color:var(--grey-2)}
.empty{grid-column:1/-1;padding:4rem 0;font-size:.9rem;color:var(--grey)}

/* ══ 기사 페이지 — 대표 이미지가 넓고 본문은 그보다 좁게 ══ */
.art{max-width:760px;margin:0 auto;padding:clamp(1.2rem,2.5vw,2rem) var(--gut) 3rem}
.art .lead{margin:0 0 1.1rem}
.art .lead img{width:100%;height:auto}
.art .metarow{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  font-size:.76rem;font-weight:700;margin:0 0 .5rem}
.art .metarow .date{font-weight:700;font-variant-numeric:tabular-nums}
.art h1{font-size:clamp(1.45rem,3.1vw,2.1rem);font-weight:800;line-height:1.3;
  letter-spacing:-.03em;margin:0 0 .5rem;text-wrap:balance}
.art .dek{font-size:.86rem;font-weight:700;margin:0 0 1rem}
.art .credit{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.art .credit .who{font-size:.82rem;font-weight:700}
.art .credit .who b{font-family:var(--mono);font-size:.66rem;letter-spacing:.12em;
  color:var(--grey);font-weight:400;margin-right:.55rem}
.art .share{display:flex;gap:.35rem}
.art .share button{width:28px;height:28px;border:1px solid var(--rule);
  display:grid;place-items:center;font-size:.7rem;border-radius:3px}
.art .share button:hover{border-color:var(--ink);background:var(--ink);color:var(--paper)}

/* 본문 단 */
.col{max-width:520px;margin:2.6rem auto 0}
.col p{font-size:.94rem;line-height:1.95;margin:0 0 1.5rem;text-wrap:pretty}
.col h2{font-size:1.05rem;font-weight:700;margin:2.4rem 0 1rem}
.col strong{font-weight:700}
.col figure{margin:0 0 1.6rem}
.col figure img{width:100%;height:auto}
.col .pull{font-weight:600;margin:2rem 0;padding-left:1rem;border-left:3px solid var(--ink)}
.col .byline{margin-top:3rem;font-size:.86rem;line-height:2.1}
.col .byline span{color:var(--grey);margin-right:.5rem}
.col .hash{margin-top:1.8rem;display:flex;gap:.55rem;flex-wrap:wrap;
  font-size:.85rem;font-weight:600;color:var(--grey-2)}
/* 목록형 기사(책 10권 · 영화 20편) */
.col .list{counter-reset:it;margin:2rem 0 0}
.col .list li{counter-increment:it;display:grid;grid-template-columns:2.6rem 1fr;gap:.8rem;
  padding:1.1rem 0;border-top:1px solid var(--rule)}
.col .list li::before{content:counter(it,decimal-leading-zero);font-family:var(--mono);
  font-size:.72rem;color:var(--grey);padding-top:.3rem}
.col .list b{display:block;font-size:.96rem;margin-bottom:.25rem;line-height:1.45}
.col .list b em{font-style:normal;font-family:var(--mono);font-size:.68rem;color:var(--grey);
  margin-left:.5rem;white-space:nowrap}
.col .list p{font-size:.9rem;line-height:1.7;color:var(--grey-2);margin:0}

/* 기사 하단 — 인스타그램 카드 · 이어서 읽기 */
.ig{max-width:760px;margin:clamp(2rem,4vw,3rem) auto 0;padding-inline:var(--gut)}
.ig-card{display:grid;grid-template-columns:minmax(130px,190px) 1fr;gap:clamp(1.1rem,2.5vw,2rem);
  align-items:center;background:var(--ink);color:#ededed;padding:clamp(1.1rem,2.2vw,1.6rem);
  transition:opacity .18s}
.ig-card:hover{opacity:.88}
.ig-card figure{aspect-ratio:3/4;overflow:hidden;background:#2e2e2e}
.ig-card figure img{width:100%;height:100%;object-fit:cover}
.ig-card b{display:block;font-family:var(--mono);font-size:.66rem;letter-spacing:.16em;
  color:#8e8e8e;margin-bottom:.6rem;font-weight:400}
.ig-card h3{font-family:var(--display);font-weight:800;font-size:clamp(1.1rem,2vw,1.45rem);
  letter-spacing:-.026em;line-height:1.2;margin-bottom:.5rem;color:#fff}
.ig-card p{color:#8e8e8e;font-size:.88rem;margin-bottom:1rem}
.ig-card span{display:inline-block;font-family:var(--mono);font-size:.72rem;font-weight:600;
  letter-spacing:.09em;background:var(--paper);color:var(--ink);padding:.65rem 1.2rem}
.more{max-width:760px;margin:0 auto;padding:0 var(--gut) 5rem}
.more h3{font-family:var(--mono);font-size:.72rem;letter-spacing:.14em;color:var(--grey);
  margin:0 0 1rem;font-weight:400}
.more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem .8rem}
.more-grid figure{margin:0 0 .45rem;aspect-ratio:3/4;overflow:hidden;background:var(--wash)}
.more-grid figure img{width:100%;height:100%;object-fit:cover}
.more-grid h4{font-size:.84rem;font-weight:700;line-height:1.35;margin:0}
.more-grid a:hover h4{text-decoration:underline;text-underline-offset:2px}

/* ── SHOP 목록 (magazine-b 참고) ────────────────────────────
   왼쪽에 분류만 세워두고 오른쪽을 상품에 통째로 내줍니다.
   한 상품이 두 장의 사진으로 한 줄을 이루고, 그 아래 한 줄짜리 정보만 붙습니다. */
.shop-wrap{display:grid;grid-template-columns:minmax(200px,26%) 1fr;
  gap:0 clamp(1.5rem,4vw,4rem);padding:clamp(1.5rem,4vw,3.5rem) 0 0 var(--edge)}
.shop-rail{position:sticky;top:8rem;align-self:start;height:calc(100vh - 10.5rem);
  display:flex;flex-direction:column;justify-content:space-between;padding-bottom:2rem}
.shop-rail .cats{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start}
.shop-rail .cats button{font-size:clamp(1.35rem,2.1vw,1.7rem);line-height:1.25;
  letter-spacing:-.02em;color:#cfcfcf;transition:color .18s}
.shop-rail .cats button:hover{color:var(--grey-2)}
.shop-rail .cats button[aria-pressed="true"]{color:var(--ink)}
.shop-rail .foot{display:flex;gap:1.6rem;align-items:center;font-size:.8rem;color:var(--grey-2)}
.shop-rail .foot b{font-weight:400;color:var(--ink);font-variant-numeric:tabular-nums;margin-left:.4rem}
.shop-rail .foot .sort{position:relative}
.shop-rail .foot .sort > button{font-size:.8rem;color:var(--grey-2);letter-spacing:.02em}
.shop-rail .foot .sort > button:hover{color:var(--ink)}
.shop-rail .foot .menu{position:absolute;left:0;bottom:1.8rem;background:var(--paper);
  border:1px solid var(--rule);padding:.4rem 0;min-width:8.5rem;display:none;z-index:5}
.shop-rail .foot .sort.open .menu{display:block}
.shop-rail .foot .menu button{display:block;width:100%;padding:.45rem .8rem;font-size:.8rem;color:var(--grey-2)}
.shop-rail .foot .menu button:hover{background:var(--wash);color:var(--ink)}
.shop-rail .foot .menu button[aria-pressed="true"]{color:var(--ink)}

.shop-list{display:flex;flex-direction:column;gap:clamp(2.5rem,5vw,4.5rem);
  padding-bottom:clamp(4rem,8vw,7rem)}
.prod{display:block;width:100%;text-align:left}
.prod .pair{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.prod .pair figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--wash)}
.prod .pair figure:first-child{background:#262626;display:grid;place-items:center}
.prod .pair figure:first-child img{width:44%;aspect-ratio:3/4;object-fit:cover;
  box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .5s cubic-bezier(.22,.61,.24,1)}
.prod .pair figure:last-child img{width:100%;height:100%;object-fit:cover;
  transition:transform .6s cubic-bezier(.22,.61,.24,1)}
.prod:hover .pair figure:first-child img{transform:translateY(-8px)}
.prod:hover .pair figure:last-child img{transform:scale(1.03)}
.prod .line{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  margin-top:.85rem;font-size:.85rem;line-height:1.5;flex-wrap:wrap}
.prod .line .l{display:flex;gap:1.1rem;align-items:baseline;flex-wrap:wrap}
.prod .line em{font-style:normal;color:var(--grey)}
.prod .was{text-decoration:line-through;color:var(--grey);margin-left:.4rem}
.prod .off{color:var(--grey);margin-left:.4rem}
.prod .cart{font-size:.85rem;border-bottom:1px solid var(--ink);padding-bottom:2px;
  letter-spacing:.02em;white-space:nowrap}
.prod .cart:hover{opacity:.55}

/* ── 상품 상세 (magazine-b 참고) — 제목을 크게 세우고 결제는 오른쪽에 모읍니다 ── */
.pd{display:grid;grid-template-columns:1fr minmax(300px,26rem);
  gap:clamp(2rem,5vw,4rem);padding:clamp(2rem,4vw,3.5rem) var(--edge) clamp(2.5rem,5vw,4rem);
  align-items:start}
.pd-head .cat{font-size:.9rem;letter-spacing:.04em;color:var(--ink);margin:0 0 .6rem}
.pd-head h1{font-size:clamp(2rem,5.6vw,4.2rem);font-weight:400;line-height:1.02;
  letter-spacing:-.035em;margin:0 0 1.6rem;text-wrap:balance}
.pd-price{display:flex;gap:.15rem;align-items:baseline;flex-wrap:wrap;
  font-size:clamp(1rem,1.5vw,1.25rem);margin:0 0 1.2rem}
.pd-price .was{text-decoration:line-through;color:var(--grey);margin-left:.55rem}
.pd-price .off{color:var(--grey);margin-left:.55rem}
.pd-qty{display:flex;align-items:center;gap:1rem;margin:0 0 2.2rem}
.pd-qty button{width:22px;text-align:center;color:var(--grey);font-size:1.05rem}
.pd-qty button:hover{color:var(--ink)}
.pd-qty b{font-weight:400;font-variant-numeric:tabular-nums;min-width:1.2rem;text-align:center}
.pd-spec{margin:0 0 1.8rem;font-size:.82rem;line-height:1.9}
.pd-spec div{display:flex;gap:.75rem}
.pd-spec dt{color:var(--grey);letter-spacing:.04em;margin:0;min-width:5.5rem}
.pd-spec dd{margin:0}
.pd-head .link{font-size:.85rem;border-bottom:1px solid var(--ink);padding-bottom:2px}
.pd-head .link:hover{opacity:.55}
.pd-buy{display:flex;justify-content:center;gap:1rem;width:100%;padding:1.05rem;
  background:var(--ink);color:var(--paper);font-size:.95rem;letter-spacing:.01em;
  transition:opacity .18s;margin-bottom:.5rem}
.pd-buy:hover{opacity:.82}
.pd-buy.pay{background:#03c75a;color:#fff;font-size:.88rem;padding:.85rem}
.pd-buy.ghost{background:transparent;color:var(--grey-2);border:1px solid var(--rule);
  font-size:.85rem;padding:.7rem}
.pd-buy.ghost:hover{border-color:var(--ink);color:var(--ink);opacity:1}
.pd-desc h2{font-size:.78rem;font-weight:400;letter-spacing:.1em;color:var(--grey);
  margin:2.2rem 0 .7rem}
.pd-desc p{font-size:.88rem;line-height:1.95;color:var(--grey-2);margin:0 0 1.4rem}
.pd-shots{display:flex;flex-direction:column;gap:.5rem;padding-bottom:clamp(2rem,4vw,3rem)}
.pd-shots img{width:100%;height:auto;background:var(--wash)}
.pd-rel{padding:0 var(--edge) clamp(4rem,8vw,7rem)}
.pd-rel h2{font-size:.78rem;font-weight:400;letter-spacing:.1em;color:var(--grey);
  margin:0 0 1.4rem;padding-bottom:.9rem;border-bottom:1px solid var(--ink)}
.pd-rel .shop-list{gap:clamp(2rem,4vw,3.5rem);padding-bottom:0}

/* ══ ABOUT ══ */
.about{max-width:640px;margin:0 auto;padding:clamp(2.5rem,6vw,5rem) var(--gut) 6rem}
.about h1{font-family:var(--display);font-size:clamp(2rem,5vw,3.4rem);font-weight:800;
  letter-spacing:-.03em;line-height:.98;margin:0 0 2rem}
.about h2{font-size:.8rem;letter-spacing:.01em;color:var(--grey);
  font-weight:400;margin:2.6rem 0 .8rem;padding-bottom:.6rem;border-bottom:1px solid var(--rule)}
.about p{font-size:1rem;line-height:2;color:var(--grey-2);margin:0 0 1.2rem}
.about dl{margin:0;border-top:1px solid var(--rule)}
.about dl div{display:grid;grid-template-columns:120px 1fr;gap:1rem;padding:.75rem 0;
  border-bottom:1px solid var(--rule);font-size:.88rem}
.about dt{color:var(--grey);margin:0}
.about dd{margin:0}

@media (max-width:900px){
  .pd-cols,.pd-toc{grid-template-columns:1fr;columns:1}
}

/* ══ 알림 ══ */
.toast{position:fixed;left:50%;bottom:2rem;transform:translateX(-50%) translateY(10px);
  background:var(--ink);color:var(--paper);padding:.7rem 1.1rem;font-size:.82rem;border-radius:2px;
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:70}
.toast.show{opacity:1;transform:translateX(-50%)}

/* ══ 푸터 ══ */
footer{border-top:1.5px solid var(--ink);padding:1.4rem var(--gut) 3rem;display:flex;
  justify-content:space-between;gap:1rem;flex-wrap:wrap;
  font-family:var(--mono);font-size:.68rem;color:var(--grey);letter-spacing:.06em}
footer a:hover{color:var(--ink)}

/* ══ 반응형 ══ */
@media (max-width:1240px){
  .grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:900px){
  .grid{grid-template-columns:repeat(3,1fr);gap:2rem .5rem}
  .head-in{grid-template-columns:1fr}
  .mark,.mini{grid-column:1}
  .mini{justify-self:center;justify-content:center;padding-top:0}
  .pd{grid-template-columns:1fr}
  .shop-wrap{grid-template-columns:1fr;padding-right:var(--edge)}
  .shop-rail{position:static;height:auto;gap:1.6rem;padding-bottom:1.6rem}
  .shop-rail .cats{flex-direction:row;flex-wrap:wrap;gap:.9rem}
  .shop-rail .cats button{font-size:1.1rem}
  .shop-rail .foot .menu{bottom:auto;top:1.8rem}
  .more-grid{grid-template-columns:repeat(2,1fr)}
  .ig-card{grid-template-columns:1fr}
  .ig-card figure{max-width:220px}
}
@media (max-width:560px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .prod .pair{grid-template-columns:1fr}
  .col .list li{grid-template-columns:2.2rem 1fr;gap:.7rem}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  .item{opacity:1;transform:none}
}

/* ══════════════════════════════════════════════════
   홈 편집 화면 (분류 칩을 누르지 않았을 때)
   포인트는 진회색(--acc) 한 가지. 번호·라벨·핫 10·주제 블록·인쇄판 띠에 씁니다.
   ══════════════════════════════════════════════════ */
:root{--acc:#1a1a1a}
@media (prefers-color-scheme:dark){:root{--acc:#222}}
:root[data-theme="dark"]{--acc:#222}
:root[data-theme="light"]{--acc:#1a1a1a}
.ed[hidden],.grid[hidden]{display:none}
.ed figure{margin:0;position:relative;background:var(--wash);overflow:hidden}
.ed img{display:block;width:100%;height:100%;object-fit:cover}
.h-hd{font-family:var(--display);font-weight:900;font-size:clamp(1.25rem,1.8vw,1.65rem);letter-spacing:-.02em;line-height:1;margin:0}
.h-meta{font-size:.75rem;color:var(--grey);margin:.5rem 0 0;font-variant-numeric:tabular-nums}
.h-tab{position:absolute;left:0;bottom:0;background:var(--acc);color:#fff;font-family:var(--display);
  font-weight:800;font-size:.69rem;letter-spacing:.08em;padding:.38rem .62rem;text-transform:uppercase}

.h-front{display:grid;grid-template-columns:2.75rem minmax(0,1.42fr) minmax(0,1.42fr) minmax(15rem,.86fr);
  gap:0 1.75rem;padding:1.75rem var(--edge) 2.75rem;align-items:start}
.h-nums{display:flex;flex-direction:column;align-items:center;gap:.35rem}
.h-nums button{font-family:var(--display);font-size:1.38rem;font-weight:400;color:var(--grey);line-height:1.1;padding:0 .3rem}
.h-nums button:hover{color:var(--ink)}
.h-nums button[aria-current]{color:var(--ink);font-weight:900}
.h-nums em{writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--display);font-style:normal;
  font-weight:600;font-size:.69rem;letter-spacing:.1em;margin-top:.6rem}
.h-nums::after{content:"";width:1.5px;height:15rem;background:var(--ink);margin-top:.5rem}
.h-hero[hidden]{display:none}
.h-hero figure{aspect-ratio:4/5}
.h-hero .h-tab{font-size:.81rem;padding:.5rem .8rem}
.h-hero h2{font-size:clamp(1.5rem,2.5vw,2.25rem);font-weight:800;line-height:1.22;letter-spacing:-.03em;
  margin:1.1rem 0 0;word-break:keep-all}
.h-hero:hover h2,.h-st:hover h3,.h-cd:hover h3,.h-cb .rp:hover h3{text-decoration:underline;text-underline-offset:3px}
.h-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem 1.25rem;margin-top:1rem}
.h-st figure{aspect-ratio:4/5}
.h-st h3{font-size:clamp(.95rem,1.25vw,1.12rem);font-weight:700;line-height:1.35;letter-spacing:-.025em;
  margin:.7rem 0 0;word-break:keep-all}
.h-hot{background:var(--acc);color:#fff;padding:1.25rem 1.1rem .5rem}
.h-hot .h-hd{font-size:1.38rem;margin-bottom:.9rem}
.h-hot ol{list-style:none;margin:0;padding:0}
.h-hot li a{display:grid;grid-template-columns:1.7rem 1fr 3.4rem;gap:.6rem;align-items:center;
  padding:.6rem 0;border-top:1px solid #3d3d3d}
.h-hot i{font-family:var(--display);font-style:normal;font-weight:900;font-size:1.06rem}
.h-hot span{font-size:.81rem;font-weight:500;line-height:1.4;word-break:keep-all;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.h-hot img{width:3.4rem;height:3.4rem}
.h-hot a:hover span{text-decoration:underline;text-underline-offset:2px}

.h-mq{display:block;background:var(--acc);color:#fff;overflow:hidden;white-space:nowrap;padding:.8rem 0;
  font-family:var(--display);font-weight:600;font-size:.94rem;letter-spacing:.02em}
.h-mq span{display:inline-block;animation:hmq 40s linear infinite}
.h-mq em{font-style:normal;margin-right:2.1rem}
.h-mq b{font-weight:900}
@keyframes hmq{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.h-mq span{animation:none}}

.h-cat{display:grid;grid-template-columns:repeat(4,1fr);gap:0 .5rem;padding:.5rem var(--edge) 0;
  border-top:1.5px solid var(--ink);margin-top:2.5rem;align-items:start}
.h-mq + .h-cat{margin-top:0;border-top:0;padding-top:1.75rem}
.h-cb{grid-column:span 2;background:var(--acc);color:#fff;display:grid;grid-template-columns:1fr 1fr}
.h-cb .tx{padding:1.4rem 1.4rem 1.25rem;display:flex;flex-direction:column;min-width:0}
.h-cb h2{font-family:var(--display);font-weight:900;font-size:clamp(1.9rem,3.7vw,3.4rem);line-height:.95;
  letter-spacing:-.04em;margin:0}
.h-cb .rp{margin-top:auto;padding-top:1.5rem}
.h-cb .rp h3{font-size:clamp(1.05rem,1.65vw,1.5rem);font-weight:800;line-height:1.3;letter-spacing:-.03em;
  margin:0;word-break:keep-all}
.h-cb .more{margin-top:1.4rem;border-top:1px solid #666;padding-top:.9rem;display:flex;justify-content:space-between;
  font-family:var(--display);font-weight:700;font-size:.81rem;letter-spacing:.08em}
.h-cb .more i{font-style:normal}
.h-cb .more:hover{opacity:.7}
.h-cb .ph{display:block;aspect-ratio:3/4;overflow:hidden}
.h-cd figure{aspect-ratio:3/4}
.h-cd small{display:block;font-size:.7rem;color:var(--grey);margin:.55rem 0 .2rem;text-transform:uppercase}
.h-cd h3{font-size:.94rem;font-weight:600;line-height:1.4;letter-spacing:-.02em;margin:0;word-break:keep-all;padding-right:.6rem}
.ed img{transition:transform .55s cubic-bezier(.22,.61,.24,1)}
.h-hero:hover img,.h-st:hover img,.h-cd:hover img,.h-cb .ph:hover img{transform:scale(1.035)}

.h-shop{margin:3.4rem var(--edge) clamp(3rem,6vw,5rem);background:var(--acc);color:#fff;display:grid;
  grid-template-columns:minmax(9rem,18.75rem) 1fr auto;gap:2.25rem;align-items:center;padding:1.75rem 2.25rem}
.h-shop img{aspect-ratio:3/4}
.h-shop small{font-family:var(--display);font-weight:800;font-size:.81rem;letter-spacing:.1em;color:#c9c9c9}
.h-shop h2{font-family:var(--display);font-weight:900;font-size:clamp(2rem,4.4vw,4rem);line-height:1;letter-spacing:-.04em;margin:.75rem 0 .9rem}
.h-shop p{font-size:1.06rem;color:#dedede;margin:0}
.h-shop em{font-family:var(--display);font-style:normal;font-weight:800;font-size:.94rem;letter-spacing:.08em;
  background:#fff;color:#1a1a1a;padding:.9rem 1.5rem;white-space:nowrap}
.h-shop:hover em{opacity:.8}

@media (max-width:1100px){
  .h-front{grid-template-columns:2.75rem minmax(0,1fr) minmax(0,1fr)}
  .h-hot{grid-column:1 / -1;margin-top:2rem}
  .h-hot ol{display:grid;grid-template-columns:1fr 1fr;gap:0 1.5rem}
}
@media (max-width:900px){
  .h-front{grid-template-columns:1fr;gap:1.5rem 0;padding-top:1rem}
  .h-nums{flex-direction:row-reverse;justify-content:flex-end;gap:.9rem}
  .h-nums em{writing-mode:horizontal-tb;transform:none;margin:0 auto 0 0;order:9}
  .h-nums::after{display:none}
  .h-hot{margin-top:.5rem}
  .h-hot ol{grid-template-columns:1fr}
  .h-cat{grid-template-columns:1fr 1fr;gap:1.5rem .5rem}
  .h-cb{grid-column:1 / -1}
  .h-shop{grid-template-columns:1fr;gap:1.25rem;padding:1.25rem}
  .h-shop img{max-width:14rem}
  .h-shop em{justify-self:start}
}

/* ══════════════════════════════════════════════════
   글 읽는 화면 (속지)
   ══════════════════════════════════════════════════ */
.a-top{background:var(--acc);color:#fff;margin-top:.75rem}
.a-top-in{max-width:42rem;margin:0 auto;padding:clamp(2.2rem,5vw,4rem) var(--gut) clamp(2rem,4.5vw,3.5rem)}
.a-labels{display:flex;margin:0 0 1.1rem}
.a-labels a{font-family:var(--display);font-weight:800;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
  padding:.32rem .6rem;border:1.5px solid #fff}
.a-labels a:first-child{background:#fff;color:#1a1a1a}
.a-labels a:hover{opacity:.75}
.a-top h1{font-size:clamp(1.6rem,3.4vw,2.5rem);font-weight:800;line-height:1.28;letter-spacing:-.03em;margin:0;word-break:keep-all}
.a-dek{font-size:1rem;color:#cfcfcf;margin:.8rem 0 0}
.a-by{font-size:.8rem;margin:1.4rem 0 0;font-variant-numeric:tabular-nums;color:#d6d6d6}
.a-by span{margin-left:.6rem;padding-left:.6rem;border-left:1px solid #777}

.a-wrap{display:grid;grid-template-columns:minmax(9rem,1fr) minmax(0,42rem) minmax(0,1fr);gap:0 2rem;
  padding:clamp(1.6rem,3vw,2.6rem) var(--gut) clamp(3rem,6vw,5rem);align-items:start}
.a-rail{position:sticky;top:6.5rem;font-size:.8rem;justify-self:start;padding-left:calc(var(--edge) * .5)}
.a-rail dl{margin:0}
.a-rail dt{font-weight:700;margin-top:1.1rem}
.a-rail dt:first-child{margin-top:0;text-transform:uppercase;font-family:var(--display);letter-spacing:.04em}
.a-rail dd{margin:.2rem 0 0;color:var(--grey-2);font-variant-numeric:tabular-nums}
.a-share{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;margin-top:1.6rem;
  padding-top:1.1rem;border-top:1px solid var(--rule)}
.a-share a,.a-share button{font-size:.76rem;color:var(--grey-2);border-bottom:1px solid transparent;padding:0}
.a-share a:hover,.a-share button:hover{color:var(--ink);border-bottom-color:var(--ink)}
.a-lead{margin:0 0 1.8rem;background:var(--wash)}
.a-lead img{display:block;width:100%;height:auto}
.a-body .col{max-width:none;margin:0}
.a-body .col p{font-size:1rem;line-height:1.95}
.a-ig{display:flex;justify-content:space-between;align-items:center;margin-top:2.2rem;padding:1rem 1.2rem;
  background:var(--acc);color:#fff;font-weight:700;font-size:.9rem}
.a-ig i{font-style:normal}
.a-ig:hover{opacity:.85}
.a-hot{margin-top:2.6rem}
.a-hot h2{font-family:var(--display);font-weight:900;font-size:1.05rem;letter-spacing:-.01em;margin:0 0 .8rem}
.a-hot ul{margin:0;padding:0;list-style:none}
.a-hot li{position:relative;padding:.28rem 0 .28rem 1rem;font-size:.9rem;font-weight:600;line-height:1.5}
.a-hot li::before{content:"";position:absolute;left:.1rem;top:.95em;width:.3rem;height:.3rem;border-radius:50%;background:var(--ink)}
.a-hot a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.a-hot a:hover{text-decoration-thickness:2px}
.a-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:2.2rem;padding-top:1.4rem;border-top:1.5px solid var(--ink)}
.a-tags a,.a-tags span{background:var(--acc);color:#fff;font-size:.74rem;font-weight:600;padding:.4rem .7rem}
.a-tags a:hover{opacity:.75}

.a-pn{background:var(--acc);color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1rem var(--gut)}
.a-pn a{display:flex;align-items:center;gap:.9rem;min-width:0}
.a-pn a.n{justify-content:flex-end;text-align:right;grid-column:2}
.a-pn i{font-style:normal;font-size:.8rem}
.a-pn span{min-width:0;font-size:.82rem;color:#cfcfcf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a-pn b{display:block;font-family:var(--display);font-weight:800;font-size:.8rem;letter-spacing:.02em;color:#fff}
.a-pn a:hover span{text-decoration:underline;text-underline-offset:2px}

.a-rel{padding:1.6rem var(--edge) clamp(3rem,6vw,5rem)}
.a-rel h2{font-family:var(--display);font-weight:900;font-size:clamp(1.25rem,1.8vw,1.65rem);letter-spacing:-.02em;margin:0 0 1rem}
.a-rel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem .5rem}
.a-rel figure{margin:0;aspect-ratio:3/4;overflow:hidden;background:var(--wash)}
.a-rel img{width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.22,.61,.24,1)}
.a-rel a:hover img{transform:scale(1.035)}
.a-rel small{display:block;font-size:.7rem;color:var(--grey);margin:.55rem 0 .2rem;text-transform:uppercase}
.a-rel h3{font-size:.94rem;font-weight:600;line-height:1.4;letter-spacing:-.02em;margin:0;word-break:keep-all;padding-right:.6rem}
.a-rel a:hover h3{text-decoration:underline;text-underline-offset:3px}

@media (max-width:900px){
  .a-wrap{grid-template-columns:1fr;gap:1.4rem 0}
  .a-rail{position:static;order:2;padding:1.2rem 0 0;border-top:1px solid var(--rule);width:100%;
    display:flex;justify-content:space-between;gap:1.5rem}
  .a-share{margin-top:0;padding-top:0;border-top:0;align-items:flex-end}
  .a-rel-grid{grid-template-columns:repeat(2,1fr)}
  .a-pn{grid-template-columns:1fr}
  .a-pn a.n{grid-column:1}
}

/* 상품 화면 — 스마트스토어 연결 */
.pd-side .pd-buy + .pd-buy{margin-top:.5rem}
.pd-store{font-size:.78rem;color:var(--grey);margin:.9rem 0 0}
