/* =========================================================
   GOLD STAR × NI-KI  ICE GIFT BOX
   Editorial monochrome · electric-indigo accent · broken grid
   ========================================================= */

:root{
  --bg:#1A1A1A;
  --panel:rgba(38,38,38,.86);
  --ink:#141414;
  --fg:#FFFFFF;
  --grey:rgba(255,255,255,.85);
  --grey-d:rgba(255,255,255,.65);
  --line:rgba(255,255,255,.5);
  --accent:#FFFFFF;

  --f-disp:"Quicksand","Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
  --f-body:"Quicksand","Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
  --f-jp:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;

  --maxw:1280px;
  --ease:cubic-bezier(.22,.7,.3,1);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
/* Lenis smooth scroll */
html.lenis,html.lenis body{height:auto;}
.lenis.lenis-smooth{scroll-behavior:auto!important;}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain;}
.lenis.lenis-stopped{overflow:hidden;}
.lenis.lenis-smooth iframe{pointer-events:none;}
body{font-family:var(--f-body);font-weight:400;color:var(--fg);line-height:1.75;
  background-color:#1A1A1A;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;}

/* ============ loading screen ============ */
.loader{position:fixed;inset:0;z-index:9999;background:#0A0A0A;display:flex;align-items:center;justify-content:center;
  transition:opacity .8s var(--ease),visibility .8s;}
.loader.done{opacity:0;visibility:hidden;pointer-events:none;}
.loader-inner{display:flex;flex-direction:column;align-items:center;gap:24px;width:min(74vw,360px);}
.loader-brand{font-family:"DIN Next LT Pro","DIN Next","DIN","DIN Alternate","DIN Condensed",var(--f-disp),sans-serif;
  font-weight:700;letter-spacing:.1em;font-size:15px;color:#fff;text-transform:uppercase;}
.loader-brand .x{color:var(--accent);}
.loader-bar{width:100%;height:1px;background:rgba(255,255,255,.16);overflow:hidden;}
.loader-bar span{display:block;height:100%;width:0;background:#fff;}
.loader-num{font-family:var(--f-disp);font-weight:500;font-size:12px;letter-spacing:.14em;color:rgba(255,255,255,.55);}
body.is-loading{overflow:hidden;}
/* hold hero entrance animations until loading finishes */
body.is-loading .hero-photo,
body.is-loading .hero-copy-art img,
body.is-loading .hero-photo-wrap::before,
body.is-loading .hero-sub,
body.is-loading .hero-badges,
body.is-loading .h-period,
body.is-loading .h-period .reveal-txt,
body.is-loading .h-period::after,
body.is-loading .h-buy{animation-play-state:paused!important;}

/* full-screen darkened video background (reference-style) */
.bg-fx{position:fixed;inset:0;z-index:-1;overflow:hidden;
  background:#1A1A1A url('assets/bg-poster.webp') center/cover no-repeat;}
.bg-fx .bg-video{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center center;display:block;
  filter:brightness(.62) contrast(1.02) saturate(.92);
  opacity:0;transition:opacity 1s ease;}
.bg-fx.is-playing .bg-video{opacity:1;}
.bg-fx .bg-veil{position:absolute;inset:0;background:rgba(18,18,18,.46);}

img{display:block;max-width:100%;height:auto;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(20px,4vw,56px);}

/* ============ HEADER ============ */
.hdr{position:fixed;inset:0 0 auto 0;z-index:200;display:flex;align-items:center;justify-content:space-between;
  padding:20px clamp(20px,4vw,56px);transition:background .4s var(--ease),padding .4s var(--ease),border-color .4s;
  border-bottom:1px solid transparent;}
.hdr.scrolled{padding-top:14px;padding-bottom:14px;}
.hdr .brand{text-shadow:0 0 10px rgba(0,0,0,.8),0 0 20px rgba(0,0,0,.55),0 2px 5px rgba(0,0,0,.65);}
.brand{font-family:"DIN Next LT Pro","DIN Next","DIN Pro","DIN","DIN Alternate","DIN Condensed",var(--f-disp),sans-serif;
  font-weight:700;letter-spacing:.06em;font-size:16px;display:flex;align-items:center;gap:9px;}
.brand .x{color:var(--accent);}
.hdr .h-period{font-family:var(--f-jp);font-weight:600;font-size:13px;letter-spacing:.04em;color:var(--fg);white-space:nowrap;
  position:relative;display:inline-block;overflow:hidden;padding:3px 10px 3px 18px;border-radius:3px;
  animation:periodBg .55s ease 2.95s both;}
.hdr .h-period .reveal-txt{display:inline-block;opacity:0;position:relative;z-index:1;top:1px;text-shadow:none;
  animation:periodTxt 1s ease 2.15s both;}
.hdr .h-period::after{content:"";position:absolute;inset:0;background:var(--fg);
  transform:scaleX(0);transform-origin:left center;
  animation:periodSweep 1s cubic-bezier(.76,0,.24,1) 2.15s both;}
@keyframes periodSweep{
  0%{transform:scaleX(0);transform-origin:left center;}
  45%{transform:scaleX(1);transform-origin:left center;}
  55%{transform:scaleX(1);transform-origin:right center;}
  100%{transform:scaleX(0);transform-origin:right center;}}
@keyframes periodTxt{
  0%,45%{opacity:0;}
  55%,100%{opacity:1;}}
/* after the reveal wipe: settle to a white background with dark (inverted) text */
@keyframes periodBg{
  from{background:linear-gradient(120deg,rgba(57,106,252,0) 0%,rgba(41,72,255,0) 100%);}
  to{background:linear-gradient(120deg,#396AFC 0%,#2948FF 100%);}}
@keyframes periodInk{
  from{color:var(--fg);text-shadow:0 0 10px rgba(0,0,0,.8),0 0 20px rgba(0,0,0,.55),0 2px 5px rgba(0,0,0,.65);}
  to{color:var(--fg);text-shadow:none;}}
/* header right group: campaign period + purchase button (matched heights) */
.h-right{display:flex;align-items:stretch;gap:12px;}
.h-buy{display:inline-flex;align-items:center;justify-content:center;padding:0 16px;
  font-family:var(--f-disp);font-weight:600;font-size:12px;letter-spacing:.06em;color:#fff;white-space:nowrap;
  background:linear-gradient(120deg,#396AFC 0%,#2948FF 100%);border-radius:3px;
  position:relative;overflow:hidden;isolation:isolate;
  opacity:0;animation:hBuyIn .5s var(--ease) 3.5s both;}
/* hover: green fill sweeps in from the left (same as the .cta buttons) */
.h-buy::before{content:"";position:absolute;inset:0;z-index:-1;background:#1FBF4B;
  transform:scaleX(0);transform-origin:left center;transition:transform .42s cubic-bezier(.76,0,.24,1);}
.h-buy:hover::before{transform:scaleX(1);}
/* appears right after the campaign-period reveal finishes */
@keyframes hBuyIn{from{opacity:0;transform:translateX(6px);}to{opacity:1;transform:none;}}

/* hamburger (SP only) */
.hmburger{display:none;width:30px;height:20px;flex-direction:column;justify-content:space-between;
  z-index:210;padding:0;background:none;border:none;cursor:pointer;}
.hmburger span{display:block;width:100%;height:2px;background:var(--fg);border-radius:2px;
  box-shadow:0 0 6px rgba(0,0,0,.6);transition:transform .35s var(--ease),opacity .25s var(--ease);}
.hmburger.open span:nth-child(1){transform:translateY(9px) rotate(45deg);}
.hmburger.open span:nth-child(2){opacity:0;}
.hmburger.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}
@media(max-width:840px){.hmburger{display:flex;}}
/* index4: 2-line, thinner hamburger (X on open) */
body:has(.sp-buybar) .hmburger{height:14px;}
body:has(.sp-buybar) .hmburger span{height:1px;border-radius:1px;}
body:has(.sp-buybar) .hmburger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
body:has(.sp-buybar) .hmburger.open span:nth-child(2){opacity:1;transform:translateY(-6.5px) rotate(-45deg);}

/* SP fullscreen section menu */
.spmenu{position:fixed;inset:0;z-index:190;background:rgba(8,9,18,.96);backdrop-filter:blur(10px);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s var(--ease);}
.spmenu.open{opacity:1;visibility:visible;}
.spmenu ul{list-style:none;text-align:center;display:flex;flex-direction:column;gap:clamp(16px,3.4vh,28px);padding:0;}
.spmenu a{position:relative;font-family:var(--f-disp);font-weight:500;text-transform:uppercase;letter-spacing:.16em;
  font-size:clamp(19px,5.4vw,26px);color:var(--fg);
  opacity:0;transform:translateY(18px);transition:opacity .45s var(--ease),transform .45s var(--ease);}
.spmenu.open a{opacity:1;transform:none;}
.spmenu.open li:nth-child(1) a{transition-delay:.06s}.spmenu.open li:nth-child(2) a{transition-delay:.10s}
.spmenu.open li:nth-child(3) a{transition-delay:.14s}.spmenu.open li:nth-child(4) a{transition-delay:.18s}
.spmenu.open li:nth-child(5) a{transition-delay:.22s}.spmenu.open li:nth-child(6) a{transition-delay:.26s}
.spmenu.open li:nth-child(7) a{transition-delay:.30s}.spmenu.open li:nth-child(8) a{transition-delay:.34s}
.spmenu.open li:nth-child(9) a{transition-delay:.38s}
.spmenu a::after{content:"";position:absolute;left:50%;bottom:-7px;width:0;height:1px;background:var(--fg);
  transform:translateX(-50%);transition:width .3s var(--ease);}
.spmenu a:hover::after,.spmenu a:active::after{width:100%;}
@media(max-width:840px){
  .hdr .h-period{display:none;}
  .h-buy{display:none;}
  .hero-period-sp{display:block;margin-top:18px;font-family:var(--f-jp);font-weight:500;font-size:14px;
    letter-spacing:.04em;color:var(--fg);text-align:center;text-shadow:0 0 10px rgba(0,0,0,.8),0 0 20px rgba(0,0,0,.55);}
}

/* ============ HERO ============ */
.hero{position:relative;min-height:100svh;overflow:hidden;background:transparent;}

/* copy — upper left */
.hero-copy-art{position:absolute;z-index:4;left:clamp(40px,9vw,180px);top:calc(clamp(150px,30vh,32vh) - 40px);
  width:min(50.6%,616px);margin:0;font-weight:inherit;pointer-events:none;}
.hero-copy-art img{width:100%;height:auto;display:block;
  animation:copyReveal 1.05s cubic-bezier(.22,.8,.24,1) .62s both;}
@keyframes copyReveal{
  0%{opacity:0;clip-path:inset(0 100% 0 0);filter:blur(10px);}
  100%{opacity:1;clip-path:inset(0 0 0 0);filter:blur(0);}}

/* NI-KI cutout — right, bottom edge sits on the hero bottom line */
.hero-photo-wrap{position:absolute;z-index:2;right:clamp(8px,5vw,110px);bottom:-30px;
  height:min(113.85vh,1214px);display:flex;align-items:flex-end;pointer-events:none;}
.hero-photo{position:relative;z-index:1;height:100%;width:auto;max-width:100%;object-fit:contain;object-position:bottom;display:block;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.4));
  animation:figureReveal 1.35s cubic-bezier(.22,.8,.24,1) .3s both;}
@keyframes figureReveal{
  0%{opacity:0;clip-path:inset(100% 0 0 0);transform:translateX(14%);filter:blur(18px) drop-shadow(0 20px 40px rgba(0,0,0,.4));}
  100%{opacity:1;clip-path:inset(0 0 0 0);transform:translateX(0);filter:blur(0) drop-shadow(0 20px 40px rgba(0,0,0,.4));}}
/* aura glow behind NI-KI */
.hero-photo-wrap::before{content:"";position:absolute;z-index:0;left:50%;top:38%;
  width:130%;height:100%;transform:translate(-50%,-50%);pointer-events:none;
  background:
    radial-gradient(closest-side, rgba(255,253,247,.30) 0%, rgba(255,253,247,.10) 38%, transparent 66%),
    radial-gradient(closest-side, rgba(196,216,255,.20) 0%, rgba(196,216,255,.06) 50%, transparent 76%);
  filter:blur(64px);
  animation:auraIn 1.6s ease .55s both, auraFloat 13s ease-in-out 2.1s infinite;}
@keyframes auraIn{from{opacity:0;}to{opacity:.6;}}
@keyframes auraFloat{
  0%{transform:translate(-50%,-50%) scale(1);opacity:.54;}
  25%{transform:translate(-45%,-53%) scale(1.05);opacity:.62;}
  50%{transform:translate(-53%,-47%) scale(1.03);opacity:.48;}
  75%{transform:translate(-47%,-52%) scale(1.06);opacity:.6;}
  100%{transform:translate(-50%,-50%) scale(1);opacity:.54;}}

/* subcopy + badges — bottom centered, badges wide & side-by-side */
.hero-bottom{position:absolute;z-index:4;left:0;right:0;bottom:clamp(40px,6vh,72px);
  display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 clamp(20px,4vw,40px);}
.hero-sub{font-family:var(--f-jp);font-weight:600;font-size:clamp(22px,2.1vw,25px);line-height:1.55;color:var(--fg);
  text-shadow:0 0 12px rgba(0,0,0,.85), 0 0 24px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.7);
  animation:heroSoftIn 1.5s ease 1.35s both;}
@media(min-width:841px){.hero-period-sp{display:none;}}
.hero-badges{display:flex;gap:18px;justify-content:center;width:100%;max-width:1300px;margin-top:26px;
  animation:heroSoftIn 1.6s ease 1.6s both;}
/* fade-only emerge (no vertical motion) — appears last in the hero */
@keyframes heroSoftIn{
  from{opacity:0;filter:blur(5px);}
  to{opacity:1;filter:blur(0);}}
.hbadge{flex:1 1 0;min-width:0;text-align:center;border:1px solid var(--line);border-radius:3px;
  padding:16px 18px;font-family:var(--f-jp);font-weight:600;font-size:16px;line-height:1.55;color:var(--fg);
  background:rgba(0,0,0,.42);transition:background .3s var(--ease),border-color .3s var(--ease);}
.hbadge:hover{background:rgba(0,0,0,.58);border-color:rgba(255,255,255,.5);}
.hero-line{position:absolute;left:0;right:0;bottom:0;z-index:5;height:1px;background:var(--line);}


/* ============ SECTIONS (wireframe-aligned · red editorial) ============ */
.sec{position:relative;max-width:1120px;margin:0 auto;
  padding:clamp(168px,24vw,288px) clamp(20px,4vw,40px);}
.sec.center{text-align:center;}

.label{display:inline-block;font-family:var(--f-disp);font-weight:500;text-transform:uppercase;
  letter-spacing:.22em;font-size:12px;color:var(--accent);margin-bottom:10px;}
#campaign .copy-h{font-size:clamp(30px,4.4vw,44px);}
.copy-h{font-family:var(--f-jp);font-weight:600;font-size:clamp(24px,3.6vw,38px);line-height:1.42;
  letter-spacing:.02em;margin:.1em 0 .5em;color:var(--fg);}
.copy-sub{color:var(--grey);font-size:15px;line-height:1.95;}
.note{color:var(--grey-d);font-size:12.5px;line-height:1.7;}
.sec.center .copy-h,.sec.center .copy-sub{margin-left:auto;margin-right:auto;}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4.5vw,64px);align-items:center;}
.grid2>*{min-width:0;}
/* product sections: top-align the image with the section label */
#products .grid2,#bero .grid2{align-items:start;}
/* product headings: slightly tighter top/bottom margin */
#products .copy-h,#bero .copy-h{margin:.03em 0 .25em;}
/* SP: bump product headings */
@media(max-width:840px){#products .copy-h,#bero .copy-h{font-size:29px;}}
.stack{display:flex;flex-direction:column;gap:16px;}
.stack.ai{align-items:flex-start;text-align:left;}

/* cta */
.cta{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-disp);font-weight:500;
  text-transform:uppercase;letter-spacing:.1em;font-size:13px;padding:11px 30px;
  background:linear-gradient(120deg,#396AFC 0%,#2948FF 100%);
  color:#fff;position:relative;overflow:hidden;isolation:isolate;border-radius:3px;
  transition:color .35s var(--ease),background .3s var(--ease);}
/* purchase buttons: slightly bolder label */
.cta:not(.ghost){font-weight:600;}
/* hover reveal: dark fill sweeps in from the left, text inverts to white */
.cta:not(.ghost)::before{content:"";position:absolute;inset:0;z-index:-1;background:#1FBF4B;
  transform:scaleX(0);transform-origin:left center;transition:transform .42s cubic-bezier(.76,0,.24,1);}
.cta:not(.ghost):hover::before{transform:scaleX(1);}
.cta:not(.ghost):hover{color:var(--fg);}
.cta:not(.ghost)::after{content:"→";font-family:var(--f-disp);font-size:14px;line-height:1;
  transition:transform .3s var(--ease);}
.cta:not(.ghost):hover::after{transform:translateX(4px);}
.cta.ghost{background:transparent;border:none;color:var(--fg);padding:6px 0;font-size:11px;letter-spacing:.14em;}
.cta.ghost::after{content:"→";font-family:var(--f-disp);font-size:13px;line-height:1;transition:transform .3s var(--ease);}
.cta.ghost:hover{background:transparent;transform:none;color:var(--fg);}
.cta.ghost:hover::after{transform:translateX(4px);}

/* badge / feats */
.badge{display:inline-block;font-family:var(--f-jp);font-weight:400;font-size:13px;color:var(--fg);
  border:1px solid var(--accent);padding:9px 16px;border-radius:3px;}
.prod-feats{margin:4px 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px;width:100%;}
.prod-feats li{position:relative;padding-left:18px;font-size:14px;color:var(--grey);line-height:1.65;}
.prod-feats li::before{content:"";position:absolute;left:0;top:11px;width:11px;height:1px;background:var(--accent);}

/* movie */
.movie-stage{position:relative;z-index:0;}
.movie-bgtext{position:absolute;left:50%;top:100%;transform:translate(-50%,calc(-50% + 50px));z-index:0;pointer-events:none;
  font-family:"Bebas Neue",sans-serif;font-weight:400;line-height:.82;letter-spacing:.05em;white-space:nowrap;
  font-size:clamp(65px,17.8vw,259px);
  color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.4);}
.movie-bgtext>span{display:inline-block;}
.movie-bgtext .gap{margin-left:.38em;}
@media(max-width:840px){.movie-bgtext{transform:translate(-50%,calc(-50% + 20px));}}
/* each character's outline draws in diagonally, staggered from the left */
.movie-stage.in .movie-bgtext>span{animation:strokeDraw 1.3s cubic-bezier(.33,.5,.32,1) both;
  animation-delay:calc(.3s + var(--i,0) * .2s);}
@keyframes strokeDraw{
  from{clip-path:polygon(0 0,0 0,-45% 100%,-45% 100%);}
  to{clip-path:polygon(0 0,145% 0,100% 100%,-45% 100%);}}
.movie{position:relative;z-index:1;width:100%;aspect-ratio:16/9;background:var(--panel);overflow:hidden;cursor:pointer;
  margin:30px auto 0;border:1px solid var(--line);max-width:900px;border-radius:3px;}
.movie video,.movie .poster{width:100%;height:100%;object-fit:cover;display:block;}
.movie .poster{object-position:center 12%;}
.movie:hover .poster{filter:brightness(.85);transition:filter .4s var(--ease);}
.movie .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
.movie .play b{position:relative;width:88px;height:88px;border-radius:50%;border:1px solid rgba(237,241,248,.6);
  display:grid;place-items:center;background:rgba(8,18,43,.34);backdrop-filter:blur(4px);transition:.4s var(--ease);}
.movie .play b::before{content:"";position:absolute;width:88px;height:88px;border-radius:50%;border:1px solid var(--accent);
  animation:pulse 2.4s var(--ease) infinite;}
.movie:hover .play b{background:var(--accent);border-color:var(--accent);transform:scale(1.06);}
.movie .play b::after{content:"";border-style:solid;border-width:11px 0 11px 18px;
  border-color:transparent transparent transparent var(--fg);margin-left:4px;z-index:2;
  transition:border-color .4s var(--ease);}
.movie:hover .play b::after{border-left-color:var(--ink);}
@keyframes pulse{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.5);opacity:0}}
/* SP: play button 30% smaller */
@media(max-width:840px){
  .movie .play b{width:62px;height:62px;}
  .movie .play b::before{width:62px;height:62px;}
  .movie .play b::after{border-width:8px 0 8px 13px;margin-left:3px;}
}
.movie .tag{position:absolute;left:0;top:0;z-index:3;background:var(--accent);color:var(--ink);
  font-family:var(--f-disp);font-weight:500;letter-spacing:.16em;font-size:11px;text-transform:uppercase;padding:8px 14px;}

/* product visual composite */
.prod-col{display:flex;flex-direction:column;gap:16px;align-items:flex-start;}
.prod-img{position:relative;width:100%;aspect-ratio:4/3.5;background:var(--panel);border:1px solid var(--line);overflow:hidden;border-radius:3px;}
.prod-img .por{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%;
  transition:transform .8s var(--ease);}
.prod-img:hover .por{transform:scale(1.04);}
/* GIFT BOX image — fades in over the product photo on hover (placeholder for now) */
.prod-img .por-box{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;object-position:center;
  opacity:0;transition:opacity .55s var(--ease);pointer-events:none;}
.prod-img:hover .por-box{opacity:1;}
.prod-card{position:absolute;width:104px;height:146px;background:rgba(5,8,22,.86);backdrop-filter:blur(6px);border-radius:3px;
  border:1px solid var(--accent);display:flex;align-items:center;justify-content:center;text-align:center;
  font-family:var(--f-jp);font-weight:400;font-size:12px;color:var(--fg);line-height:1.5;z-index:3;}
.prod-card.right{right:18px;bottom:24px;}.prod-card.left{left:18px;bottom:24px;}

/* complete cards */
.cards{display:flex;gap:28px;justify-content:center;flex-wrap:wrap;margin-top:30px;}
.card{width:273px;}
.card .img{position:relative;overflow:hidden;aspect-ratio:3/4.2;background:var(--panel);border:1px solid var(--line);border-radius:3px;}
/* front (A/B) crossfades to the card-back on hover — placeholders for now */
.card .img .face{position:absolute;inset:0;display:grid;place-items:center;text-align:center;transition:opacity .55s var(--ease);}
.card .img .front{font-family:var(--f-disp);font-weight:400;font-size:54px;color:var(--accent);}
.card .img .back{font-family:var(--f-jp);font-weight:500;font-size:18px;color:var(--grey);opacity:0;}
.card:hover .img .front{opacity:0;}
.card:hover .img .back{opacity:1;}
.card .cap{text-align:center;font-size:12.5px;color:var(--grey);margin-top:10px;}

/* campaign tiers */
.tiers{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:28px;text-align:left;}
.tier{position:relative;border:1px solid var(--line);background:rgba(237,241,248,.03);padding:26px;border-radius:3px;}
.tier .num{font-family:"Oswald",var(--f-disp),sans-serif;font-weight:400;font-size:54px;color:var(--accent);line-height:1;}
.tier .num small{font-family:var(--f-jp);font-weight:600;font-size:18px;color:var(--fg);margin-left:5px;}
.tier .ttl{font-family:var(--f-jp);font-weight:600;margin:10px 0 6px;font-size:16px;color:var(--fg);}
.tier .ph-img{display:grid;place-items:center;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:3px;
  color:var(--grey-d);font-size:12.5px;line-height:1.6;margin-top:14px;}
.highlight-banner{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--accent);
  background:rgba(203,162,83,.06);padding:30px 24px;margin-top:26px;}
.highlight-banner .hb-tag{font-family:var(--f-disp);font-weight:500;letter-spacing:.18em;text-transform:uppercase;font-size:12px;color:var(--accent);}
.highlight-banner .hb-big{font-family:var(--f-jp);font-weight:400;font-size:clamp(30px,5vw,44px);color:var(--fg);line-height:1.1;}
.highlight-banner .hb-sub{font-family:var(--f-jp);font-weight:400;font-size:clamp(15px,2.2vw,18px);color:var(--grey);}
.rules{border:1px solid var(--line);background:rgba(237,241,248,.03);padding:16px 20px;margin-top:20px;text-align:center;list-style:none;}
.rules li{font-size:14.5px;color:var(--grey);margin:5px 0;line-height:1.6;}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px;}
.step{text-align:center;}
.step .ph-img{aspect-ratio:4/3;background:var(--panel);border:1px solid var(--line);border-radius:3px;display:grid;place-items:center;overflow:hidden;
  margin-bottom:12px;font-family:var(--f-jp);font-weight:400;font-size:14px;color:var(--grey);}
.step .ph-img img{width:100%;height:100%;object-fit:cover;display:block;}
.step h3{font-family:var(--f-jp);font-weight:400;margin:.2em 0;font-size:16px;color:var(--fg);}
.step p{font-size:13px;color:var(--grey);}

/* faq */
.faq-item{border:1px solid var(--line);margin-bottom:10px;background:rgba(237,241,248,.02);border-radius:3px;}
.faq-item>button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;text-align:left;}
.faq-item .q{font-family:var(--f-jp);font-weight:400;font-size:15px;color:var(--fg);}
.faq-item .pm{font-family:var(--f-disp);font-size:18px;color:var(--accent);transition:transform .3s var(--ease);flex:none;}
.faq-item.open .pm{transform:rotate(45deg);}
.faq-item .a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease);}
.faq-item .a p{padding:0 20px 20px;color:var(--grey);font-size:14px;line-height:1.85;}

/* foot cta */
.footcta .stack{justify-content:center;}
/* #store: drop the content to sit 50px above the footer */
#store{position:relative;z-index:0;padding-bottom:50px;}
/* artist cutout — real element (not a pseudo) so the hero-photo-style reveal fires reliably */
.cta-figure{position:absolute;inset:0;z-index:-1;width:100%;height:100%;
  object-fit:contain;object-position:center bottom;pointer-events:none;}
/* base must NOT be clipped — a clipped element reads as 0-area to IntersectionObserver,
   which would then never add .in (deadlock). Clip only inside the .in animation. */
.cta-figure.reveal{opacity:0;transform:none;filter:blur(18px);transition:none;}
.cta-figure.reveal.in{animation:ctaFigureIn 1.35s cubic-bezier(.22,.8,.24,1) both;}
@keyframes ctaFigureIn{
  0%{opacity:0;clip-path:inset(100% 0 0 0);filter:blur(18px);}
  100%{opacity:1;clip-path:inset(0 0 0 0);filter:blur(0);}}
/* copy SVG — hero-copy-style clip wipe layered on the stack's fade/blur */
#store:has(.stack.in) .cta-copy{animation:labelWipe 1.1s cubic-bezier(.22,.8,.24,1) both;}
/* SP: enlarge the artist figure by making the section taller (contain keeps the whole image visible) */
@media(max-width:840px){#store{padding-top:clamp(212px,56vw,250px);}}
/* black glow on the text + copy SVG for legibility over the background image */
#store .copy-sub{color:#fff;font-weight:600;font-size:16px;line-height:1.55;display:inline-block;
  background:rgba(26,26,32,.5);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.16);padding:.5em 1.1em;border-radius:3px;}
@media(max-width:840px){#store .copy-sub{font-size:15px;}}

/* footer */
.wf-footer{background:rgba(0,0,0,.5);color:var(--grey);text-align:center;padding:40px 24px calc(40px + env(safe-area-inset-bottom));border-top:1px solid var(--line);}
.wf-footer .sns-label{font-family:var(--f-disp);font-weight:500;letter-spacing:.16em;text-transform:uppercase;font-size:11px;color:var(--grey);margin-bottom:14px;}
.wf-footer .sns{display:flex;gap:14px;justify-content:center;margin-bottom:18px;}
.wf-footer .sns-ic{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);
  display:grid;place-items:center;color:var(--fg);transition:.3s var(--ease);}
.wf-footer .sns-ic svg{width:17px;height:17px;display:block;}
.wf-footer .sns-ic:hover{border-color:#1FBF4B;background:#1FBF4B;}
.wf-footer .copy{font-family:var(--f-disp);letter-spacing:.08em;font-size:12px;color:var(--grey-d);}
/* footer row (PC): © left · SNS icons center · JBG logo right — all vertically centered */
.wf-footer .foot-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;margin-top:14px;}
.wf-footer .foot-row .copy{margin:0;text-align:left;justify-self:start;}
.wf-footer .foot-row .jbg-logo{justify-self:end;}
.wf-footer .foot-row .sns{margin-bottom:0;}
.wf-footer .jbg-logo{display:inline-flex;transition:opacity .3s var(--ease);}
.wf-footer .jbg-logo:hover{opacity:.7;}
.wf-footer .jbg-logo img{height:10.8px;width:auto;display:block;}
@media(max-width:840px){
  .wf-footer .foot-row{display:flex;flex-direction:column;gap:16px;}
  .wf-footer .foot-row .sns{order:1;margin-bottom:10px;}
  .wf-footer .foot-row .copy{order:2;text-align:center;}
  .wf-footer .foot-row .jbg-logo{order:3;}
  .wf-footer .jbg-logo img{height:auto;width:min(172.8px,46vw);}
  .wf-footer .sns-ic{width:43.7px;height:43.7px;}
  .wf-footer .sns-ic svg{width:19.5px;height:19.5px;}
}

/* dot section nav (fixed, right-center) */
.dotnav{position:fixed;right:clamp(14px,2vw,30px);top:50%;transform:translateY(-50%);z-index:160;
  display:flex;flex-direction:column;gap:12.6px;}
.dotnav a{position:relative;width:15px;height:15px;display:grid;place-items:center;}
.dotnav a span{width:6.3px;height:6.3px;border-radius:50%;background:rgba(255,255,255,.4);
  box-shadow:0 0 0 1px rgba(255,255,255,.3);transition:transform .3s var(--ease),background .3s var(--ease),box-shadow .3s var(--ease);}
.dotnav a:hover span{background:#fff;transform:scale(1.3);box-shadow:0 0 0 1px #fff,0 0 10px rgba(255,255,255,.55);}
.dotnav a.active span{background:var(--accent);transform:scale(1.35);box-shadow:0 0 0 1px var(--accent),0 0 12px rgba(203,162,83,.6);}
.dotnav a::after{content:attr(data-label);position:absolute;right:30px;top:50%;
  transform:translateY(-50%) translateX(8px);white-space:nowrap;
  font-family:var(--f-disp);font-weight:500;text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:#fff;
  background:rgba(18,18,18,.82);backdrop-filter:blur(6px);padding:6px 12px;border-radius:4px;
  opacity:0;pointer-events:none;transition:opacity .3s var(--ease),transform .3s var(--ease);}
.dotnav a:hover::after{opacity:1;transform:translateY(-50%) translateX(0);}
@media(max-width:840px){.dotnav{display:none;}}

/* SP: fixed full-width purchase bar (same blue gradient as the buttons) */
.sp-buybar{display:none;}
@media(max-width:840px){
  .sp-buybar{display:flex;align-items:center;justify-content:center;gap:8px;
    position:fixed;left:0;right:0;bottom:0;z-index:185;
    padding:11px 20px calc(11px + env(safe-area-inset-bottom));
    background:linear-gradient(120deg,#396AFC 0%,#2948FF 100%);
    color:#fff;font-family:var(--f-disp);font-weight:600;letter-spacing:.08em;font-size:14px;
    box-shadow:0 -6px 20px rgba(0,0,0,.35);}
  /* keep the footer clear of the fixed bar (only on pages that have it) */
  body:has(.sp-buybar) .wf-footer{padding-bottom:calc(70px + env(safe-area-inset-bottom));}
  /* the fixed bar replaces the in-content purchase button above the footer */
  body:has(.sp-buybar) #store .cta{display:none;}
  /* lift the hero bottom content (copy SVG → sub → badges → period) clear of the fixed bar */
  body:has(.sp-buybar) .hero{padding-bottom:calc(70px + env(safe-area-inset-bottom));}
}

/* photo card modal */
.pc-modal{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;visibility:hidden;transition:opacity .35s var(--ease),visibility .35s var(--ease);}
.pc-modal.open{opacity:1;visibility:visible;}
.pc-modal-backdrop{position:absolute;inset:0;background:rgba(5,6,12,.82);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);cursor:pointer;}
.pc-modal-box{position:relative;z-index:1;transform:scale(.94);transition:transform .35s var(--ease);}
.pc-modal.open .pc-modal-box{transform:none;}
.pc-modal-close{position:absolute;top:-16px;right:-16px;width:38px;height:38px;border-radius:50%;
  background:#fff;color:#111;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer;
  border:none;box-shadow:0 6px 18px rgba(0,0,0,.45);transition:transform .25s var(--ease);}
.pc-modal-close:hover{transform:scale(1.08);}
.pc-card{width:min(78vw,320px);aspect-ratio:3/4.2;border-radius:3px;overflow:hidden;
  background:var(--panel);border:1px solid var(--accent);display:grid;place-items:center;text-align:center;
  box-shadow:0 24px 60px -12px rgba(0,0,0,.7);}
.pc-card img{width:100%;height:100%;object-fit:cover;display:block;}
.pc-card-ph{font-family:var(--f-jp);color:var(--grey);font-size:14px;line-height:1.85;padding:20px;}
.pc-card-ph b{font-family:var(--f-disp);font-weight:600;font-size:26px;color:var(--accent);display:inline-block;margin:8px 0;}
.pc-card-ph small{font-size:11px;color:var(--grey-d);}

/* reveal — bold scroll entrance */
.reveal{opacity:0;transform:translateY(84px) scale(.92);filter:blur(10px);
  transition:opacity .9s var(--ease),transform 1.1s cubic-bezier(.16,.86,.27,1.07),filter .9s var(--ease);}
.reveal.in{opacity:1;transform:none;filter:blur(0);}
/* centered headings/sub: rise bigger */
.sec.center>.reveal{transform:translateY(96px) scale(.9);}
.sec.center>.reveal.in{transform:none;}
/* two-column rows: fly in from the sides */
.grid2>.reveal:nth-child(1){transform:translate(-90px,44px) scale(.93);}
.grid2>.reveal:nth-child(2){transform:translate(90px,44px) scale(.93);}
.grid2>.reveal.in{transform:none;}
.reveal.d1{transition-delay:.1s}.reveal.d2{transition-delay:.26s}.reveal.d3{transition-delay:.42s}.reveal.d4{transition-delay:.58s}

/* eyebrow labels: subtle clip-path wipe layered on the standard opacity reveal.
   Visibility depends only on opacity (proven-reliable); the clip wipe is a non-hiding
   enhancement (base is un-clipped, so labels stay visible even if the wipe never runs). */
.sec.center>.label.reveal{transform:none;}
.label.reveal.in{animation:labelWipe .9s cubic-bezier(.22,.8,.24,1);}
@keyframes labelWipe{from{clip-path:inset(0 100% 0 0);}to{clip-path:inset(0 0 0 0);}}

/* responsive line breaks: .br-sp shows on SP only, .br-pc shows on PC only */
.br-sp{display:none;}
.br-pc{display:inline;}

/* ============ responsive ============ */
@media(max-width:840px){
  /* SP hero — NI-KI as large background; copy + subcopy + badges stacked at the bottom */
  .hero{display:flex;flex-direction:column;justify-content:flex-end;min-height:100svh;padding:0 0 clamp(18px,4vh,40px);}
  .hero-photo-wrap{position:absolute;left:50%;right:auto;top:auto;bottom:0;transform:translateX(-50%);
    height:102%;width:auto;max-width:none;z-index:1;align-items:flex-end;justify-content:center;}
  .hero-photo{height:100%;max-height:100%;width:auto;max-width:none;}
  .hero-copy-art{position:relative;left:auto;top:auto;transform:none;width:88%;max-width:none;margin:0 auto 14px;z-index:4;}
  .hero-bottom{position:relative;left:auto;right:auto;bottom:auto;z-index:4;padding:0 14px;}
  .hero-sub{font-size:clamp(16px,4vw,20px);}
  .br-sp{display:inline;}
  .br-pc{display:none;}
  .hero-badges{flex-direction:column;flex-wrap:nowrap;gap:10px;max-width:none;margin-top:16px;}
  .hbadge{flex:0 0 auto;width:100%;font-size:clamp(12px,3.2vw,15px);padding:13px 14px;line-height:1.45;}
  .hero-line{display:block;}
  .grid2{grid-template-columns:1fr;gap:30px;}
  .cards{gap:18px;}
  .order-img-first{order:-1;}
  .tiers,.steps{grid-template-columns:1fr;}
  /* lighter scroll reveal on mobile (cheaper blur, vertical-only) */
  .reveal{transform:translateY(40px) scale(.98);filter:blur(3px);}
  .sec.center>.reveal{transform:translateY(46px) scale(.97);}
  .grid2>.reveal:nth-child(1),.grid2>.reveal:nth-child(2){transform:translateY(40px) scale(.98);}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto;}
  .reveal{opacity:1!important;transform:none!important;filter:none!important;}
  .label.reveal{clip-path:none!important;}
  /* keep content that normally fades in via animation visible */
  .h-period{background:linear-gradient(120deg,#396AFC 0%,#2948FF 100%)!important;}
  .h-period .reveal-txt{opacity:1!important;color:var(--fg)!important;text-shadow:none!important;}
  .h-period::after{display:none;}
  .h-buy{opacity:1!important;}
  .hero-sub,.hero-badges,.hero-photo,.hero-copy-art img{opacity:1!important;}
  /* CTA cutout is hidden by default (revealed via animation) — keep it visible here */
  .cta-figure.reveal{opacity:1!important;clip-path:none!important;filter:none!important;}
}
