/* NadirFilm v3.0.76 — JAPAN / SIDE B — living photocopy zine.
   Only the Japan curation; existing backdrop, content & poster geometry retained.
   Decor is local to the card, never an image replacement, never clickable. */
body.nf-cur-skin--japan{
  --skin-primary:#f5b4d1;--skin-secondary:#a8ccfa;
  --skin-line:rgba(245,180,209,.27);
}
body.nf-cur-skin--japan .nf2-search{
  border-color:rgba(235,179,216,.35);background:rgba(21,17,37,.9);
}
body.nf-cur-skin--japan .nf2-search:focus-within{border-color:#f2bfdd;box-shadow:0 0 0 2px rgba(245,176,219,.1)}
body.nf-cur-skin--japan .nf2-search button{color:#f0b5d0}
body.nf-cur-skin--japan .nf2-account-trigger{border-color:rgba(242,189,223,.31);background:rgba(20,17,36,.8)}

/* Hero: original first-film image and existing physical cassette stay in place. */
.nf-curation--japan .nf-curation-hero{
  border-color:rgba(247,181,218,.58);
  box-shadow:0 27px 73px rgba(2,1,16,.48),5px 5px 0 rgba(252,177,216,.09);
}
.nf-curation--japan .nf-curation-hero h1{
  line-height:.98;letter-spacing:-.079em;text-wrap:balance;
}
.nf-curation--japan .nf-curation-hero h1 span,
.nf-curation--japan .nf-curation-hero h1 em{display:block}
.nf-curation--japan .nf-curation-hero h1 em{
  position:relative;width:fit-content;max-width:100%;font-style:normal;
  color:#f8bbd7;
  background:linear-gradient(110deg,#ffe1ee 0%,#f4afd1 52%,#b5caff 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  text-shadow:none;filter:drop-shadow(3px 4px 0 rgba(55,28,68,.53));
}
/* v3.0.80: Eyebrow is an editorial overline, not a sticker/badge.
   Preserve the existing typography and small marker, remove only its box. */
.nf-curation--japan .nf-curation-hero__eyebrow{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transform:none;
  color:#f7bdd9;
  margin-bottom:18px;
}
.nf-curation--japan .nf-curation-hero__slogan{color:#ffe0ee}
.nf-curation--japan .nf-curation-hero__description{max-width:575px}
.nf-curation--japan .nf-curation-hero__art::after{
  background-image:url('./curation-textures/japan-youth-stamp-v376.svg'),url('./curation-textures/japan-poster-markers.svg');
  background-position:left 3% bottom 11%,right 5% top 5%;
  background-size:42% auto,78% auto;
  background-repeat:no-repeat;
  opacity:.71;
}

/* Three existing editorial categories, quietly matched to the actual directory. */
.nf-curation--japan .nf-curation-hero__tags{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0 0;max-width:590px}
.nf-curation--japan .nf-curation-hero__tags span{
  display:inline-flex;align-items:center;min-height:30px;
  border:1px solid rgba(255,207,229,.6);border-radius:3px 8px 3px 7px;
  padding:6px 10px;background:rgba(32,20,45,.8);
  color:#ffe1ee;font:700 10px/1.25 var(--nf-mono,monospace);
  letter-spacing:.015em;transform:rotate(-.6deg);box-shadow:2px 2px 0 rgba(252,179,222,.1);
}
.nf-curation--japan .nf-curation-hero__tags span:nth-child(2){
  border-color:rgba(163,201,255,.64);color:#c3d9ff;transform:rotate(.7deg);
}
.nf-curation--japan .nf-curation-hero__tags span:nth-child(3){
  border-color:rgba(240,220,172,.56);color:#f9e2b8;transform:rotate(-.3deg);
}

/* Section is a zine spread, not a duplicate of the slasher/outsider/reality headers. */
.nf-curation--japan .nf-curation-section-overline{font-weight:800;color:#f8b3d0}
.nf-curation--japan .nf-curation-section-title{border-bottom-color:rgba(249,188,215,.35)}
.nf-curation--japan .nf-curation-section-title::after{
  background:linear-gradient(90deg,#f9b6d5 0%,#ffd8b1 47%,#a1ceff 100%);
}

/* Individual paper artefacts: one new decal only on some cards. Existing
   alternating stamps/tape/skew/film overlays from core CSS are preserved. */
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card{
  --nf-jp-new-rose:rgba(247,178,209,.14);
  box-shadow:0 16px 39px rgba(2,1,13,.28),4px 5px 0 var(--nf-jp-new-rose);
}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+2){--nf-jp-new-rose:rgba(167,197,254,.14)}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+3){--nf-jp-new-rose:rgba(250,209,154,.13)}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card::after{
  content:"";position:absolute;pointer-events:none;z-index:4;
  top:15px;right:0;width:clamp(44px,29%,76px);height:clamp(44px,29%,76px);
  background:url('./curation-textures/japan-washi-edge-v376.svg') no-repeat right top/contain;
  opacity:.54;filter:drop-shadow(0 2px 3px rgba(11,5,22,.15));
}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+1)::after{opacity:0}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+3)::after{
  top:auto;bottom:107px;right:0;transform:rotate(180deg);opacity:.51;
}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+4)::after{
  top:41%;left:0;right:auto;transform:scaleX(-1);opacity:.48;
}
/* Physical ticket-like footer, with a thin perforated edge rather than an
   overlay drawn across the actual film poster. */
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card .nf-curation-card__copy{
  position:relative;isolation:isolate;
  border-top:2px solid rgba(247,175,210,.65);
  background:linear-gradient(150deg,#292039,#191527 82%);
}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+2) .nf-curation-card__copy{
  border-top-color:#b7d5fc;
}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+3) .nf-curation-card__copy{
  border-top-color:#f4d6a7;
}
.nf-curation.nf-curation--japan .nf-curation-card__copy::after{
  width:30px;height:9px;right:11px;bottom:10px;border:none;
  border-top:1px dashed rgba(249,210,229,.42);border-radius:0;transform:rotate(-8deg);
}
.nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:focus-within{
  outline:2px solid #f0c2e0;outline-offset:3px;
}
.nf-curation.nf-curation--japan .nf-curation-card__poster:focus-visible,
.nf-curation.nf-curation--japan .nf-curation-card__copy a:focus-visible{
  outline:2px solid #a9d5ff;outline-offset:2px;
}
.nf-curation--japan .nf-japan-summary-toggle{display:none}

@media(max-width:760px){
  /* Keep the hero photographic, but shorten the page before reaching films. */
  .nf-curation--japan .nf-curation-hero{min-height:0}
  .nf-curation--japan .nf-curation-hero__content{padding:29px 20px 26px}
  .nf-curation--japan .nf-curation-hero h1{font-size:clamp(34px,9.4vw,54px);line-height:1.02;letter-spacing:-.067em;margin-bottom:15px}
  .nf-curation--japan .nf-curation-hero__slogan{font-size:16px}
  .nf-curation--japan .nf-curation-hero__description{font-size:12px;line-height:1.62;margin-bottom:10px}
  .nf-curation--japan .nf-curation-hero__art{top:2%;right:-21%;width:72%;height:45%;opacity:.23}
  .nf-curation--japan .nf-curation-hero__art::after{opacity:.36}
  .nf-curation--japan .nf-curation-hero__tags{gap:6px;margin-top:13px}
  .nf-curation--japan .nf-curation-hero__tags span{padding:6px 8px;font-size:9px;min-height:26px}
  .nf-curation--japan.nf-japan-js-mobile .nf-curation-hero__description{
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  }
  .nf-curation--japan.nf-japan-js-mobile .nf-curation-hero.nf-japan-expanded .nf-curation-hero__description{
    display:block;overflow:visible;
  }
  .nf-curation--japan.nf-japan-js-mobile .nf-japan-summary-toggle:not([hidden]){
    display:inline-flex;align-items:center;gap:7px;padding:3px 0 6px;
    background:none;border:0;color:#ffbfdc;
    font:750 11px/1.35 var(--nf-mono,monospace);cursor:pointer;
  }
  .nf-curation--japan .nf-curation-films{padding-top:27px}
  .nf-curation--japan .nf-curation-grid{gap:17px 11px}
  .nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card::after{
    width:45px;height:48px;top:14px;opacity:.39;
  }
  .nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+3)::after{
    top:auto;bottom:108px;
  }
  .nf-curation.nf-curation--japan .nf-curation-grid > .nf-curation-card:nth-child(4n+4)::after{
    top:40%;
  }
}
@media(max-width:360px){
  .nf-curation--japan .nf-curation-hero__content{padding:26px 16px 23px}
  .nf-curation--japan .nf-curation-hero h1{font-size:clamp(30px,9vw,40px)}
  .nf-curation--japan .nf-curation-hero__tags span{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .nf-curation--japan .nf-curation-card,
  .nf-curation--japan .nf-curation-hero__art::before,
  .nf-curation--japan .nf-curation-hero__art::after{transition:none!important;animation:none!important}
}
