/* ============================================================
   NOIDMERCH — pdp.css  ·  THE PLATE (/product?id=<sku>)
   The next spread of THE ZINE. zine.css is loaded first and owns
   the paper stock, the stamps, the tape, the price-gun, the pager,
   the nav and the flyer grammar — this file only adds what a DETAIL
   spread needs that the zine never had: pasted photographic plates,
   the size run on the board, the honest drop state, the spec card,
   and the Vol. 01 rail.

   INK LAW (inherited): on the light flyer stock, orange is INK
   (--stamp #9E3614) or a RULE — never small text in --acc. On the
   dark board, --acc is a screen colour and clears AA at 5.05:1.
   ============================================================ */

/* ---- the pages -----------------------------------------------------------
   A detail spread carries more type than a poster page, and a phone is
   short. The zine's page is a fixed sheet; here the sheet may scroll
   INSIDE itself, so no viewport can ever clip the spec or the coupon.
   The pager still turns pages — pdp.js only hands the wheel/swipe to the
   sheet while there is somewhere left to scroll. */
.pg{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}
.pg::-webkit-scrollbar{width:0;height:0}
html.rm .pg{overflow:visible}

.plate-inner,.sheet-inner,.spec-inner,.more-inner{
  position:relative;z-index:2;min-height:100%;
  padding:clamp(84px,11vh,104px) clamp(18px,4vw,60px) clamp(72px,9vh,88px);
}
.gw-plate{left:auto;right:-3vw;top:6vw;bottom:auto}
.gw-sheet{left:-2vw;bottom:-4vw}
.gw-spec{left:auto;right:-2vw;bottom:-5vw;-webkit-text-stroke:1.5px rgba(242,86,35,.1)}

/* ============================================================
   PG 01 — THE PLATE
   ============================================================ */
.plate-inner{
  display:grid;grid-template-columns:auto minmax(340px,1fr);
  gap:clamp(26px,3.6vw,64px);align-items:start;
}

/* the photographic plate: a real photograph, pasted onto the board.
   Halftone screen + a misregistered orange pass — the zine's ink
   language — but never enough processing to hide the garment. */
.pdp-plate{
  --ph:clamp(280px,52vh,520px);
  position:relative;width:fit-content;
  background:var(--flyer);color:var(--fink);
  padding:14px 14px 62px;
  transform:rotate(-1.4deg);
  box-shadow:0 16px 34px rgba(0,0,0,.55),0 3px 8px rgba(0,0,0,.4);
}
.pdp-plate::after{ /* paper tooth (zine .flyer) */
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.5;z-index:3;
  background-image:radial-gradient(circle,rgba(23,23,23,.05) 20%,transparent 22%);
  background-size:4px 4px;
}
.pl-frame{
  position:relative;overflow:hidden;
  height:var(--ph);width:calc(var(--ph) * .75);
  border:1.5px solid rgba(23,23,23,.85);
  background:var(--flyer2);
  filter:drop-shadow(2.5px 2.5px 0 rgba(242,86,35,.30));  /* the misregistered orange plate */
}
.pl-frame img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:50% 45%;
  filter:contrast(1.06) saturate(.92);
}
.pl-frame::after{ /* the halftone screen — printed, not blurred */
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(circle,rgba(23,23,23,.62) 26%,transparent 30%);
  background-size:5px 5px;
  mix-blend-mode:multiply;opacity:.26;
}
.pl-cap{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin-top:9px;font-size:8.5px;letter-spacing:.2em;color:#5f5c55;
}
.pl-cap b{font-weight:700;color:#3c3a36;white-space:nowrap}

/* the honest stamps — both inks, every language, in the paper margin
   BELOW the plate: they state the truth without covering the garment. */
.st-notyet{left:12px;bottom:12px;transform:rotate(-6deg);font-size:11px;z-index:4}
.st-notyet-zh{
  right:12px;bottom:13px;transform:rotate(4.5deg);font-size:12px;z-index:4;
  font-family:'Noto Sans CJK SC','Source Han Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  font-weight:900;letter-spacing:.2em;padding:5px 6px 5px 12px;
}

/* the information column */
.pdp-col{max-width:620px}
.pdp-col .sp-over{margin-bottom:14px}
.pdp-title{
  font-family:var(--disp);font-weight:400;text-transform:uppercase;
  font-size:clamp(46px,5.6vw,86px);line-height:.9;letter-spacing:.01em;color:var(--ink);
}
.pdp-kind{margin-top:8px;font-size:10px;font-weight:700;letter-spacing:.26em;color:var(--acc);text-transform:uppercase}
.pdp-desc{margin-top:14px;font-size:13.5px;font-weight:300;line-height:1.62;color:var(--ink2);max-width:48ch}

/* THE SIZE RUN — what gets MADE. A struck size was never made; it did
   not sell out. Nothing has sold. So nothing here says "sold out". */
.pdp-run-blk{margin-top:18px}
.pdp-run-h{font-size:8.5px;letter-spacing:.26em;color:var(--mut);margin-bottom:7px}
.pdp-run{display:flex;gap:5px;max-width:360px}
.pdp-run .rn{
  flex:1;text-align:center;padding:5px 0;
  font-size:9px;font-weight:700;letter-spacing:.08em;color:var(--ink);
  border:1px solid rgba(222,222,222,.34);
}
.pdp-run .rn.out{
  color:var(--dim);border-style:dashed;border-color:rgba(222,222,222,.18);
  text-decoration:line-through;
}
.pdp-run-note{margin-top:8px;font-size:8.5px;letter-spacing:.12em;line-height:1.65;color:var(--dim);max-width:52ch}

/* THE STATE OF THE DROP — printed, not counted down. Same words as the
   zine's cover (dc.*): NEXT DROP / UNANNOUNCED. */
.pdp-state{
  margin-top:20px;padding-top:12px;max-width:560px;
  border-top:1px solid rgba(242,86,35,.45);
}
.pdp-state .dc-note{white-space:normal}
.pdp-nocart{
  margin-top:10px;font-size:12px;font-weight:300;line-height:1.65;
  color:var(--ink2);max-width:56ch;
}
.pdp-nocart b{color:var(--ink);font-weight:600}

/* the coupon (zine .flyer.coupon) is reused verbatim — same endpoint,
   same states, same strings. It only needs to sit in this column. */
.pdp-col .coupon{margin-top:20px;max-width:560px}

/* ============================================================
   PG 02 — THE CONTACT SHEET
   ============================================================ */
.sheet-inner{display:flex;flex-direction:column;justify-content:center}
.sheet-head{max-width:70vw}
.sheet-head .sp-title{margin-top:6px}
.cs-rail{
  display:flex;flex-wrap:wrap;align-items:flex-start;
  gap:clamp(14px,2vw,32px);margin-top:clamp(16px,3.4vh,34px);
}
/* the plate sets its own --ph, so the rail must override it ON the plate */
.cs-rail .pdp-plate{--ph:clamp(190px,44vh,356px)}
.cs-rail[data-n="1"] .pdp-plate{--ph:clamp(240px,58vh,520px)}
.cs-rail[data-n="2"] .pdp-plate{--ph:clamp(220px,52vh,450px)}
/* a short sheet (STATIC shot two plates, not five) centres instead of hanging left */
.cs-rail[data-n="1"],.cs-rail[data-n="2"]{justify-content:center;gap:clamp(20px,3vw,52px)}
.cs-rail[data-n="3"] .pdp-plate{--ph:clamp(200px,44vh,380px)}
.cs-rail .pdp-plate{
  flex:0 0 auto;padding:10px 10px 12px;
  transform:rotate(var(--rot,-1.2deg));
  transition:transform .32s var(--ease),box-shadow .32s var(--ease);
}
@media(hover:hover){
  .cs-rail .pdp-plate:hover{
    transform:rotate(var(--rot,-1.2deg)) translateY(-5px) scale(1.012);
    box-shadow:0 24px 46px rgba(0,0,0,.62),0 4px 10px rgba(0,0,0,.45);
  }
}
.cs-rail .pl-cap{margin-top:7px;font-size:7.5px;letter-spacing:.16em}

/* ============================================================
   PG 03 — THE SPEC
   ============================================================ */
.spec-inner{
  display:grid;grid-template-columns:1fr 1.02fr;
  gap:clamp(26px,3.6vw,64px);align-items:center;align-content:center;
}
.spec-head{max-width:520px}
.spec-head .sp-title{margin-top:6px}
.story-cut{
  margin-top:clamp(20px,3.4vh,34px);max-width:460px;
  background:var(--acc);color:#171717;
  padding:18px 22px;transform:rotate(-1.2deg);
  box-shadow:5px 7px 0 rgba(0,0,0,.5);
}
.story-cut p{font-family:var(--disp);font-size:clamp(15px,1.5vw,21px);line-height:1.24;letter-spacing:.035em}
.story-cut cite{display:block;font-style:normal;font-size:8.5px;letter-spacing:.26em;margin-top:10px;color:rgba(23,23,23,.72)}

.speccard{max-width:560px;transform:rotate(-.8deg)}
.speccard .fl-specs{margin:10px 0 0}
.spec-sub{
  font-size:7.5px;letter-spacing:.24em;color:#5f5c55;
  border-top:1.5px solid var(--fink);padding-top:9px;margin:14px 0 2px;
}
.spec-tbl td{padding:7px 8px 7px 0}
.spec-tbl td:first-child{
  width:34%;font-size:7.5px;letter-spacing:.2em;color:#5f5c55;text-transform:uppercase;
}
.spec-tbl td:last-child{font-size:10px;letter-spacing:.04em}
.spec-run{margin-top:14px}
.speccard .fl-run{margin-bottom:0;max-width:300px}
.spec-run-note{margin-top:7px;font-size:7.5px;letter-spacing:.1em;line-height:1.7;color:#5f5c55}
.speccard .idx-foot{margin-top:12px}

/* ============================================================
   PG 04 — MORE FROM VOL. 01
   ============================================================ */
.more-inner{
  width:min(1100px,94vw);margin:0 auto;
  padding:clamp(70px,8.6vh,86px) 0 clamp(56px,6.6vh,64px);
  display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,1.3vh,14px);
}
.more-title{margin-top:2px;font-size:clamp(32px,3.4vw,48px)}
.more-rail{display:flex;gap:clamp(16px,2.2vw,32px);align-items:flex-start;margin-top:clamp(6px,1.2vh,14px)}
.more-rail .flyer.product{
  width:clamp(180px,17.5vw,262px);padding:12px 12px 34px;
}
/* the price-gun hangs off the top-right corner — keep the kick line out from under it */
.more-rail .fl-kick{padding-right:70px;padding-bottom:6px;margin-bottom:8px;font-size:8px}
.more-rail .fl-art{position:relative;overflow:hidden;margin:2px 0 8px}
.more-rail .fl-art img{
  display:block;width:100%;height:clamp(88px,10.5vh,110px);
  object-fit:cover;object-position:50% 42%;background:var(--flyer2);
  filter:contrast(1.06) saturate(.92);
}
.more-rail .fl-art::after{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:radial-gradient(circle,rgba(23,23,23,.62) 26%,transparent 30%);
  background-size:5px 5px;mix-blend-mode:multiply;opacity:.24;
}
.more-rail .fl-name{font-size:clamp(23px,1.9vw,30px)}
.more-rail .fl-kind{font-size:7.5px;letter-spacing:.16em;color:#5f5c55;margin:3px 0 6px;text-transform:uppercase}
.more-rail .fl-ed{margin-bottom:6px}
.more-cta{margin-top:2px;padding:clamp(9px,1.4vh,15px) clamp(18px,2.4vw,36px)}
.more-cta .bk-cta-big{font-size:clamp(26px,3.2vw,42px)}
.more-cta .bk-cta-arr{font-size:clamp(26px,3vw,40px)}
.more-cols{padding-top:12px}
.more-cols .bk-col a{font-size:clamp(14px,1.2vw,17px);padding:2px 0}
.more-cols .bk-h{margin-bottom:8px}
.more-cols .bk-note{font-size:11px}
.more-cols .st-au{margin-top:9px;font-size:10px}
.more-inner .bk-base{padding-top:9px}
.more-inner .bk-base .barcode i{height:18px;width:96px}
.more-inner .bk-base .mono{font-size:8px;letter-spacing:.2em}

/* ============================================================
   MOBILE 390×844 — art-directed, one column, nothing clipped
   ============================================================ */
@media(max-width:700px){
  .plate-inner,.sheet-inner,.spec-inner{
    display:block;padding:74px 16px 78px;
  }
  /* the plate — small enough that the coupon (the only real action) breaks
     the fold and asks to be scrolled to, instead of hiding below it */
  .pdp-plate{--ph:clamp(190px,26vh,258px);margin:0 auto 16px;transform:rotate(-1.6deg);padding:11px 11px 52px}
  .pdp-plate .pricegun{top:-12px;right:-10px;padding:6px 10px 10px}
  .pdp-plate .pricegun b{font-size:17px}
  /* both inks still fit side by side on a 390px sheet */
  .st-notyet{font-size:7px;left:7px;bottom:10px;padding:5px 7px;letter-spacing:.1em}
  .st-notyet-zh{font-size:8px;right:7px;bottom:11px;padding:4px 4px 4px 9px;letter-spacing:.14em}
  .pl-cap{font-size:7px;letter-spacing:.14em}
  .pdp-col{max-width:none}
  .pdp-col .sp-over{margin-bottom:6px;font-size:8.5px}
  .pdp-title{font-size:clamp(34px,10.5vw,46px)}
  .pdp-kind{font-size:8.5px;letter-spacing:.2em;margin-top:5px}
  .pdp-desc{font-size:11px;margin-top:9px;max-width:none;line-height:1.55}
  .pdp-run-blk{margin-top:12px}
  .pdp-run{max-width:none}
  .pdp-run .rn{font-size:8px;padding:4px 0}
  .pdp-run-note{font-size:7.5px;letter-spacing:.06em;max-width:none}
  .pdp-state{margin-top:13px}
  .pdp-nocart{font-size:11px;max-width:none}
  .pdp-col .coupon{margin-top:13px;max-width:none}
  .cp-p{font-size:9.5px}
  .cp-form{max-width:none}
  .folio-note{display:none}

  /* the contact sheet */
  .sheet-head{max-width:none}
  .cs-rail,.cs-rail[data-n="1"],.cs-rail[data-n="2"],.cs-rail[data-n="3"]{
    --ph:clamp(150px,24vh,210px);gap:10px;justify-content:center;margin-top:16px;
  }
  .cs-rail .pdp-plate{padding:7px 7px 8px}
  .cs-rail .pl-cap{font-size:6.2px;letter-spacing:.1em;margin-top:5px}

  /* the spec */
  .spec-head{max-width:none}
  .story-cut{margin-top:14px;max-width:none;padding:12px 15px}
  .story-cut p{font-size:12.5px}
  .story-cut cite{font-size:7.5px;margin-top:7px}
  .speccard{max-width:none;margin-top:16px;padding:14px 15px 26px}
  .spec-sub{margin-top:11px}
  .spec-tbl td:last-child{font-size:9px}
  .speccard .fl-specs li{font-size:8px;letter-spacing:.08em}
  .spec-run-note{font-size:7px}
  .st-idx{display:none}

  /* more from vol. 01 */
  .more-inner{width:90vw;padding:74px 0 80px;gap:12px}
  .more-title{font-size:clamp(26px,7.6vw,34px)}
  .more-rail{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
  .more-rail .flyer.product{width:auto;padding:7px 7px 26px;--rot:-1.2deg}
  .more-rail .flyer.product:nth-child(2){--rot:1.4deg;margin-top:8px}
  .more-rail .flyer.product:nth-child(3){--rot:-.6deg}
  .more-rail .fl-kick{display:none}
  .more-rail .fl-art img{height:78px}
  .more-rail .fl-name{font-size:17px}
  .more-rail .fl-kind{font-size:6px;letter-spacing:.08em;margin:3px 0 5px}
  .more-rail .fl-ed{display:none}
  .more-rail .fl-go{font-size:6.5px;letter-spacing:.08em}
  .more-rail .pricegun{top:-9px;right:-6px;padding:4px 6px 8px}
  .more-rail .pricegun b{font-size:12px}
  .more-rail .pricegun i{font-size:5px;letter-spacing:.1em}
  .more-rail .st-stock{display:none}
  .more-cta{padding:16px 18px}
  .more-cta .bk-cta-big{font-size:30px}
  .more-cta .bk-cta-arr{font-size:30px}
  .more-cols{grid-template-columns:1fr 1fr;gap:14px;padding-top:14px}
  .more-cols .bk-col a{font-size:15px}
  .more-inner .bk-base{gap:6px}
}

/* ============================================================
   zh-CN — CJK retune (zine.css sets the fallback stacks)
   ============================================================ */
html[lang^="zh"] .pdp-kind{letter-spacing:.14em}
html[lang^="zh"] .pdp-desc{line-height:1.85}
html[lang^="zh"] .pdp-run-h{letter-spacing:.16em}
html[lang^="zh"] .pdp-run-note{letter-spacing:.04em;font-size:9.5px;line-height:1.75}
html[lang^="zh"] .pdp-nocart{line-height:1.85;font-size:12.5px}
html[lang^="zh"] .pl-cap{letter-spacing:.08em;font-size:9px}
html[lang^="zh"] .cs-rail .pl-cap{font-size:8px;letter-spacing:.04em}
html[lang^="zh"] .story-cut p{line-height:1.6;letter-spacing:.03em}
html[lang^="zh"] .story-cut cite{letter-spacing:.14em}
html[lang^="zh"] .spec-sub{letter-spacing:.14em;font-size:9px}
html[lang^="zh"] .spec-tbl td:first-child{letter-spacing:.1em;font-size:9px}
html[lang^="zh"] .spec-tbl td:last-child{letter-spacing:.02em;line-height:1.55}
html[lang^="zh"] .spec-run-note{letter-spacing:.02em;font-size:9px;line-height:1.7}
html[lang^="zh"] .more-rail .fl-kind{letter-spacing:.06em;font-size:9px}
html[lang^="zh"] .more-rail .fl-go{letter-spacing:.08em}
html[lang^="zh"] .st-notyet{letter-spacing:.18em}
@media(max-width:700px){
  html[lang^="zh"] .pdp-desc{font-size:11px;line-height:1.75}
  html[lang^="zh"] .pdp-run-note{font-size:8.5px;line-height:1.6}
  html[lang^="zh"] .pdp-nocart{font-size:11px;line-height:1.75}
  html[lang^="zh"] .cs-rail .pl-cap{font-size:6.5px}
  html[lang^="zh"] .more-rail .fl-kind{font-size:7px}
  html[lang^="zh"] .more-rail .fl-go{font-size:8px}
  html[lang^="zh"] .spec-tbl td:first-child{font-size:8px}
  html[lang^="zh"] .spec-tbl td:last-child{font-size:9px}
}

/* ============================================================
   SHORT SCREENS — the sheet tightens before it ever scrolls
   ============================================================ */
@media (min-width:701px) and (max-height:880px){
  .plate-inner,.sheet-inner,.spec-inner,.more-inner{padding-top:clamp(76px,9vh,92px);padding-bottom:clamp(64px,7.5vh,78px)}
  .pdp-plate{--ph:clamp(260px,48vh,430px)}
  .pdp-desc{font-size:12.5px;margin-top:11px}
  .pdp-state{margin-top:15px}
  .pdp-col .coupon{margin-top:15px}
  .more-rail .fl-art img{height:clamp(100px,13vh,132px)}
}
