/* ═══════════════════════════════════════════
   UCHIHA ITACHI — 写輪眼
   ═══════════════════════════════════════════ */

:root{
  --ink:#050506;
  --ink-2:#0b0b0d;
  --bone:#e8e4dc;
  --smoke:#8a8580;
  --blood:#c0121f;
  --blood-hot:#ff2b2b;
  --ember:#ff6a3d;
  --serif:'Shippori Mincho', 'Yu Mincho', serif;
  --gothic:'Zen Kaku Gothic New', sans-serif;
  --display:'Cinzel', serif;
  --mono:'Space Grotesk', sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--ink);
  color:var(--bone);
  font-family:var(--gothic);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--blood);color:#fff}

/* ── scrollbar ── */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:#000}
::-webkit-scrollbar-thumb{background:linear-gradient(var(--blood),#3a0409)}

/* ═══ PRELOADER ═══ */
.loader{
  position:fixed;inset:0;z-index:999;
  background:var(--ink);
  display:grid;place-items:center;
  transition:opacity .9s var(--ease), visibility .9s;
}
.loader.done{opacity:0;visibility:hidden}
.loader__inner{width:min(420px,72vw);text-align:center}
.loader__glyph{
  font-family:var(--serif);font-size:clamp(3rem,9vw,5.5rem);
  letter-spacing:.22em;color:var(--bone);
  text-shadow:0 0 40px rgba(255,43,43,.35);
  animation:pulseGlyph 2.4s ease-in-out infinite;
}
@keyframes pulseGlyph{
  0%,100%{opacity:.85;text-shadow:0 0 30px rgba(255,43,43,.25)}
  50%{opacity:1;text-shadow:0 0 70px rgba(255,43,43,.75)}
}
.loader__bar{
  height:1px;background:rgba(232,228,220,.14);
  margin:2.2rem 0 .9rem;overflow:hidden;
}
.loader__bar span{
  display:block;height:100%;width:0%;
  background:linear-gradient(90deg,var(--blood),var(--blood-hot));
  box-shadow:0 0 14px var(--blood-hot);
  transition:width .25s linear;
}
.loader__meta{
  display:flex;justify-content:space-between;
  font-family:var(--mono);font-size:.62rem;
  letter-spacing:.3em;color:var(--smoke);
}

/* ═══ AMBIENT ═══ */
.grain{
  position:fixed;inset:-150%;z-index:400;pointer-events:none;
  opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grainShift 700ms steps(4) infinite;
}
@keyframes grainShift{
  0%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}
  50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-2%)}
  100%{transform:translate(3%,3%)}
}
.vignette{
  position:fixed;inset:0;z-index:390;pointer-events:none;
  background:radial-gradient(ellipse at center,transparent 38%,rgba(0,0,0,.72) 100%);
}
/* .scanlines{
  position:fixed;inset:0;z-index:395;pointer-events:none;opacity:.35;
  background:repeating-linear-gradient(180deg,rgba(0,0,0,0) 0 2px,rgba(0,0,0,.22) 2px 3px);
  mix-blend-mode:multiply;
} */

/* ═══ AMATERASU — 黒炎 ═══ */
/* Black fire eats the bottom hem of the viewport. The band is 8% tall; the
   flames are drawn inside it, so nothing above the hem is ever obscured. */
.amaterasu{
  position:fixed;left:0;right:0;bottom:0;z-index:305;
  width:100%;height:8vh;min-height:46px;pointer-events:none;
}
/* the hem sits under the flames so their black bodies have something to
   climb out of instead of floating on the page */
.amaterasu-bed{
  position:fixed;left:0;right:0;bottom:0;z-index:304;
  height:8vh;min-height:46px;pointer-events:none;
  /* kept light enough that copy scrolling through the hem stays readable */
  background:linear-gradient(0deg,
    rgba(0,0,0,.82) 0%,rgba(0,0,0,.5) 40%,rgba(0,0,0,.18) 72%,transparent 100%);
}

/* ═══ STORM ═══ */
.storm{position:fixed;inset:0;z-index:380;pointer-events:none}
.storm__flash{
  position:absolute;inset:0;opacity:0;
  background:
    radial-gradient(ellipse 90% 60% at var(--bx,50%) -12%,rgba(198,228,255,.92),rgba(150,190,235,.28) 42%,transparent 72%),
    linear-gradient(180deg,rgba(210,232,255,.5),transparent 58%);
  mix-blend-mode:screen;
  will-change:opacity;
}
.storm__bolt{
  position:absolute;inset:0;width:100%;height:100%;opacity:0;
  filter:drop-shadow(0 0 14px rgba(180,220,255,.95)) drop-shadow(0 0 42px rgba(120,180,255,.6));
  mix-blend-mode:screen;will-change:opacity;
}

/* ═══ CURSOR ═══ */
.cursor{
  position:fixed;top:0;left:0;z-index:500;pointer-events:none;
  width:34px;height:34px;margin:-17px 0 0 -17px;
  border:1px solid rgba(232,228,220,.4);border-radius:50%;
  transition:width .35s var(--ease),height .35s var(--ease),
             margin .35s var(--ease),border-color .35s,background .35s;
  mix-blend-mode:difference;
}
.cursor span{
  position:absolute;inset:0;margin:auto;
  width:3px;height:3px;border-radius:50%;background:var(--blood-hot);
}
.cursor.hot{
  width:70px;height:70px;margin:-35px 0 0 -35px;
  border-color:var(--blood-hot);background:rgba(192,18,31,.08);
}
@media (hover:none){.cursor{display:none}}

/* ═══ CHROME ═══ */
.chrome{
  position:fixed;top:0;left:0;right:0;z-index:300;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.5rem clamp(1.1rem,4vw,3rem);
  text-shadow:0 2px 22px rgba(0,0,0,.95);
}
.chrome__mark{display:flex;align-items:center;gap:.7rem;color:var(--bone)}
.uchiwa{width:22px;height:22px;color:var(--blood-hot);animation:spinSlow 24s linear infinite}
@keyframes spinSlow{to{transform:rotate(360deg)}}
.chrome__mark span{
  font-family:var(--display);font-size:.72rem;
  letter-spacing:.42em;font-weight:700;
}
.chrome__nav{display:flex;gap:clamp(1rem,3vw,2.4rem)}
.chrome__nav a{
  position:relative;text-decoration:none;color:var(--bone);
  font-family:var(--mono);font-size:.64rem;letter-spacing:.3em;
  opacity:.65;transition:opacity .3s;
}
.chrome__nav a::before{
  content:attr(data-jp);
  position:absolute;left:50%;top:-1.05rem;transform:translateX(-50%) translateY(4px);
  font-family:var(--serif);font-size:.7rem;color:var(--blood-hot);
  opacity:0;transition:.35s var(--ease);
}
.chrome__nav a:hover{opacity:1}
.chrome__nav a:hover::before{opacity:1;transform:translateX(-50%) translateY(0)}
.chrome__sound{
  display:flex;align-items:center;gap:.45rem;cursor:pointer;
  background:none;border:1px solid rgba(232,228,220,.22);
  padding:.3rem .6rem;color:var(--bone);
  font-family:var(--mono);font-size:.56rem;letter-spacing:.28em;
  transition:border-color .35s,color .35s,background .35s;
}
.chrome__sound-jp{font-family:var(--serif);letter-spacing:0;font-size:.72rem}
.chrome__sound:hover{border-color:rgba(255,43,43,.7)}
.chrome__sound[aria-pressed="true"]{
  border-color:var(--blood-hot);color:var(--blood-hot);
  background:rgba(192,18,31,.12);
}

/* ═══ SIDE RAILS ═══ */
.rail{
  position:fixed;top:0;bottom:0;z-index:300;width:clamp(1.1rem,4vw,3rem);
  display:grid;place-items:center;pointer-events:none;
  text-shadow:0 2px 22px rgba(0,0,0,.95);
}
.rail--left{left:0}
.rail--right{right:0}
.rail span{
  writing-mode:vertical-rl;
  font-family:var(--mono);font-size:.6rem;letter-spacing:.34em;
  color:var(--smoke);white-space:nowrap;
}
.rail--left span{font-family:var(--serif);letter-spacing:.5em}

/* ═══ SCROLL HINT ═══ */
.hint{
  position:fixed;left:50%;bottom:2rem;transform:translateX(-50%);
  z-index:300;display:flex;flex-direction:column;align-items:center;gap:.55rem;
  transition:opacity .6s;text-shadow:0 2px 22px rgba(0,0,0,.95);
}
.hint.hide{opacity:0}
.hint__jp{font-family:var(--serif);font-size:.78rem;letter-spacing:.3em;color:var(--bone)}
.hint__line{
  width:1px;height:40px;
  background:linear-gradient(var(--blood-hot),transparent);
  animation:drip 2s var(--ease) infinite;
}
@keyframes drip{
  0%{transform:scaleY(0);transform-origin:top;opacity:0}
  40%{transform:scaleY(1);opacity:1}
  100%{transform:scaleY(1);transform-origin:bottom;opacity:0}
}
.hint__en{font-family:var(--mono);font-size:.56rem;letter-spacing:.34em;color:var(--smoke)}

/* ═══ STICKY BADGE — pinned 10% from bottom-right ═══ */
.sticky-badge{
  position:fixed;right:5%;bottom:5%;z-index:310;
  display:flex;flex-direction:column;align-items:flex-end;gap:.3rem;
  padding:.7rem .95rem;
  border:1px solid rgba(232,228,220,.14);
  background:rgba(11,11,13,.72);
  backdrop-filter:blur(6px);
  text-shadow:0 2px 22px rgba(0,0,0,.95);
  transition:border-color .5s var(--ease),transform .5s var(--ease);
}
.sticky-badge:hover{border-color:var(--blood-hot);transform:translateY(-3px)}
.sticky-badge__jp{
  font-family:var(--serif);font-size:.82rem;letter-spacing:.3em;
  color:var(--blood-hot);
}
.sticky-badge__en{
  font-family:var(--mono);font-size:.54rem;letter-spacing:.34em;color:var(--smoke);
}
@media (max-width:720px){
  .sticky-badge{right:5%;bottom:5%}
}

/* ═══════════ ACT I — SCRUB ═══════════ */
.scrub{height:700vh;position:relative}
.scrub__sticky{
  position:sticky;top:0;height:100vh;width:100%;
  overflow:hidden;background:#000;
}
#mainCanvas{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;
  filter:contrast(1.06) saturate(1.05);
}
.scrub__glow{
  position:absolute;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(circle at 50% 44%,rgba(255,43,43,.32),transparent 46%);
  mix-blend-mode:screen;
}
.feathers{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
/* scrim guarantees caption contrast over the brightest frames */
.scrub__sticky::after{
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.42) 30%,transparent 56%),
    linear-gradient(0deg,rgba(0,0,0,.72) 0%,transparent 42%),
    linear-gradient(180deg,rgba(0,0,0,.6) 0%,transparent 22%);
}

/* phase captions */
.phase{
  position:absolute;left:clamp(2rem,7vw,7rem);top:50%;
  transform:translateY(calc(-50% + var(--y,0px)));
  opacity:0;pointer-events:none;max-width:min(30ch,42vw);
  z-index:3;text-shadow:0 2px 34px rgba(0,0,0,.95),0 0 8px rgba(0,0,0,.7);
}
.phase__jp{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(3rem,7.5vw,7rem);line-height:.92;
  letter-spacing:.06em;
}
.phase__en{
  font-family:var(--display);font-weight:700;
  font-size:clamp(.66rem,1.05vw,.82rem);letter-spacing:.36em;
  margin:1rem 0 .8rem;color:var(--blood-hot);white-space:nowrap;
}
.phase__sub{
  font-family:var(--serif);font-size:clamp(.76rem,1.05vw,.92rem);
  line-height:1.9;color:rgba(232,228,220,.72);
}

/* title lockup */
.titleblock{
  position:absolute;left:50%;bottom:19vh;transform:translateX(-50%);
  text-align:center;pointer-events:none;z-index:3;
  text-shadow:0 2px 40px rgba(0,0,0,.95),0 0 10px rgba(0,0,0,.8);
}
.titleblock__kicker{
  font-family:var(--serif);font-size:.7rem;letter-spacing:.6em;
  color:rgba(232,228,220,.6);margin-bottom:1rem;
}
.titleblock__jp{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(2.6rem,8vw,6.4rem);line-height:1;
  letter-spacing:.1em;
}
.titleblock__jp span{
  color:var(--blood-hot);
  text-shadow:0 0 44px rgba(255,43,43,.55);
}
.titleblock__en{
  font-family:var(--display);font-weight:400;
  font-size:clamp(.6rem,1.2vw,.8rem);letter-spacing:.42em;
  margin-top:1rem;color:rgba(232,228,220,.7);
}

/* ═══════════ ACT II — EYES ═══════════ */
.eyes{height:260vh;position:relative;background:#000}
.eyes__sticky{
  position:sticky;top:0;height:100vh;width:100%;
  overflow:hidden;display:grid;place-items:center;
}
/* deliberately static — only the frame changes, never the framing */
#eyeCanvas{
  position:absolute;top:50%;left:50%;
  width:100%;height:100%;
  transform:translate(-50%,-50%);
  filter:contrast(1.1) saturate(1.15);
}
.eyes__flare{
  position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle 300px at var(--mx,50%) var(--my,50%),
             rgba(255,43,43,.16),transparent 70%);
  mix-blend-mode:screen;
}
.eyes__frame{
  position:absolute;pointer-events:none;
  top:clamp(4.6rem,9vh,6.4rem);bottom:clamp(2.6rem,6vh,4rem);
  left:clamp(2.6rem,5vw,4.2rem);right:clamp(2.6rem,5vw,4.2rem);
}
.eyes__frame::before,.eyes__frame::after{
  content:'';position:absolute;width:46px;height:46px;
  border:1px solid rgba(255,43,43,.5);
}
.eyes__frame::before{top:0;left:0;border-right:0;border-bottom:0}
.eyes__frame::after{bottom:0;right:0;border-left:0;border-top:0}
.eyes__label{
  position:absolute;font-family:var(--mono);
  font-size:.58rem;letter-spacing:.28em;color:rgba(232,228,220,.55);
}
.eyes__label--tl{top:-.4rem;left:3.6rem;font-family:var(--serif);letter-spacing:.4em;color:var(--blood-hot)}
.eyes__label--tr{top:-.4rem;right:3.6rem}
.eyes__label--bl{bottom:-.4rem;left:3.6rem;color:var(--blood-hot)}
.eyes__label--br{bottom:-.4rem;right:3.6rem}
.eyes__copy{
  position:relative;z-index:3;text-align:center;
  transform:translateY(26vh);
  text-shadow:0 2px 40px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.85);
}
.eyes__copy h2{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(2.4rem,6.5vw,5rem);letter-spacing:.12em;
}
.eyes__copy h2 span{color:var(--blood-hot)}
.eyes__copy p{
  font-family:var(--serif);font-size:.82rem;letter-spacing:.16em;
  color:rgba(232,228,220,.6);margin-top:1rem;
}
.eyes__note{
  font-family:var(--mono)!important;font-size:.54rem!important;
  letter-spacing:.28em!important;color:rgba(232,228,220,.3)!important;
  margin-top:.7rem!important;
}

/* ═══════════ ACT III — JUTSU ═══════════ */
.jutsu{
  position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(7rem,16vh,12rem) clamp(1.4rem,6vw,6rem) clamp(13rem,30vh,21rem);
  background:
    radial-gradient(ellipse at 50% -10%,rgba(192,18,31,.14),transparent 55%),
    var(--ink);
  border-top:1px solid rgba(232,228,220,.07);
}
.jutsu__inner{position:relative;z-index:3}

/* background plate that the ghost cursor burns open */
.jutsu__reveal{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:url("frames/storm.jpg") center/cover no-repeat;
  opacity:0;transition:opacity .8s var(--ease);
  /* the hole follows the pointer; radius grows on card hover */
  -webkit-mask-image:radial-gradient(circle var(--r,280px) at var(--rx,50%) var(--ry,50%),
      #000 0%,rgba(0,0,0,.72) 38%,rgba(0,0,0,.22) 66%,transparent 82%);
  mask-image:radial-gradient(circle var(--r,280px) at var(--rx,50%) var(--ry,50%),
      #000 0%,rgba(0,0,0,.72) 38%,rgba(0,0,0,.22) 66%,transparent 82%);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  /* the plate's white rain would blow out under the additive ghost */
  filter:saturate(1.25) contrast(1.18) brightness(.55);
}
.jutsu.lit .jutsu__reveal{opacity:1}
/* red bleed so the reveal reads as sharingan light, not a photo swap */
.jutsu__rain{
  position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;
  transition:opacity .8s var(--ease);
  background:radial-gradient(circle var(--r,280px) at var(--rx,50%) var(--ry,50%),
      rgba(192,18,31,.17),rgba(120,8,16,.07) 55%,transparent 78%);
  mix-blend-mode:screen;
}
.jutsu.lit .jutsu__rain{opacity:1}

/* ported ghost cursor */
.ghost{
  position:absolute;inset:0;z-index:2;width:100%;height:100%;
  pointer-events:none;mix-blend-mode:screen;opacity:0;
  transition:opacity .6s var(--ease);
}
.jutsu.lit .ghost{opacity:1}

.jutsu__head{max-width:56ch;margin-bottom:clamp(3rem,8vh,6rem)}
.eyebrow{
  display:inline-block;font-family:var(--mono);font-size:.6rem;
  letter-spacing:.42em;color:var(--blood-hot);margin-bottom:1.4rem;
}
.jutsu__head h2{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(2rem,5vw,3.6rem);letter-spacing:.08em;line-height:1.3;
}
.jutsu__head p{
  font-family:var(--serif);margin-top:1.4rem;line-height:2;
  font-size:.9rem;color:rgba(232,228,220,.58);
}
.jutsu__grid{
  display:grid;gap:1px;background:rgba(232,228,220,.09);
  grid-template-columns:repeat(auto-fit,minmax(255px,1fr));
  border:1px solid rgba(232,228,220,.09);
}
.card{
  background:var(--ink-2);padding:clamp(1.8rem,3.4vw,2.8rem);
  position:relative;overflow:hidden;
  transition:background .5s var(--ease);
  min-height:330px;display:flex;flex-direction:column;
}
.card::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 50% 120%,rgba(192,18,31,.4),transparent 62%);
  opacity:0;transition:opacity .55s var(--ease);
}
.card:hover{background:#0f0b0c}
.card:hover::after{opacity:1}
.card>*{position:relative;z-index:2}
.card__num{
  font-family:var(--mono);font-size:.58rem;letter-spacing:.34em;
  color:var(--smoke);
}
.card__jp{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(2rem,3.4vw,2.9rem);letter-spacing:.08em;
  margin:auto 0 .5rem;
  transition:color .45s var(--ease),text-shadow .45s var(--ease);
}
.card:hover .card__jp{color:var(--blood-hot);text-shadow:0 0 34px rgba(255,43,43,.5)}
.card__ro{
  font-family:var(--display);font-weight:700;font-size:.64rem;
  letter-spacing:.4em;color:var(--smoke);margin-bottom:1.2rem;
}
.card__txt{
  font-family:var(--serif);font-size:.82rem;line-height:2;
  color:rgba(232,228,220,.55);
}
.card__foot{
  margin-top:1.4rem;padding-top:1rem;
  border-top:1px solid rgba(232,228,220,.1);
  font-family:var(--mono);font-size:.54rem;letter-spacing:.26em;
  color:rgba(232,228,220,.34);
  display:flex;align-items:center;gap:.6rem;
}
.card__foot i{
  font-style:normal;font-family:var(--serif);
  font-size:.72rem;letter-spacing:.16em;color:var(--blood-hot);
}

/* head extras */
.jutsu__meta{
  display:flex;flex-wrap:wrap;gap:clamp(1.2rem,3vw,2.6rem);
  margin-top:2.4rem;
}
.jutsu__meta span{
  display:flex;flex-direction:column;gap:.4rem;
  font-family:var(--mono);font-size:.54rem;letter-spacing:.28em;
  color:rgba(232,228,220,.38);
}
.jutsu__meta i{
  font-style:normal;font-family:var(--serif);
  font-size:.95rem;letter-spacing:.18em;color:var(--bone);
}
.jutsu__hint{
  margin-top:2rem;font-family:var(--mono);font-size:.56rem;
  letter-spacing:.3em;color:var(--blood-hot);opacity:.8;
}
.jutsu__foot{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:1.4rem;
  margin-top:clamp(3rem,7vh,5rem);padding-top:1.6rem;
  border-top:1px solid rgba(232,228,220,.08);
}
.jutsu__foot span:first-child{
  font-family:var(--serif);font-size:1rem;letter-spacing:.2em;
  color:rgba(232,228,220,.75);
}
.jutsu__foot span:last-child{
  font-family:var(--mono);font-size:.54rem;letter-spacing:.28em;
  color:rgba(232,228,220,.34);align-self:flex-end;
}

/* 天照 — bottom right anchor */
.jutsu__amaterasu{
  position:absolute;right:clamp(1rem,4vw,4rem);bottom:clamp(1.4rem,4vh,3rem);
  z-index:3;pointer-events:none;text-align:right;
  display:flex;flex-direction:column;align-items:flex-end;gap:.5rem;
}
.jutsu__amaterasu-jp{
  font-family:var(--serif);font-weight:800;line-height:.86;
  font-size:clamp(3.4rem,11vw,9rem);letter-spacing:.06em;
  color:transparent;
  background:linear-gradient(170deg,rgba(255,43,43,.92),rgba(120,6,12,.35) 62%,rgba(232,228,220,.06));
  -webkit-background-clip:text;background-clip:text;
  filter:drop-shadow(0 0 44px rgba(192,18,31,.5));
}
.jutsu__amaterasu-ro{
  font-family:var(--display);font-weight:700;
  font-size:.62rem;letter-spacing:.5em;color:rgba(232,228,220,.5);
}
.jutsu__amaterasu-sub{
  font-family:var(--serif);font-size:.62rem;letter-spacing:.34em;
  color:rgba(232,228,220,.28);
}

/* ═══════════ ACT IV — QUOTE ═══════════ */
.quote{
  min-height:100vh;display:grid;place-items:center;align-content:center;
  gap:clamp(2rem,5vh,3.5rem);text-align:center;
  padding:clamp(6rem,14vh,10rem) clamp(1.4rem,6vw,6rem);
  position:relative;overflow:hidden;
}
.quote::before{
  content:'写輪眼';position:absolute;inset:0;display:grid;place-items:center;
  font-family:var(--serif);font-weight:800;
  font-size:clamp(12rem,34vw,30rem);color:rgba(232,228,220,.028);
  letter-spacing:.06em;pointer-events:none;
}
.quote__jp{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(2.2rem,6vw,4.6rem);letter-spacing:.14em;
  position:relative;
}
.quote__jp .dots{color:var(--blood-hot)}
.quote blockquote{max-width:62ch;position:relative}
.quote blockquote p{
  font-family:var(--serif);font-size:clamp(.95rem,1.5vw,1.18rem);
  line-height:2.3;color:rgba(232,228,220,.78);
}
.quote cite{
  display:block;margin-top:2rem;font-style:normal;
  font-family:var(--mono);font-size:.6rem;letter-spacing:.4em;color:var(--blood-hot);
}
.quote__mark{
  font-family:var(--serif);font-size:.72rem;letter-spacing:.6em;
  color:var(--smoke);position:relative;
}

/* ═══════════ FOOTER ═══════════ */
footer{
  border-top:1px solid rgba(232,228,220,.08);
  padding:clamp(3rem,8vh,6rem) clamp(1.4rem,6vw,6rem) 3rem;
}
.footer__big{
  font-family:var(--serif);font-weight:800;
  font-size:clamp(2.6rem,12vw,10rem);line-height:1;
  letter-spacing:.06em;
  background:linear-gradient(180deg,rgba(232,228,220,.9),rgba(232,228,220,.06));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-align:center;
}
.footer__row{
  display:flex;flex-wrap:wrap;gap:1.2rem;
  justify-content:space-between;margin-top:3rem;
  font-family:var(--mono);font-size:.58rem;letter-spacing:.3em;
  color:var(--smoke);
}
.footer__row span:last-child{font-family:var(--serif);letter-spacing:.24em}

/* scroll-driven parallax + fade (JS owns transform/opacity) */
[data-px],.jutsu__grid .card{will-change:transform,opacity}

/* ═══════════ REVEALS ═══════════ */
[data-reveal]{
  opacity:0;transform:translateY(38px);
  transition:opacity 1s var(--ease),transform 1.1s var(--ease);
  transition-delay:calc(var(--i,0) * 110ms);
}
[data-reveal].in{opacity:1;transform:none}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width:820px){
  .scrub{height:520vh}
  .phase{
    left:50%;top:auto;bottom:18vh;
    transform:translate(-50%, var(--y,0px));
    text-align:center;max-width:86vw;
  }
  .titleblock{bottom:8vh}
  .eyes__copy{transform:translateY(30vh)}
  .eyes__label--tr,.eyes__label--br{display:none}
  .rail{display:none}
  .jutsu{padding-bottom:clamp(12rem,26vh,16rem)}
  .jutsu__amaterasu{left:clamp(1rem,4vw,4rem);align-items:flex-start;text-align:left}
  .jutsu__amaterasu-jp{font-size:clamp(3rem,17vw,6rem)}
  .jutsu__foot span:last-child{align-self:flex-start}
}
@media (prefers-reduced-motion:reduce){
  .grain,.uchiwa,.hint__line{animation:none}
  html{scroll-behavior:auto}
}
